summaryrefslogtreecommitdiffstats
path: root/avahi-client/browser.c
Commit message (Collapse)AuthorAgeFilesLines
* in the domain browser objects: don't return statically configured browsing ↵Lennart Poettering2005-11-231-1/+1
| | | | | | domains when the user asked for registration domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1022 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement client API for arbitrary record browsingLennart Poettering2005-11-161-0/+243
| | | | | | | * Fix memory leak in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@984 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-081-8/+10
| | | | | | | | | | | * introduce flags AVAHI_CLIENT_NO_FAIL and AVAHI_CLIENT_IGNORE_USER_CONFIG * beef up avahi-browse to show how AVAHI_CLIENT_NO_FAIL may be used: add a new parameter "-f" which tells avahi-browse to stay running when the daemon disconnects from DBUS and reconnect when it reappears. For now dbus-daemon restarts are not handled and result in an AVAHI_CLIENT_FAIL event. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@937 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTEDLennart Poettering2005-11-061-6/+6
| | | | | | | * Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * look for additional browsing dmains in $AVAHI_BROWSE_DOMAINS on the client ↵Lennart Poettering2005-11-051-1/+100
| | | | | | | | | 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
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-181-12/+49
| | | | | | | | | | | * 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
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-121-37/+108
| | | | | | | | | | | 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
* * make all flags parameters UINT32 when marshalling for DBUSLennart Poettering2005-09-291-15/+21
| | | | | | | | | | | | | | | | | | | * 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
* * fix some bugsLennart Poettering2005-09-251-51/+68
| | | | | | | | * 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
* * Move service/host name/address resolvers to asynchronous interfacesLennart Poettering2005-08-281-72/+6
| | | | | | | | | | * 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
* * Implement the HostNameResolver in the avahi-client C apiTrent Lloyd2005-08-261-1/+19
| | | | | | | | * 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
* * 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
* * complete error handling in avahi-clientLennart Poettering2005-08-201-234/+413
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * start implementing error handling in avahi-clientLennart Poettering2005-08-161-9/+9
| | | | | | | | | * doxygen document timeval.h * add two more AVAHI_GCC_SENTINELs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@350 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-151-1/+0
| | | | | | | | * strip glib usage from avahi-daemon * make dbus-watch-glue a static library so that both avahi-client and avahi-daemon can make use of it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@327 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new priority parameter to avahi_glib_poll_new()Lennart Poettering2005-08-141-17/+17
| | | | | | | | | | | | * beef up AvahiPoll a little to contain real timeout events * cleanups in avahi-client * drop glib dependency * port to AvahiPoll system * put some "const"s and "static"s in to make gcc shut up * change all uses of malloc/free to avahi_malloc/avahi_new/avahi_free git-svn-id: file:///home/lennart/svn/public/avahi/trunk@324 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix docs/INSTALL for the right dbus path for debian (Thanks sebest)Trent Lloyd2005-08-141-1/+0
| | | | | | | | | | * Put -DDBUS_API_SUBJECT_TO_CHANGE in DBUS_CFLAGS and remove from individual files * Add avahi-client to the C++ test runs, compile with DBUS flags * Fix avahi-client to compile with C++ compilers. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@323 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Remove most of the debug printf()s from avahi-client code and make sure ↵Trent Lloyd2005-08-141-3/+0
| | | | | | errors are set when appropriate. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@321 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add a free function for AvahiEntryGroup in C apiTrent Lloyd2005-08-141-14/+24
| | | | | | | * Modify the browser free functions to return/set errors. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@320 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement free functions for the various browsers in the C apiTrent Lloyd2005-08-141-0/+65
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@319 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add service browser support to C client APITrent Lloyd2005-08-141-0/+109
| | | | | | | * Small fix to avahi-common to get make distcheck further git-svn-id: file:///home/lennart/svn/public/avahi/trunk@317 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert revision 303 (Name space changes) as avahi-core has now been changed.Trent Lloyd2005-08-141-14/+14
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename various data structures to prevent a namespace conflict with ↵Trent Lloyd2005-08-121-14/+14
| | | | | | avahi-core git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add ServiceTypeBrowser support to C APITrent Lloyd2005-08-111-4/+105
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@290 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add DomainBrowser support to C client APITrent Lloyd2005-08-111-0/+139
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@289 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe