Commit 14976003 authored by Dafydd Harries's avatar Dafydd Harries
Browse files

rename NiceAgentRecvHandler -> NiceAgentRecvFunc

darcs-hash:20070204190234-c9803-070f17e3dccb628b32870bc35b84067e8ed52eb9.gz
parent 605f2e19
...@@ -68,7 +68,7 @@ struct _Stream ...@@ -68,7 +68,7 @@ struct _Stream
guint id; guint id;
/* XXX: streams can have multiple components */ /* XXX: streams can have multiple components */
Component *component; Component *component;
NiceAgentRecvHandler handle_recv; NiceAgentRecvFunc handle_recv;
gpointer handle_recv_data; gpointer handle_recv_data;
}; };
...@@ -241,7 +241,7 @@ nice_agent_add_local_host_candidate ( ...@@ -241,7 +241,7 @@ nice_agent_add_local_host_candidate (
guint guint
nice_agent_add_stream ( nice_agent_add_stream (
NiceAgent *agent, NiceAgent *agent,
NiceAgentRecvHandler handle_recv, NiceAgentRecvFunc handle_recv,
gpointer handle_recv_data) gpointer handle_recv_data)
{ {
Stream *stream; Stream *stream;
......
...@@ -15,6 +15,9 @@ G_BEGIN_DECLS ...@@ -15,6 +15,9 @@ G_BEGIN_DECLS
typedef struct _NiceAgent NiceAgent; typedef struct _NiceAgent NiceAgent;
typedef void (*NiceAgentEventFunc) (
NiceAgent *agent, NiceEvent *event);
struct _NiceAgent struct _NiceAgent
{ {
guint next_candidate_id; guint next_candidate_id;
...@@ -28,7 +31,7 @@ struct _NiceAgent ...@@ -28,7 +31,7 @@ struct _NiceAgent
}; };
typedef void (*NiceAgentRecvHandler) ( typedef void (*NiceAgentRecvFunc) (
NiceAgent *agent, guint stream_id, guint component_id, guint len, NiceAgent *agent, guint stream_id, guint component_id, guint len,
gchar *buf, gpointer user_data); gchar *buf, gpointer user_data);
...@@ -45,7 +48,7 @@ nice_agent_add_local_address (NiceAgent *agent, NiceAddress *addr); ...@@ -45,7 +48,7 @@ nice_agent_add_local_address (NiceAgent *agent, NiceAddress *addr);
guint guint
nice_agent_add_stream ( nice_agent_add_stream (
NiceAgent *agent, NiceAgent *agent,
NiceAgentRecvHandler handle_recv, NiceAgentRecvFunc recv_func,
gpointer handle_recv_data); gpointer handle_recv_data);
void void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment