20 #ifndef rtpsignaltable_h
21 #define rtpsignaltable_h
23 #define RTP_CALLBACK_TABLE_MAX_ENTRIES 5
25 typedef void (*RtpCallback)(
struct _RtpSession *, ...);
28 RtpCallback callback[RTP_CALLBACK_TABLE_MAX_ENTRIES];
29 uintptr_t user_data[RTP_CALLBACK_TABLE_MAX_ENTRIES];
31 const char *signal_name;
39 int rtp_signal_table_add(
RtpSignalTable *table, RtpCallback cb, uintptr_t user_data);
47 void rtp_signal_table_emit3(
RtpSignalTable *table, uintptr_t arg1, uintptr_t arg2);
49 int rtp_signal_table_remove_by_callback(
RtpSignalTable *table, RtpCallback cb);
Definition: rtpsession.h:261
Definition: rtpsignaltable.h:27