From c17545108b33162fb186f797b8a408511e9252f4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 15 Aug 2004 00:02:26 +0000 Subject: proper ref counting for more objects some documentation update git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@124 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/socket-client.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'polyp/socket-client.h') diff --git a/polyp/socket-client.h b/polyp/socket-client.h index 7b9e2a72..1957355c 100644 --- a/polyp/socket-client.h +++ b/polyp/socket-client.h @@ -36,7 +36,8 @@ struct pa_socket_client* pa_socket_client_new_ipv4(struct pa_mainloop_api *m, ui struct pa_socket_client* pa_socket_client_new_unix(struct pa_mainloop_api *m, const char *filename); struct pa_socket_client* pa_socket_client_new_sockaddr(struct pa_mainloop_api *m, const struct sockaddr *sa, size_t salen); -void pa_socket_client_free(struct pa_socket_client *c); +void pa_socket_client_unref(struct pa_socket_client *c); +struct pa_socket_client* pa_socket_client_ref(struct pa_socket_client *c); void pa_socket_client_set_callback(struct pa_socket_client *c, void (*on_connection)(struct pa_socket_client *c, struct pa_iochannel*io, void *userdata), void *userdata); -- cgit