20 #ifndef rtpsignaltable_h
21 #define rtpsignaltable_h
23 #define RTP_CALLBACK_TABLE_MAX_ENTRIES 5
25 typedef void (*RtpCallback)(
struct _RtpSession *,
unsigned long arg1,
unsigned long arg2,
unsigned long arg3);
29 RtpCallback callback[RTP_CALLBACK_TABLE_MAX_ENTRIES];
30 void * user_data[RTP_CALLBACK_TABLE_MAX_ENTRIES];
32 const char *signal_name;
40 int rtp_signal_table_add(
RtpSignalTable *table,RtpCallback cb,
void *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:348
Definition: rtpsignaltable.h:27