summaryrefslogtreecommitdiff
path: root/src/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.h')
-rw-r--r--src/udp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udp.h b/src/udp.h
index 7bddf15..d998b39 100644
--- a/src/udp.h
+++ b/src/udp.h
@@ -52,9 +52,9 @@ struct udp_socket_struct {
};
typedef struct udp_socket_struct udp_socket_t;
-void udp_init(udp_socket_t** sock, const char* local_addr, const char* port);
+int udp_init(udp_socket_t* sock, const char* local_addr, const char* port);
void udp_set_remote(udp_socket_t* sock, const char* remote_addr, const char* port);
-void udp_close(udp_socket_t** sock);
+void udp_close(udp_socket_t* sock);
char* udp_endpoint_to_string(udp_endpoint_t e);
char* udp_get_local_end_string(udp_socket_t* sock);