10#include "singularconfig.h"
33typedef const char* (*slStatusProc)(
si_link l,
const char *request);
64#define SI_LINK_CLOSE 0
67#define SI_LINK_WRITE 4
70#define SI_LINK_CLOSE_P(l) (!(l)->flags)
71#define SI_LINK_OPEN_P(l) ((l)->flags & SI_LINK_OPEN)
72#define SI_LINK_W_OPEN_P(l) ((l)->flags & SI_LINK_WRITE)
73#define SI_LINK_R_OPEN_P(l) ((l)->flags & SI_LINK_READ)
74#define SI_LINK_RW_OPEN_P(l) (SI_LINK_W_OPEN_P(l) && SI_LINK_R_OPEN_P(l))
76#define SI_LINK_SET_CLOSE_P(l) ((l)->flags = SI_LINK_CLOSE)
77#define SI_LINK_SET_OPEN_P(l, flag) ((l)->flags |= SI_LINK_OPEN |flag)
78#define SI_LINK_SET_W_OPEN_P(l) ((l)->flags |= (SI_LINK_OPEN | SI_LINK_WRITE))
79#define SI_LINK_SET_R_OPEN_P(l) ((l)->flags |= (SI_LINK_OPEN | SI_LINK_READ))
80#define SI_LINK_SET_RW_OPEN_P(l) ((l)->flags |= (SI_LINK_OPEN | SI_LINK_READ | SI_LINK_WRITE))
118int ssiBatch(
const char *host,
const char * port);
Class used for (list of) interpreter objects.
const Variable & v
< [in] a sqrfree bivariate poly
BOOLEAN slWrite(si_link l, leftv v)
EXTERN_VAR omBin s_si_link_extension_bin
EXTERN_VAR volatile BOOLEAN ssiToBeClosed_inactive
BOOLEAN slPrepClose(si_link l)
static si_link slCopy(si_link l)
static char * slString(si_link l)
BOOLEAN slDump(si_link l)
leftv(* slRead2Proc)(si_link l, leftv a)
BOOLEAN slGetDump(si_link l)
BOOLEAN(* slWriteProc)(si_link l, leftv lv)
int slStatusSsiL(lists L, int timeout)
BOOLEAN(* slKillProc)(si_link l)
const char * slStatus(si_link l, const char *request)
BOOLEAN slClose(si_link l)
leftv(* slReadProc)(si_link l)
leftv slRead(si_link l, leftv a=NULL)
EXTERN_VAR omBin ip_link_bin
EXTERN_VAR omBin sip_link_bin
BOOLEAN(* slGetDumpProc)(si_link l)
BOOLEAN(* slPrepCloseProc)(si_link l)
int ssiBatch(const char *host, const char *port)
void slCleanUp(si_link l)
const char *(* slStatusProc)(si_link l, const char *request)
BOOLEAN(* slOpenProc)(si_link l, short flag, leftv h)
EXTERN_VAR link_list ssiToBeClosed
BOOLEAN slInit(si_link l, char *str)
BOOLEAN(* slSetRingProc)(si_link l, ring r, BOOLEAN send)
BOOLEAN(* slCloseProc)(si_link l)
slPrepCloseProc PrepClose
BOOLEAN(* slDumpProc)(si_link l)
BOOLEAN slOpen(si_link l, short flag, leftv h)