summaryrefslogtreecommitdiff
path: root/ot_fullscrape.h
blob: b759a27231cba4cb246147b0867222f4b37ecb56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
   It is considered beerware. Prost. Skol. Cheers or whatever.

   $id$ */

#ifndef OT_FULLSCRAPE_H__
#define OT_FULLSCRAPE_H__

#ifdef WANT_FULLSCRAPE

#include "ot_mutex.h"
#include "ot_workqueue.h"

void fullscrape_init(void);
void fullscrape_deinit(void);
void fullscrape_deliver(int64_t sock, ot_tasktype tasktype);

#else

#define fullscrape_init()
#define fullscrape_deinit()

#endif

#endif