- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
@@ -17,21 +17,21 @@
|
||||
#define GCOK 5000
|
||||
#define GCRECONNECT 5003
|
||||
#define GCRETRY 5004
|
||||
|
||||
typedef struct {
|
||||
int (*enqueueNode)(pSICSOBJ self, SConnection *pCon, pHdb node);
|
||||
int (*enqueueNodeHead)(pSICSOBJ self, SConnection *pCon, pHdb node);
|
||||
int (*replyCallback)(pSICSOBJ self, SConnection *pCon, pHdb node,
|
||||
char *replyCommand, char *reply, int replylen);
|
||||
void *comContext;
|
||||
void (*killComContext)(void *data);
|
||||
int comError;
|
||||
}GenController, *pGenController;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int GenControllerFactory(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int GenControllerConfigure(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
|
||||
#endif /*GENERICCONTROLLER_H_*/
|
||||
typedef struct {
|
||||
int (*enqueueNode) (pSICSOBJ self, SConnection * pCon, pHdb node);
|
||||
int (*enqueueNodeHead) (pSICSOBJ self, SConnection * pCon, pHdb node);
|
||||
int (*replyCallback) (pSICSOBJ self, SConnection * pCon, pHdb node,
|
||||
char *replyCommand, char *reply, int replylen);
|
||||
void *comContext;
|
||||
void (*killComContext) (void *data);
|
||||
int comError;
|
||||
} GenController, *pGenController;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int GenControllerFactory(SConnection * pCon, SicsInterp * pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int GenControllerConfigure(SConnection * pCon, SicsInterp * pSics,
|
||||
void *pData, int argc, char *argv[]);
|
||||
|
||||
#endif /*GENERICCONTROLLER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user