summaryrefslogtreecommitdiffstats
path: root/avahi-common
Commit message (Collapse)AuthorAgeFilesLines
* add new error code AVAHI_ERR_NO_CHANGELennart Poettering2006-08-234-3/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1266 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* documentation updateLennart Poettering2006-08-221-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1257 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* a few documentation updatesLennart Poettering2006-08-221-30/+25
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1254 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* follow Bonjour's hostname number incrementing algorithm for handling ↵Lennart Poettering2006-08-212-18/+67
| | | | | | conflicts. On collision the name "foobar" will now become "foobar-2" and not "foobar2". (closes #40) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1250 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a few typos in doxygen commentsLennart Poettering2006-08-062-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1244 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* disable time events after they have been dispatchedLennart Poettering2006-07-221-7/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1239 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* call _stop() instead of _quit() in _free(), to avoid hitting an assert()Lennart Poettering2006-05-051-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add an utf8 check when unescaping domains - essentially this means that all ↵Lennart Poettering2006-04-241-0/+4
| | | | | | domain related functions will now consider strings with invalid utf8 as invalid (see #21) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1202 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add utf8 validity check API (based on the glib's implementation and hence ↵Lennart Poettering2006-04-244-4/+201
| | | | | | mostly identical to DBUS's implementation) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1201 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API function avahi_is_valid_fqdn()Lennart Poettering2006-03-024-0/+50
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1168 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reverse 1144, since it broke more things than it fixedLennart Poettering2006-02-203-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make anonymous structs appear properly in doxygenLennart Poettering2006-02-173-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error code AVAHI_ERR_IS_EMPTY and use it in avahi_entry_group_commit()Lennart Poettering2006-01-304-6/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Update doxygen docs a little to make clearer when to use what API when ↵Lennart Poettering2006-01-271-3/+10
| | | | | | modifying an existing service git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1113 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix doxygen comment for AvahiPollLennart Poettering2006-01-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1108 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* pthread build fixLennart Poettering2006-01-221-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1100 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add doxygen \since tagsLennart Poettering2006-01-201-9/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1093 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* install thread-watch.hLennart Poettering2006-01-171-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1086 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doxygen fixLennart Poettering2006-01-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1079 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new AvahiThreadedPoll event loop implementation which runs a main loop ↵Lennart Poettering2006-01-144-7/+310
| | | | | | in a helper thread git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1074 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* improve strlst testLennart Poettering2006-01-041-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1054 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* replace avahi_new() with a version that checks for an integer overflow ↵Lennart Poettering2006-01-041-2/+16
| | | | | | (suggested by Martin Pitt) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1053 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* when serializing string lists for DNS TXT records, ignore empty strings ↵Lennart Poettering2006-01-011-49/+46
| | | | | | unconditionally git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1050 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix compilation with -pthreadLennart Poettering2005-11-251-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1034 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't build static library for dbus-watch-glue and the like, instead compile ↵Lennart Poettering2005-11-241-14/+0
| | | | | | the sources directly where it is needed git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1028 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add DBUS API versioningLennart Poettering2005-11-241-0/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1027 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Map DBUS specific errors to Avahi counterpartsLennart Poettering2005-11-244-3/+37
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1026 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add pthread cflags/libs to avahi-common buildLennart Poettering2005-11-181-4/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1002 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add legal blurb to ssh.serviceLennart Poettering2005-11-171-2/+47
| | | | | | | * improve doxygen documentation git-svn-id: file:///home/lennart/svn/public/avahi/trunk@995 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement client API for arbitrary record browsingLennart Poettering2005-11-161-1/+1
| | | | | | | * Fix memory leak in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@984 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * when calculating a random jitter time for time events, use the same jitter inLennart Poettering2005-11-161-3/+27
| | | | | | | | | | | | | every 10s timespans. This should increase the probability that multiple responses can be merged into a single packet, and thus decreases network traffic. * add _workstation._tcp services in RUNNING state, not earlier * an important bugfix which fixes the entry group state automatons * remove obsolete debug messages * minor other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@980 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add record browser DBUS interface namesLennart Poettering2005-11-151-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@977 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTEDLennart Poettering2005-11-064-4/+4
| | | | | | | * 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-6/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new configuration file options: "disable-publishing" and ↵Lennart Poettering2005-11-065-6/+19
| | | | | | | | | | | "disable-user-service-publishing" * add two new errors: NOT_PERMITTED and NOT_SUPPORTED * add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA * return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * allow the user to specify a static browse domain list in the configuration ↵Lennart Poettering2005-11-032-4/+8
| | | | | | | | | | | file * remove "drop-root" configuration variable * move the configuration variable "add-service-cookie" from [server] to [publish] * reorder AVAHI_DOMAIN_BROWSER_xx defs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@926 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many trivial fix to make avahi compile on OpenBSDSebastien Estienne2005-10-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@903 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * format unknown DNS records according to RFC3597Lennart Poettering2005-10-275-14/+53
| | | | | | | | * add some DNS class and type validity checks to avahi_server_add() * move DNS type and class definitions to avahi-common/defs.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@896 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-daemon: Implement EntryGroup::AddRecord for arbitrary record additionsTrent Lloyd2005-10-274-2/+8
| | | | | | | * 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
* Add validity checking to TXT data parsing, this fixes a remotely exploitable ↵Lennart Poettering2005-10-273-14/+30
| | | | | | 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-268-12/+24
| | | | | | | | | | | * 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
* reorder arguments of avahi_reverse_lookup_name() to make them more naturalLennart Poettering2005-10-263-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@874 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove lots of DOXYGEN_SHOULD_SKIP_THIS from the header files, use doxygen ↵Lennart Poettering2005-10-2615-61/+25
| | | | | | | | | | 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-255-149/+8
| | | | | | | | | * 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-244-6/+9
| | | | | | | | | | | | * 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
* * gcc 2.95 compatibilityLennart Poettering2005-10-233-4/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@849 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * correctly handle empty domain names (i.e. the root zone)Lennart Poettering2005-10-234-60/+70
| | | | | | | | | | | | | | * fix memory initialization error in wide-area.c * make server_add_xx() functions atomic, i.e. clean up half-created entries on failure * add some more validity checking macros and change everything to make use of them * clean up avahi_server_add_address() * change some functions from domain.[ch] to work on a stack buffer instead of malloced memory * update avahi-test.c a little * replace avahi_reverse_lookup_name_{ipv4,ipv6}() with a single function avahi_reverse_lookup_name() * remove avahi_server_add_dns_server_name() from public API git-svn-id: file:///home/lennart/svn/public/avahi/trunk@845 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix size of escaped_name in avahi_service_name_join()Lennart Poettering2005-10-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@834 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* actually drop avahi_strlcpy() from domain.hLennart Poettering2005-10-191-3/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@821 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-193-12/+14
| | | | | | | | | | | | | 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