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