20 #ifndef rtpsignaltable_h 21 #define rtpsignaltable_h 23 #define RTP_CALLBACK_TABLE_MAX_ENTRIES 5 25 typedef void (*RtpCallback)(
struct _RtpSession *, ...);
29 RtpCallback callback[RTP_CALLBACK_TABLE_MAX_ENTRIES];
30 unsigned long user_data[RTP_CALLBACK_TABLE_MAX_ENTRIES];
32 const char *signal_name;
40 int rtp_signal_table_add(
RtpSignalTable *table,RtpCallback cb,
unsigned long user_data);
45 void rtp_signal_table_emit2(
RtpSignalTable *table,
unsigned long arg);
48 void rtp_signal_table_emit3(
RtpSignalTable *table,
unsigned long arg1,
unsigned long arg2);
50 int rtp_signal_table_remove_by_callback(
RtpSignalTable *table,RtpCallback cb);
Definition: rtpsession.h:201
Definition: rtpsignaltable.h:27