summaryrefslogtreecommitdiffstats
path: root/avahi-client
Commit message (Collapse)AuthorAgeFilesLines
...
* * look for additional browsing dmains in $AVAHI_BROWSE_DOMAINS on the client ↵Lennart Poettering2005-11-052-1/+106
| | | | | | | | | side * the same for the XDG config file ~/.config/avah/browse-domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@928 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement XDG basedir subset, which we will use to read user configured ↵Lennart Poettering2005-11-044-2/+141
| | | | | | browser domains from git-svn-id: file:///home/lennart/svn/public/avahi/trunk@927 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove a bunch of compiler warningsLennart Poettering2005-10-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* change rdata type from "uint8_t*" to "const void*"Lennart Poettering2005-10-272-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@897 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-daemon: Implement EntryGroup::AddRecord for arbitrary record additionsTrent Lloyd2005-10-273-0/+114
| | | | | | | * 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
* install publish.h, lookup.hLennart Poettering2005-10-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@887 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* distribute publish.h lookup.hLennart Poettering2005-10-261-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@884 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-264-34/+30
| | | | | | | | | | | * remove -Wunused from GCC command line and use "unused" attribute instead * remove AVAHI_CLIENT_S_FAILURE and AVAHI_CLIENT_S_INVALID since these event's are never forwarded to the client anyway * make use of AVAHI_GCC_NORETURN * really send eror code with StateChange DBUS signals * ignore EINTR in avahi_simple_poll_loop() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@879 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove lots of DOXYGEN_SHOULD_SKIP_THIS from the header files, use doxygen ↵Lennart Poettering2005-10-263-13/+0
| | | | | | | | | | macro expansion instead * split of exotic functions from avahi-core/rr.h to avahi-core/rr-util.h * update doxygen docs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@872 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replace AF_UNSPEC by AVAHI_PROTO_UNSPEC in client-test.cLennart Poettering2005-10-251-3/+1
| | | | | | | | | * remove some functions from the public API in avahi-common/{domain,address}.[ch] and move them into avahi-core/{domain-util,add-util}.[ch] * properly generate CNAME responses * add some more comments to server.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@871 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-242-4/+22
| | | | | | | | | | | | * pass error code alongside entry gorup state changes over DBUS * add new server state AVAHI_SERVER_FAILURE * pass error code alongside server state changes over DBUS * fix client-publish-service * rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION * update TODO git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-191-0/+4
| | | | | | | | | | | | | command line * Build compat layers only when --enable-compat-{howl,libdns_sd} was passed to configure * drop avahi_strlcpy() to reduce our code/API size * replace getifname() with if_indextoname in avahi-dnsconfd * declare environ if needed in avahi-dnsconfd * drop some useless definitions like AVAHI_PUBLISH_NULL = 0 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@819 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* in order to reduce our API size, dropping ↵Lennart Poettering2005-10-182-66/+4
| | | | | | avahi_entry_group_add_service_va(), avahi_entry_group_update_service_txt_va(), avahi_server_add_service_va(, avahi_server_update_service_txt_va() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@815 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-188-130/+126
| | | | | | | | | | | * drop avahi_service_is_service_local(), avahi_client_is_service_local() * add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL * remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a() * avahi-client: save query data in browse/resolve objects so that we can return it on failure * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add custom user-specific configure flags to bootstrap.shTrent Lloyd2005-10-174-2/+119
| | | | | | | | | | | | * Add new constant AVAHI_ADDRESS_STR_MAX for use with avahi_address_snprint arr ays * Update all our code to use AVAHI_ADDRESS_STR_MAX * Add avahi_client_add_address to avahi-client * Add avahi_client_add_address test to avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * split client.h into client.h, lookup.h and publish.h just like we did on ↵Lennart Poettering2005-10-177-302/+578
| | | | | | | | | | | | the server side * Wrap avahi_server_update_txt() as DBUS function UpdateServiceTxt * Add client side API avahi_entry_group_update_service_txt() and friends * handle AVAHI_PUBLISH_UPDATE semantics in DBUS protocol * minor cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@791 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* cleanup of adresss parsing on the client sideLennart Poettering2005-10-131-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@758 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Do not fail if address cannot be parsed - it is probably ↵Jakub Stachowski2005-10-131-4/+1
| | | | | | AVAHI_LOOKUP_NO_ADDRESS case git-svn-id: file:///home/lennart/svn/public/avahi/trunk@757 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * handle AVAHI_LOOKUP_NO_ADDRESS over DBUS correctlyLennart Poettering2005-10-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@755 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-124-186/+291
| | | | | | | | | | | AVAHI_BROWSER_NOT_FOUND, use AVAHI_xxx_FAILURE instead * set the client/server errno variable when AVAHI_xxx_FAILURE happens * update DBUS interface accordingly, pass errno value with Failure events * Pass DNS return codes to the app by wrapping them in avahi error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@732 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add client side wrapping of EntryGroup.AddServiceSubtypeLennart Poettering2005-10-112-0/+99
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@721 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* ### BACKPORT ###Lennart Poettering2005-10-031-4/+3
| | | | | | | * remove some compiler warnings sebest found git-svn-id: file:///home/lennart/svn/public/avahi/trunk@689 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * First check server version, after that request server state in ↵Lennart Poettering2005-10-031-2/+2
| | | | | | avahi_client_new() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@685 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make all flags parameters UINT32 when marshalling for DBUSLennart Poettering2005-09-295-36/+57
| | | | | | | | | | | | | | | | | | | * rename AvahiEntryFlags to AvahiPublishFlags * add flags parameter to add_service() and friends * validity checking of flags, interface and protocol parameters of add_service() and friends * make AVAHI_VALID_FLAGS a global macro * add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs * add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records * minor cleanups Yes, this will break the mono bindings. More breakages to come. NO_REVERSE and NO_COOKIE needs testing. Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later". git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename some DBUS errrorsLennart Poettering2005-09-261-8/+68
| | | | | | | * add new VERSION_MISMATCH error git-svn-id: file:///home/lennart/svn/public/avahi/trunk@630 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix some bugsLennart Poettering2005-09-257-161/+362
| | | | | | | | * update to current DBUS API * add test for resolving standalone SRV records git-svn-id: file:///home/lennart/svn/public/avahi/trunk@610 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Back out incorrect changeTrent Lloyd2005-09-191-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@602 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix error handling in avahi-client so that it actually reports theTrent Lloyd2005-09-191-0/+5
| | | | | | | | | error from avahi_client_new, before the ret_error was left untouched. * In the case of a NO_DAEMON error, free the dbus error so that the NO_DAEMON error takes precidence. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@601 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API avahi_client_is_service_local()Lennart Poettering2005-09-102-0/+70
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@563 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove avahi_entry_group_get_dbus_path()Lennart Poettering2005-09-101-5/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@559 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add magic identification cookies to service TXT records automaticallyLennart Poettering2005-09-104-1/+60
| | | | | | | | | * add an API to query the local service cookie * add a DBUS interface to query the local service cookie * wrap that in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* move definition of libtool version info data to configure.acLennart Poettering2005-09-071-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bum sonamesLennart Poettering2005-08-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@477 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move service/host name/address resolvers to asynchronous interfacesLennart Poettering2005-08-286-313/+336
| | | | | | | | | | * drop xxx_get_dbus_path() functions * drop xxx_block() functions * fix compiler warning about missing const * fix some minor memory corruption bugs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@462 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix some small issues in client-testLennart Poettering2005-08-273-9/+15
| | | | | | | * add protocol argument avahi_adress_resolver_new_a() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@458 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement AddressResolver in the avahi-client C apiTrent Lloyd2005-08-265-19/+291
| | | | | | | * Small fix to the HostNameResolver git-svn-id: file:///home/lennart/svn/public/avahi/trunk@450 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement the HostNameResolver in the avahi-client C apiTrent Lloyd2005-08-265-3/+302
| | | | | | | | * Add HostNameResolver and ServiceResolver to client-test * Add get_client functions to all avahi-client browsers/resolvers git-svn-id: file:///home/lennart/svn/public/avahi/trunk@449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix "sebest's bug" (TM) -- deal with dbus brokeness when passing zero ↵Lennart Poettering2005-08-251-4/+9
| | | | | | length arrays git-svn-id: file:///home/lennart/svn/public/avahi/trunk@446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop useless argumentLennart Poettering2005-08-231-8/+4
| | | | | | | | | * do NOT call _exit when DBUS connection dies * don't print directly to STDOUT, that's what DBusError is for * small optimization git-svn-id: file:///home/lennart/svn/public/avahi/trunk@434 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-client/Trent Lloyd2005-08-232-2/+39
| | | | | | | | | | | | | | | | | | | | | | - Create a new function avahi_dbus_bus_get which acts like dbus_bus_get but instead gets a private connection, this solves the bug where you can't have more than one AvahiClient at once because each successive AvahiClient stepped on the DBusWatch handling of the previous due to libdbus liking to recycle its connections. Introduced a new configure option --with-dbus-system-address= if you set this, you likely want it set to unix:path=/some/socket/here The default is /var/run/dbus/system_socket_address, because this path is hard coded into D-BUS itself, and the DBUS_SYSTEM_BUS_ADDRESS environment variable is now supported to change this at runtime which is inline with libdbus. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@432 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move the D-BUS configured but not compiled in warning, and make it work ↵Trent Lloyd2005-08-231-0/+3
| | | | | | | | | right. * Fix a bug in avahi-client where if you have multiple clients, a crash can occur when using AvahiServiceBrowsers. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bump .so current and ageLennart Poettering2005-08-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@421 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fPIC fixLennart Poettering2005-08-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@415 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add glib integration example.Trent Lloyd2005-08-221-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@394 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add a simple entry group reset/change/commit to client-testTrent Lloyd2005-08-211-3/+17
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@389 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doc updateLennart Poettering2005-08-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@367 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add avahi-client examples to doxygenLennart Poettering2005-08-201-0/+8
| | | | | | | * tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Disable debug output of avahi-clientLennart Poettering2005-08-205-5/+329
| | | | | | | | | * implement service resolving API in avahi-client * fix some memory corruption bugs in dbus-watch-glue * add avahi-client examples git-svn-id: file:///home/lennart/svn/public/avahi/trunk@363 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * complete error handling in avahi-clientLennart Poettering2005-08-205-269/+475
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many improvements to avahi-client (especially error handling)Lennart Poettering2005-08-205-317/+665
| | | | | | | * Document AVahi error handling a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe