20#ifndef rtpsignaltable_h
21#define rtpsignaltable_h
23#define RTP_CALLBACK_TABLE_MAX_ENTRIES 5
25typedef 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;
40int rtp_signal_table_add(
RtpSignalTable *table,RtpCallback cb,
unsigned long user_data);
45void rtp_signal_table_emit2(
RtpSignalTable *table,
unsigned long arg);
48void rtp_signal_table_emit3(
RtpSignalTable *table,
unsigned long arg1,
unsigned long arg2);
50int rtp_signal_table_remove_by_callback(
RtpSignalTable *table,RtpCallback cb);
Definition: rtpsession.h:202
Definition: rtpsignaltable.h:28