From 3dae777808caaa284988c961679c4450cf9a8af8 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 1 Aug 2005 21:39:14 +0000 Subject: 2005-08-01 Martin Hunt * 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. --- runtime/transport/control.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'runtime/transport/control.h') 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); -- cgit