Commit cee7e2fe authored by Dafydd Harries's avatar Dafydd Harries

add more spaces to header files

darcs-hash:20070201115653-c9803-d34ffa19c7f17ddf805890dd598daa3f0b844e63.gz
parent 22073fec
......@@ -80,37 +80,48 @@ struct _StunMessage {
G_GNUC_WARN_UNUSED_RESULT
StunAttribute *
stun_attribute_mapped_address_new (guint32 ip_address, guint16 port);
StunAttribute *
stun_attribute_username_new (const gchar *username);
void
stun_attribute_free (StunAttribute *attr);
G_GNUC_WARN_UNUSED_RESULT
guint
stun_attribute_pack (StunAttribute *attr, gchar **ret);
G_GNUC_WARN_UNUSED_RESULT
gchar *
stun_attribute_dump (StunAttribute *attr);
G_GNUC_WARN_UNUSED_RESULT
StunAttribute *
stun_attribute_unpack (guint length, const gchar *s);
void
stun_message_init (StunMessage *msg, guint type, gchar *id);
G_GNUC_WARN_UNUSED_RESULT
StunMessage *
stun_message_new (guint type, gchar *id);
G_GNUC_WARN_UNUSED_RESULT
StunMessage *
stun_message_binding_request_new (void);
void
stun_message_free (StunMessage *msg);
G_GNUC_WARN_UNUSED_RESULT
guint
stun_message_pack (StunMessage *msg, gchar **packed);
G_GNUC_WARN_UNUSED_RESULT
gchar *
stun_message_dump (StunMessage *msg);
G_GNUC_WARN_UNUSED_RESULT
StunMessage *
stun_message_unpack (guint length, gchar *s);
......
......@@ -8,12 +8,14 @@ G_BEGIN_DECLS
void
udp_fake_socket_manager_init (UDPSocketManager *man);
void
udp_fake_socket_push_recv (
UDPSocket *man,
struct sockaddr_in *from,
guint len,
gchar *buf);
guint
udp_fake_socket_pop_send (
UDPSocket *man,
......
......@@ -46,6 +46,7 @@ udp_socket_manager_alloc_socket (
UDPSocketManager *man,
UDPSocket *sock,
struct sockaddr_in *sin);
void
udp_socket_manager_close (UDPSocketManager *man);
......@@ -55,12 +56,14 @@ udp_socket_recv (
struct sockaddr_in *sin,
guint len,
gchar *buf);
void
udp_socket_send (
UDPSocket *sock,
struct sockaddr_in *sin,
guint len,
gchar *buf);
void
udp_socket_close (UDPSocket *sock);
......
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