summaryrefslogtreecommitdiffstats
path: root/avahi-common
Commit message (Collapse)AuthorAgeFilesLines
* Remove an invalid optimization in avahi_simple_poll_run(). (Closes #132)Lennart Poettering2007-04-141-10/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1425 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert fix from R1398Trent Lloyd2007-03-241-1/+1
| | | | | | | | * avahi-core/iface.c#avahi_interface_monitor_get_hw_interface - Change assert to idx >= 0, this is the correct fix incase a platform has interface indexes starting from 0 * Fix incorrect AVAHI_PROTO_UNSPEC to AVAHI_IF_UNSPEC git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1399 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-common/address.h#AVAHI_IF_INDEX check should be interface > 0, not ↵Trent Lloyd2007-03-241-1/+1
| | | | | | interface >= 0, otherwise the rest of Avahi gets upset, and when the rest of Avahi gets upset... (Closes #119) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1398 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert previous patch to check nlmsg_pid as it is bogus and breaksTrent Lloyd2006-12-111-3/+3
| | | | | | | | | | | in many cases, notably when using NetworkManager * Replace with new SO_PASSCRED-based check of the sending UID, which seems to work better * Apply for for 2.6.19+ where IFA_RTA / IFLA_RTA is no longer defined * Mild fix to some doxygen docs for avahi-common/address.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix doxygen comments for avahi watch, thanks to tedp (Closes: #77)Trent Lloyd2006-11-191-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1335 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a few more s/DBUS/D-Bus/Lennart Poettering2006-08-312-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1298 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bump D-Bus API revision (forgotten in 0.6.13)Lennart Poettering2006-08-311-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1297 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* 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