Commit 14976003 authored by Dafydd Harries's avatar Dafydd Harries

rename NiceAgentRecvHandler -> NiceAgentRecvFunc

darcs-hash:20070204190234-c9803-070f17e3dccb628b32870bc35b84067e8ed52eb9.gz
parent 605f2e19
......@@ -68,7 +68,7 @@ struct _Stream
guint id;
/* XXX: streams can have multiple components */
Component *component;
NiceAgentRecvHandler handle_recv;
NiceAgentRecvFunc handle_recv;
gpointer handle_recv_data;
};
......@@ -241,7 +241,7 @@ nice_agent_add_local_host_candidate (
guint
nice_agent_add_stream (
NiceAgent *agent,
NiceAgentRecvHandler handle_recv,
NiceAgentRecvFunc handle_recv,
gpointer handle_recv_data)
{
Stream *stream;
......
......@@ -15,6 +15,9 @@ G_BEGIN_DECLS
typedef struct _NiceAgent NiceAgent;
typedef void (*NiceAgentEventFunc) (
NiceAgent *agent, NiceEvent *event);
struct _NiceAgent
{
guint next_candidate_id;
......@@ -28,7 +31,7 @@ struct _NiceAgent
};
typedef void (*NiceAgentRecvHandler) (
typedef void (*NiceAgentRecvFunc) (
NiceAgent *agent, guint stream_id, guint component_id, guint len,
gchar *buf, gpointer user_data);
......@@ -45,7 +48,7 @@ nice_agent_add_local_address (NiceAgent *agent, NiceAddress *addr);
guint
nice_agent_add_stream (
NiceAgent *agent,
NiceAgentRecvHandler handle_recv,
NiceAgentRecvFunc recv_func,
gpointer handle_recv_data);
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