summaryrefslogtreecommitdiffstats
path: root/wti.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-21 13:25:01 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-21 13:25:01 +0000
commitc876b04da21a40e9cfe6588d89c15c226504d26e (patch)
tree970feddd0b73c0f7012c1a741faca62df16e38ce /wti.h
parentf553ede5d992fd30ac66297c68b9d79b933693e4 (diff)
downloadrsyslog-c876b04da21a40e9cfe6588d89c15c226504d26e.tar.gz
rsyslog-c876b04da21a40e9cfe6588d89c15c226504d26e.tar.xz
rsyslog-c876b04da21a40e9cfe6588d89c15c226504d26e.zip
continued implementing wti class
Diffstat (limited to 'wti.h')
-rw-r--r--wti.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wti.h b/wti.h
index fbf1f150..4b028f73 100644
--- a/wti.h
+++ b/wti.h
@@ -34,7 +34,6 @@ typedef struct wti_s {
qWrkCmd_t tCurrCmd; /* current command to be carried out by worker */
obj_t *pUsr; /* current user object being processed (or NULL if none) */
wtp_t *pWtp; /* my worker thread pool (important if only the work thread instance is passed! */
- int toShutdown; /* shutdown timeout, used when idle */
pthread_cond_t condInitDone; /* signaled when the thread startup is done (once per thread existance) */
pthread_mutex_t mut;
uchar *pszDbgHdr; /* header string for debug messages */
@@ -47,9 +46,9 @@ typedef struct wti_s {
rsRetVal wtiConstruct(wti_t **ppThis);
rsRetVal wtiConstructFinalize(wti_t *pThis);
rsRetVal wtiDestruct(wti_t **ppThis);
+rsRetVal wtiWorker(wti_t *pThis);
PROTOTYPEObjClassInit(wti);
PROTOTYPEpropSetMeth(wti, pszDbgHdr, uchar*);
-PROTOTYPEpropSetMeth(wti, toShutdown, int);
#define wtiGetID(pThis) ((unsigned long) pThis)
#endif /* #ifndef WTI_H_INCLUDED */