diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-10-27 17:49:41 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-10-27 17:49:41 +0000 |
commit | 1a04f21bca1c5410019b29c2b7305796ecb5a8b8 (patch) | |
tree | 3aea580df7a3251834c5c27f2b51c94bdeaf5319 /avahi-client/client-test.c | |
parent | 6e6fde9ac338d241488f3981a76dfc85ddec12d6 (diff) |
* avahi-daemon: Implement EntryGroup::AddRecord for arbitrary record additions
* avahi-client: Wrap AddRecord, add simple test to client-test
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@890 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/client-test.c')
-rw-r--r-- | avahi-client/client-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-client/client-test.c b/avahi-client/client-test.c index 775eb5d..802584a 100644 --- a/avahi-client/client-test.c +++ b/avahi-client/client-test.c @@ -258,6 +258,7 @@ int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { printf("Sucessfully created entry group %p\n", (void*) group); avahi_entry_group_add_service (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "Lathiat's Site", "_http._tcp", NULL, NULL, 80, "foo=bar", NULL); + printf ("add_record: %d", avahi_entry_group_add_record (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "\5booya", 6)); avahi_entry_group_commit (group); |