diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-07-27 23:13:52 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-07-27 23:13:52 +0000 |
commit | 8f1c6544deb351d9df51114c7f6e5f25e026f73e (patch) | |
tree | 7e9ac72d26081cbea2a5388f4e3163aac492fd86 /avahi-core/server.c | |
parent | f4818ac7386bf29a5b8eeebaa6938b6b4ab2132f (diff) |
* swap order of "type" and "name" arguments of avahi_server_add_service() and friends
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/server.c')
-rw-r--r-- | avahi-core/server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/avahi-core/server.c b/avahi-core/server.c index b3ae039..9619ab4 100644 --- a/avahi-core/server.c +++ b/avahi-core/server.c @@ -1709,8 +1709,8 @@ gint avahi_server_add_service_strlst( AvahiEntryGroup *g, gint interface, guchar protocol, - const gchar *type, const gchar *name, + const gchar *type, const gchar *domain, const gchar *host, guint16 port, @@ -1761,8 +1761,8 @@ gint avahi_server_add_service_va( AvahiEntryGroup *g, gint interface, guchar protocol, - const gchar *type, const gchar *name, + const gchar *type, const gchar *domain, const gchar *host, guint16 port, @@ -1772,7 +1772,7 @@ gint avahi_server_add_service_va( g_assert(type); g_assert(name); - return avahi_server_add_service_strlst(s, g, interface, protocol, type, name, domain, host, port, avahi_string_list_new_va(va)); + return avahi_server_add_service_strlst(s, g, interface, protocol, name, type, domain, host, port, avahi_string_list_new_va(va)); } gint avahi_server_add_service( @@ -1780,8 +1780,8 @@ gint avahi_server_add_service( AvahiEntryGroup *g, gint interface, guchar protocol, - const gchar *type, const gchar *name, + const gchar *type, const gchar *domain, const gchar *host, guint16 port, @@ -1795,7 +1795,7 @@ gint avahi_server_add_service( g_assert(name); va_start(va, port); - ret = avahi_server_add_service_va(s, g, interface, protocol, type, name, domain, host, port, va); + ret = avahi_server_add_service_va(s, g, interface, protocol, name, type, domain, host, port, va); va_end(va); return ret; } |