Mercurial > audlegacy
changeset 1443:2f714bee0645 trunk
[svn] - prepare for tcp listener code
author | nenolod |
---|---|
date | Fri, 28 Jul 2006 01:11:15 -0700 |
parents | 5b44358151f8 |
children | c04ce16b2b57 |
files | ChangeLog audacious/controlsocket.c audacious/controlsocket.h |
diffstat | 3 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Jul 28 01:07:14 2006 -0700 +++ b/ChangeLog Fri Jul 28 01:11:15 2006 -0700 @@ -1,3 +1,12 @@ +2006-07-28 08:07:14 +0000 William Pitcock <nenolod@nenolod.net> + revision [1798] + - more sanity + + + Changes: Modified: + +2 -2 trunk/libaudacious/beepctrl.c + + 2006-07-28 08:05:21 +0000 William Pitcock <nenolod@nenolod.net> revision [1796] - ok, don't eat up all the system ram (I forgot to g_free())
--- a/audacious/controlsocket.c Fri Jul 28 01:07:14 2006 -0700 +++ b/audacious/controlsocket.c Fri Jul 28 01:11:15 2006 -0700 @@ -78,6 +78,12 @@ gboolean ctrlsocket_setup(void) { + return ctrlsocket_setup_unix(); +} + +gboolean +ctrlsocket_setup_unix(void) +{ struct sockaddr_un saddr; gint i; gint fd;
--- a/audacious/controlsocket.h Fri Jul 28 01:07:14 2006 -0700 +++ b/audacious/controlsocket.h Fri Jul 28 01:11:15 2006 -0700 @@ -73,6 +73,8 @@ gboolean ctrlsocket_setup(void); +gboolean ctrlsocket_setup_unix(void); +gboolean ctrlsocket_setup_tcp(void); void ctrlsocket_start(void); void ctrlsocket_check(void); void ctrlsocket_cleanup(void);