Added command stack wrappers and fixed up nread and removed dead code from nserver
Removed direct access from token.c
This commit is contained in:
7
conman.h
7
conman.h
@@ -153,6 +153,7 @@ void SCSetConStatus(SConnection *pCon, int conStatus);
|
||||
void SCSetEventType(SConnection *pCon, int eventType);
|
||||
void SCSetSicsError(SConnection *pCon, int sicsError);
|
||||
void SCSetProtocolID(SConnection *pCon, int proID);
|
||||
void SCSetGrab(SConnection *pCon, int iGrab);
|
||||
|
||||
/* **************************** Invocation ******************************** */
|
||||
int SCInvoke(SConnection * self, SicsInterp * pInter, char *pCommand);
|
||||
@@ -195,4 +196,10 @@ int SCUnregisterID(SConnection * pCon, long ID);
|
||||
* returns -1 if no ID can be found.
|
||||
*/
|
||||
long SCgetCallbackID(SConnection * pCon, void *pData);
|
||||
/*************************** command stack handling **********************/
|
||||
void SCCostaLock(SConnection *pCon);
|
||||
void SCCostaUnLock(SConnection *pCon);
|
||||
int SCCostaLocked(SConnection *pCon);
|
||||
int SCCostaTop(SConnection *pCon, char *command);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user