summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
blob: 289952d7aa7a48ad82ea16dd79c64bb166bbc748 (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...) {fprintf(stderr,"%s:%d ",__FUNCTION__, __LINE__); fprintf(stderr,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);