- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
21
sicspoll.h
21
sicspoll.h
@ -16,14 +16,14 @@
|
||||
/**
|
||||
* the factory function
|
||||
*/
|
||||
int InstallSICSPoll(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int InstallSICSPoll(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
/*
|
||||
* the actual wrapper which allows to configure and query the polling
|
||||
* module
|
||||
*/
|
||||
int SICSPollWrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int SICSPollWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
/*================== Internal Interface ===================================*/
|
||||
typedef struct __SICSPOLL SicsPoll, *pSicsPoll;
|
||||
/**
|
||||
@ -38,16 +38,17 @@ typedef struct __SICSPOLL SicsPoll, *pSicsPoll;
|
||||
* poll driver
|
||||
* @param argv[] The parameters to pass to the poll driver.
|
||||
* @return 1 on success or a negative error code when things go wrong.
|
||||
*/
|
||||
int addPollObject(SicsPoll *self, SConnection *pCon, char *objectIdentifier,
|
||||
char *driver, int argc, char *argv[]);
|
||||
*/
|
||||
int addPollObject(SicsPoll * self, SConnection * pCon,
|
||||
char *objectIdentifier, char *driver, int argc,
|
||||
char *argv[]);
|
||||
/**
|
||||
* remove an object from the polling loop.
|
||||
* @param self A pointer to a sicsPoll object managing the poll loop.
|
||||
* @param objectIdentifier The identifier of the object to remove from
|
||||
* the poll loop.
|
||||
* @return 1 on success, a negative error code on failure.
|
||||
*/
|
||||
int removePollObject(SicsPoll *self, char *objectIdentifier);
|
||||
*/
|
||||
int removePollObject(SicsPoll * self, char *objectIdentifier);
|
||||
|
||||
#endif /*SICSPOLL_H_*/
|
||||
#endif /*SICSPOLL_H_ */
|
||||
|
Reference in New Issue
Block a user