summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
blob: 71150858a90796a4072be6846222a9f6d6541f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../transport/transport_msgs.h"

#ifdef DEBUG
#define dbug(args...) {printf("%s:%d ",__FUNCTION__, __LINE__); printf(args); }
#else
#define dbug(args...) ;
#endif /* DEBUG */

/*
 * stp external API functions
 */
extern int init_stp(const char *relay_filebase, int print_summary);
extern int stp_main_loop(void);
extern int send_request(int type, void *data, int len);