diff options
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index d269267..53edabd 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
| @@ -236,6 +236,12 @@ struct ot_workstruct { | |||
| 236 | int keep_alive; | 236 | int keep_alive; |
| 237 | }; | 237 | }; |
| 238 | 238 | ||
| 239 | /* Everything a thread that serves requests needs for itself. Set up and torn | ||
| 240 | down in one place so that a new kind of worker cannot miss a piece. | ||
| 241 | Returns -1 if the buffers could not be had. */ | ||
| 242 | int workstruct_init(struct ot_workstruct *ws); | ||
| 243 | void workstruct_deinit(struct ot_workstruct *ws); | ||
| 244 | |||
| 239 | /* | 245 | /* |
| 240 | Exported functions | 246 | Exported functions |
| 241 | */ | 247 | */ |
