summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stpd/librelay.h')
-rw-r--r--runtime/stpd/librelay.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/runtime/stpd/librelay.h b/runtime/stpd/librelay.h
index 59273d8e..371ddfbd 100644
--- a/runtime/stpd/librelay.h
+++ b/runtime/stpd/librelay.h
@@ -1,25 +1,8 @@
-/* SystemTap control channel command values */
-enum
-{
- STP_BUF_INFO = 1,
- STP_SUBBUFS_CONSUMED,
- STP_REALTIME_DATA,
- STP_TRANSPORT_MODE,
- STP_EXIT,
-};
-
-/* SystemTap transport options */
-enum
-{
- STP_TRANSPORT_NETLINK = 1,
- STP_TRANSPORT_RELAYFS
-};
+#include "../transport/transport_msgs.h"
/*
* stp external API functions
*/
-extern int init_stp(const char *modname,
- const char *relay_filebase,
- int print_summary);
+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);