- added new scriptcontext with devser

This commit is contained in:
zolliker
2008-05-14 14:23:16 +00:00
parent bbb0b971a9
commit 3967dc8844
28 changed files with 1307 additions and 1363 deletions

View File

@ -168,24 +168,24 @@ typedef int (*writeFunc)(struct __SConnection *pCon,
int ConSicsAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
/******************************** Store ************************************/
typedef struct SCStore *SCStore;
typedef struct SCStore SCStore;
SCStore SCSave(SConnection *pCon, SCStore oldStore);
SCStore *SCSave(SConnection *pCon, SCStore *oldStore);
/* save a connection and its context for later use. */
SConnection *SCLoad(SCStore conStore);
SConnection *SCLoad(SCStore *conStore);
/* check con and return SConnection if still valid or a dummy connection otherwise. */
SConnection *SCStorePush(SCStore conStore);
SConnection *SCStorePush(SCStore *conStore);
/* load connection and push stored context. Must be paired with an SCStorePop command */
void SCStorePop(SCStore conStore);
void SCStorePop(SCStore *conStore);
/* pop context */
int SCStoreConnected(SCStore conStore);
int SCStoreConnected(SCStore *conStore);
/* check if a stored connection is not closed */
void SCStoreFree(SCStore conStore);
void SCStoreFree(SCStore *conStore);
/* free an SCStore */
void KillFreeConnections(void);