# HG changeset patch # User rbultje # Date 1233853210 0 # Node ID c535276fb3ffa6d4c8d0d449e36201f3a00b4d98 # Parent 1b695f013cd3e9b2ea7de498b0910510d907f960 Delete an enum and a function typedef that aren't used anywhere, and move move a struct/typedef in rtsp.h that is only used in ffserver.c into ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML. diff -r 1b695f013cd3 -r c535276fb3ff rtsp.h --- a/rtsp.h Thu Feb 05 14:53:25 2009 +0000 +++ b/rtsp.h Thu Feb 05 17:00:10 2009 +0000 @@ -128,24 +128,6 @@ PayloadContext *dynamic_protocol_context; ///< Only valid if it's a dynamic protocol. (This is any private data associated with the dynamic protocol) } RTSPStream; -/** the callback can be used to extend the connection setup/teardown step */ -enum RTSPCallbackAction { - RTSP_ACTION_SERVER_SETUP, - RTSP_ACTION_SERVER_TEARDOWN, - RTSP_ACTION_CLIENT_SETUP, - RTSP_ACTION_CLIENT_TEARDOWN, -}; - -typedef struct RTSPActionServerSetup { - uint32_t ipaddr; - char transport_option[512]; -} RTSPActionServerSetup; - -typedef int FFRTSPCallback(enum RTSPCallbackAction action, - const char *session_id, - char *buf, int buf_size, - void *arg); - int rtsp_init(void); void rtsp_parse_line(RTSPHeader *reply, const char *buf);