diff options
author | hunt <hunt> | 2005-08-01 21:39:14 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-01 21:39:14 +0000 |
commit | 3dae777808caaa284988c961679c4450cf9a8af8 (patch) | |
tree | ec12002a82a25a990097661a7b3331229aec2385 /runtime/transport/control.h | |
parent | fe3d01fa89a373b8f930689cf2375cc04cb57b74 (diff) | |
download | systemtap-steved-3dae777808caaa284988c961679c4450cf9a8af8.tar.gz systemtap-steved-3dae777808caaa284988c961679c4450cf9a8af8.tar.xz systemtap-steved-3dae777808caaa284988c961679c4450cf9a8af8.zip |
2005-08-01 Martin Hunt <hunt@redhat.com>
* control.h: Remove STP commands from here and put in
transport_msgs.
* transport_msgs.h: New file containing the structs and
values for the messages exchanged between stpd and transport.
* transport.h: Moved stuff shared with stpd to transport_msgs.h
* transport.c: Complete rewrite to better handle complicated
initialization involving exchanging data with stpd. Supports
buffer size negotiation and more.
Diffstat (limited to 'runtime/transport/control.h')
-rw-r--r-- | runtime/transport/control.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/transport/control.h b/runtime/transport/control.h index f4e326da..e19d7bcd 100644 --- a/runtime/transport/control.h +++ b/runtime/transport/control.h @@ -16,16 +16,6 @@ struct cmd_handler #define HANDLER_SHIFT 5 #define HANDLER_SLOTS (1 << HANDLER_SHIFT) -/* stp control channel command values */ -enum -{ - STP_BUF_INFO = 1, - STP_SUBBUFS_CONSUMED, - STP_REALTIME_DATA, - STP_TRANSPORT_MODE, - STP_EXIT, -}; - extern int _stp_ctrl_register(int pid, int (*cmd_handler) (int pid, int cmd, void *data)); extern void _stp_ctrl_unregister(int pid); extern int _stp_ctrl_send(int type, void *reply, int len, int pid); |