diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-15 00:02:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-15 00:02:26 +0000 |
commit | c17545108b33162fb186f797b8a408511e9252f4 (patch) | |
tree | ec6fdd4bce3d8aff48519ef6c5bfafe46aef5340 /polyp/socket-client.h | |
parent | 22cb23eedb2eae7c79dc8fcf395be08bfc666256 (diff) |
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
Diffstat (limited to 'polyp/socket-client.h')
-rw-r--r-- | polyp/socket-client.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |