diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-05-06 15:24:22 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-05-06 15:24:22 +0000 |
commit | 242edd906c5949a394a0c8e6b3e18996d4ace63d (patch) | |
tree | 4f95eb3d9cbfe0fb70d38823322b06cdfa103d88 | |
parent | a89afaef24f18d7f07adc2a2b12e4a5c206630f3 (diff) |
fix main.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@48 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r-- | main.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -35,27 +35,27 @@ static void entry_group_callback(AvahiServer *s, AvahiEntryGroup *g, AvahiEntryG } int main(int argc, char *argv[]) { - AvahiServer *Avahi; + AvahiServer *avahi; gchar *r; GMainLoop *loop = NULL; AvahiSubscription *s; AvahiKey *k; AvahiEntryGroup *g; - Avahi = avahi_server_new(NULL); + avahi = avahi_server_new(NULL); -/* g = avahi_entry_group_new(Avahi, entry_group_callback, NULL); */ +/* g = avahi_entry_group_new(avahi, entry_group_callback, NULL); */ -/* avahi_server_add_text(Avahi, g, 0, AF_UNSPEC, AVAHI_ENTRY_UNIQUE, NULL, "hallo", NULL); */ -/* avahi_server_add_service(Avahi, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL); */ +/* avahi_server_add_text(avahi, g, 0, AF_UNSPEC, AVAHI_ENTRY_UNIQUE, NULL, "hallo", NULL); */ +/* avahi_server_add_service(avahi, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL); */ /* avahi_entry_group_commit(g); */ - avahi_server_dump(Avahi, stdout); + avahi_server_dump(avahi, stdout); /* k = avahi_key_new("ecstasy.local.", AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_ANY); */ -/* s = avahi_subscription_new(Avahi, k, 0, AF_UNSPEC, subscription, NULL); */ +/* s = avahi_subscription_new(avahi, k, 0, AF_UNSPEC, subscription, NULL); */ /* avahi_key_unref(k); */ loop = g_main_loop_new(NULL, FALSE); @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { /* avahi_subscription_free(s); */ /* avahi_entry_group_free(g); */ - avahi_server_free(Avahi); + avahi_server_free(avahi); return 0; } |