summaryrefslogtreecommitdiffstats
path: root/avahi-compat-howl
Commit message (Collapse)AuthorAgeFilesLines
* Don't use -export-dynamic as a linker flagSjoerd Simons2008-06-241-1/+1
|
* add .gitignore filesLennart Poettering2008-06-182-0/+14
|
* fix a compilier warning in the HOWL headers. (Patch from MarkDoliner; closes ↵Lennart Poettering2007-05-081-1/+1
| | | | | | #134) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1461 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix logic of AVAHI_SERVER_REGISTERING state handling. Many clients assumed thatLennart Poettering2006-08-221-1/+1
| | | | | | | | | | this state would follow only on a AVAHI_SERVER_COLLISION state. However, this is not true, hence we need to handle this state transition, too. Mostly the same as we already handle AVAHI_SERVER_COLLISION. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1258 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix compilation with -pthreadLennart Poettering2005-11-251-4/+4
| | | | 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-202-13/+9
| | | | | | | * Same for libdns_sd.so git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1018 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * build a libhowl.so which is essentially empty by pulls in ↵Lennart Poettering2005-11-191-1/+5
| | | | | | | | | libavahi-compat-howl.so * distributors should use this to get full ABI compatibility with upstream HOWL git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1015 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-081-1/+2
| | | | | | | | | | | * 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-1/+0
| | | | | | | * 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-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many small fixes for NetBSDSebastien Estienne2005-10-311-4/+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-272-3/+18
| | | | | | 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-266-386/+402
| | | | | | | | | | | * 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
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-241-0/+6
| | | | | | | | | | | | * 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-193-1/+25
| | | | | | | | | | | | | 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-0/+1
| | | | | | 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
* * add a seperate mutex for salt_lock()/salt_unlock() so that it doesn't ↵Lennart Poettering2005-10-161-3/+5
| | | | | | interfere with our internal locking git-svn-id: file:///home/lennart/svn/public/avahi/trunk@788 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compat-howl to work with nautilusLennart Poettering2005-10-163-23/+46
| | | | | | | | | * 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
* compat-howl:Lennart Poettering2005-10-153-79/+360
| | | | | | | | | | | | | | | | * handle client events * implement sw_discovery_init_with_flags() * implement sw_discovery_publish() * small cleanups compat-howl is now as complete as compat-libdns_sd and thus omplete enough for most programs. The missing functions will be implemented on demand only. compat-libdns_sd: * set keywords attribute for funcs.txt git-svn-id: file:///home/lennart/svn/public/avahi/trunk@785 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update funcs.txtLennart Poettering2005-10-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@783 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement sw_discovery_browse_domains()Lennart Poettering2005-10-155-5/+170
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@782 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Include avahi-compat-howl/samples/Makefile.amTrent Lloyd2005-10-151-0/+49
| | | | | | | * 'Fix' avahi-howl-compat.pc to export the howl compatible version rather than avahi's version git-svn-id: file:///home/lennart/svn/public/avahi/trunk@778 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * More distcheck loving.Trent Lloyd2005-10-151-25/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@776 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Warn the user about a failed service resolvingLennart Poettering2005-10-151-1/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@772 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Properly install HOWL headersLennart Poettering2005-10-151-24/+30
| | | | | | | * Minor makefile cleanup git-svn-id: file:///home/lennart/svn/public/avahi/trunk@771 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reflect changes made in HOWL compat layer version of warn.[hc]Lennart Poettering2005-10-151-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@770 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix oid calculationLennart Poettering2005-10-153-11/+109
| | | | | | | | | * really create a recursive mutex * implement sw_discovery_resolve() * initialize value data with NUL bytes in sw_text_record_iterator_next(), since HOWL seems to assume it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@768 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement compat-howl coreLennart Poettering2005-10-1510-134/+1209
| | | | | | | * add HOWL examples to or build git-svn-id: file:///home/lennart/svn/public/avahi/trunk@765 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement HOWL TXT functionsLennart Poettering2005-10-135-185/+434
| | | | | | | * return SW_E_NO_IMPL instead of SW_DISCOVERY_E_NOT_SUPPORTED in unsupported HOWL functions git-svn-id: file:///home/lennart/svn/public/avahi/trunk@754 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement address related functionsLennart Poettering2005-10-136-187/+406
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@753 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add stubs for all exported functionsLennart Poettering2005-10-132-2/+1288
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@751 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * integrate avahi-compat-howl into build systemLennart Poettering2005-10-123-0/+139
| | | | | | | | * 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
* add howl headersLennart Poettering2005-10-1220-0/+3336
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@747 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe