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