summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
blob: 0a6a1920b2e8c5d93763d879c4a07d73555990a3 (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(int print_summary);
extern int stp_main_loop(void);
extern int send_request(int type, void *data, int len);