diff options
Diffstat (limited to 'src/ot_fullscrape.h')
| -rw-r--r-- | src/ot_fullscrape.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ot_fullscrape.h b/src/ot_fullscrape.h new file mode 100644 index 0000000..8d11cd3 --- /dev/null +++ b/src/ot_fullscrape.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> | ||
| 2 | It is considered beerware. Prost. Skol. Cheers or whatever. */ | ||
| 3 | |||
| 4 | #ifndef OT_FULLSCRAPE_H__ | ||
| 5 | #define OT_FULLSCRAPE_H__ | ||
| 6 | |||
| 7 | #ifdef WANT_FULLSCRAPE | ||
| 8 | |||
| 9 | #include "ot_mutex.h" | ||
| 10 | #include "ot_workqueue.h" | ||
| 11 | |||
| 12 | void fullscrape_init(void); | ||
| 13 | void fullscrape_deinit(void); | ||
| 14 | void fullscrape_deliver(int64_t sock, ot_tasktype tasktype); | ||
| 15 | |||
| 16 | #else | ||
| 17 | |||
| 18 | #define fullscrape_init() | ||
| 19 | #define fullscrape_deinit() | ||
| 20 | |||
| 21 | #endif | ||
| 22 | |||
| 23 | #endif | ||
