diff options
Diffstat (limited to 'socket/socket.h')
-rw-r--r-- | socket/socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/socket/socket.h b/socket/socket.h index 18e5fb5..e6eb27e 100644 --- a/socket/socket.h +++ b/socket/socket.h @@ -80,6 +80,8 @@ struct _NiceSocket /* As above, @n_messages may be zero. Iff so, @messages may be %NULL. */ gint (*send_messages) (NiceSocket *sock, const NiceAddress *to, const NiceOutputMessage *messages, guint n_messages); + gint (*send_messages_reliable) (NiceSocket *sock, const NiceAddress *to, + const NiceOutputMessage *messages, guint n_messages); gboolean (*is_reliable) (NiceSocket *sock); void (*close) (NiceSocket *sock); void *priv; @@ -93,9 +95,15 @@ nice_socket_recv_messages (NiceSocket *sock, gint nice_socket_send_messages (NiceSocket *sock, const NiceAddress *addr, const NiceOutputMessage *messages, guint n_messages); +gint +nice_socket_send_messages_reliable (NiceSocket *sock, const NiceAddress *addr, + const NiceOutputMessage *messages, guint n_messages); gssize nice_socket_send (NiceSocket *sock, const NiceAddress *addr, gsize len, const gchar *buf); +gssize +nice_socket_send_reliable (NiceSocket *sock, const NiceAddress *addr, gsize len, + const gchar *buf); gboolean nice_socket_is_reliable (NiceSocket *sock); |