summaryrefslogtreecommitdiffstats
path: root/avahi-compat-libdns_sd
Commit message (Collapse)AuthorAgeFilesLines
* Merge patch "avahi-compat-error-return.patch" from Stanislav Brabec/JP ↵Lennart Poettering2006-04-261-2/+2
| | | | | | Rosevear, see #30 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1205 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Merge patch "avahi-compat-txt-buffer-size.patch" from Stanislav Brabec/JP ↵Lennart Poettering2006-04-241-1/+1
| | | | | | Rosevear, see #30 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1192 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove superfluous assertLennart Poettering2005-12-201-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1042 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix compilation with -pthreadLennart Poettering2005-11-251-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1034 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Don't build libavahi-compat-howl.so anymore, just libhowl.so.Lennart Poettering2005-11-201-10/+6
| | | | | | | * Same for libdns_sd.so git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1018 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* build libdns_sd.so and let it pull libavahi-compat-libdns_sd.so in Lennart Poettering2005-11-191-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1016 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement avahi_exe_name for BSD/DarwinSebastien Estienne2005-11-141-9/+4
| | | | | | | * no more sebest in the TOO :) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@961 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* simplify some linesLennart Poettering2005-11-091-7/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@942 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-081-4/+6
| | | | | | | | | | | * 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-3/+1
| | | | | | | * 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
* add new client state AVAHI_CLIENT_FAILURELennart Poettering2005-11-061-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more small fixes for OpenBSDSebastien Estienne2005-11-021-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@922 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many small fixes for NetBSDSebastien Estienne2005-10-312-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@911 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add validity checking to TXT data parsing, this fixes a remotely exploitable ↵Lennart Poettering2005-10-271-2/+9
| | | | | | vulnerability. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@888 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-263-63/+55
| | | | | | | | | | | * 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
* build avahi_exe_name() exclusively on LinuxLennart Poettering2005-10-251-0/+14
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@865 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-241-9/+24
| | | | | | | | | | | | * 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
* reorder lockingLennart Poettering2005-10-231-6/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@844 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Reversse r841Lennart Poettering2005-10-231-30/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@843 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Allow calls to DNSServiceRefDeallocate() with NULL passedLennart Poettering2005-10-231-4/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@842 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* set O_NONBLOCK for expoted libdns_sd socketsLennart Poettering2005-10-221-1/+31
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@841 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
* * split client.h into client.h, lookup.h and publish.h just like we did on ↵Lennart Poettering2005-10-171-0/+3
| | | | | | | | | | | | 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
* when warning about compat layer usage, link directly to a public CGI script ↵Lennart Poettering2005-10-161-8/+13
| | | | | | I wrote which will show some information about the situation git-svn-id: file:///home/lennart/svn/public/avahi/trunk@789 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compat-howl to work with nautilusLennart Poettering2005-10-161-7/+18
| | | | | | | | | * make similar changes to compat-libdns_sd * implement sw_salt_lock()/sw_salt_unlock() in compt-howl * simple-watch: allows immediate rerunning of avahi_simple_poll_run() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@787 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Minor cleanupsLennart Poettering2005-10-152-5/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@784 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Cleanup warn.cLennart Poettering2005-10-152-41/+54
| | | | | | | | | * Export avahi_warn() and avahi_exe_name() * Don't send \n to syslog * Improve incompatibility and linkage warning message wording git-svn-id: file:///home/lennart/svn/public/avahi/trunk@769 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Minor cleanupsLennart Poettering2005-10-151-5/+5
| | | | | | | * Really create a recursive mutex git-svn-id: file:///home/lennart/svn/public/avahi/trunk@767 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix buildLennart Poettering2005-10-151-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@766 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* improve incompatibility warningsLennart Poettering2005-10-151-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@764 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* minor cleanupsLennart Poettering2005-10-151-18/+17
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@763 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add AVAHI_WARN_UNSUPPORTED_ABORTLennart Poettering2005-10-131-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@752 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * integrate avahi-compat-howl into build systemLennart Poettering2005-10-121-4/+29
| | | | | | | | * compat-libdns_sd: warn to syslog in addition to STDERR * compat-howl: make use of compat-libdns_sd warning functions git-svn-id: file:///home/lennart/svn/public/avahi/trunk@750 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-121-16/+3
| | | | | | | | | | | 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 subtype support to compat-libdns_sdLennart Poettering2005-10-111-1/+22
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@723 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add support for service subtypes: avahi_server_add_service_subtype()Lennart Poettering2005-10-111-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when ↵Lennart Poettering2005-10-101-0/+4
| | | | | | avahi-client is built, too) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@710 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename avahi_service_name_snprint() to avahi_service_name_join()Lennart Poettering2005-10-101-5/+5
| | | | | | | | | | | | | | | | | | * add avahi_service_name_split() and make everything use it * change avahi_normalize_name() to work on a supplied buffer instead of malloc'ed memory. * add avahi_normalize_name_strdup() that retains the old behaviour avahi_normalize_name() * same thing for avahi_get_host_name()/avahi_get_host_name_strdup() * Rewrite domain name escaping and validity checking code * Remove superfluous memory allocationsfrom various browsers and do some other major cleanups * add new global macro AVAHI_CHECK_VALIDITY_RETURN_NULL() and modify many things to make use of it * add AVAHI_LABEL_MAX * patch everything to make use of AVAHI_LABEL_MAX and AVAHI_DOMAIN_NAME_MAX * add pretty printing for NS records * add partial pretty printing for SOA records * add many more validity checks to various user API functions git-svn-id: file:///home/lennart/svn/public/avahi/trunk@708 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add more AVAHI_WARN_UNSUPPORTED linesLennart Poettering2005-10-062-5/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@703 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* browse in .local unconditionally in compat-libdns_sdLennart Poettering2005-10-051-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@702 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add trailing dots to various domain names and service types returned by the ↵Lennart Poettering2005-10-041-7/+37
| | | | | | libdns_sd compatibility layer git-svn-id: file:///home/lennart/svn/public/avahi/trunk@700 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* final renameLennart Poettering2005-10-049-0/+3622
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@698 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe