summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
Commit message (Collapse)AuthorAgeFilesLines
* * add new API function avahi_nss_support()Lennart Poettering2006-01-205-2/+27
| | | | | | | | * add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* increase number of DBUS objects each DBUS client may createLennart Poettering2006-01-011-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1051 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* workaround DBUS limitation which caused an assert() to fail when passing ↵Lennart Poettering2006-01-011-3/+10
| | | | | | string lists with empty strings git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1049 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix introspection file namesLennart Poettering2005-12-315-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1047 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Compatibility with DBUS 0.60Lennart Poettering2005-12-081-2/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1040 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * only create DBUS_SYS_DIR if HAVE_DBUSSebastien Estienne2005-11-251-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1035 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't build static library for dbus-watch-glue and the like, instead compile ↵Lennart Poettering2005-11-241-3/+4
| | | | | | 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-242-1/+14
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1027 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add legal blurb to ssh.serviceLennart Poettering2005-11-171-2/+24
| | | | | | | * 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-1611-7/+350
| | | | | | | * Fix memory leak in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@984 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* update man pagesLennart Poettering2005-11-162-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@981 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove dns-sd.org from default configuration fileLennart Poettering2005-11-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@975 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove dbus-test.py since it is horribly out of dateLennart Poettering2005-11-152-79/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@968 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fixed a problem on FreeBSD where sysctl needs locked memorySebastien Estienne2005-11-131-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@956 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add LGPL blurbs to some more files shipped with avahiLennart Poettering2005-11-1210-33/+237
| | | | | | | | * add a line pointing to the respective man pages in the configuration files * comment most lines in the configuration file, since they're set to the defaults git-svn-id: file:///home/lennart/svn/public/avahi/trunk@948 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix retval sendingLennart Poettering2005-11-091-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@941 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Do not allow adding RRs to entry groups that are already commitedLennart Poettering2005-11-081-2/+2
| | | | | | | * Reword some misleading log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@939 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new configuration file options: "disable-publishing" and ↵Lennart Poettering2005-11-064-5/+20
| | | | | | | | | | | "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-033-8/+34
| | | | | | | | | | | 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
* * fix two #ifdefsLennart Poettering2005-11-011-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@920 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix for undefined XMLCALLSebastien Estienne2005-11-011-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@918 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compiling with --disable-dbusSebastien Estienne2005-11-011-1/+4
| | | | | | | * add a missing include for OpenBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@917 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use a normal fork() instead of a daemon_fork() when forking of chroot() ↵Lennart Poettering2005-11-011-2/+4
| | | | | | helper daemon git-svn-id: file:///home/lennart/svn/public/avahi/trunk@914 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many small fixes for NetBSDSebastien Estienne2005-10-311-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@911 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make use of setproctitle() to change the process title of the daemon ↵Lennart Poettering2005-10-306-25/+183
| | | | | | processes. This is especially useful to distuingish the main daemon and the chroot() helper process. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@908 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add chroot() support on LinuxLennart Poettering2005-10-3012-33/+745
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@907 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more trivial fix, now avahi-daemon and dnsconfd compiles on OpenBSDSebastien Estienne2005-10-282-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@904 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * split dbus-protocol.c in multiple sources filesLennart Poettering2005-10-2715-1706/+2268
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@901 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove a bunch of compiler warningsLennart Poettering2005-10-272-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-daemon: Implement EntryGroup::AddRecord for arbitrary record additionsTrent Lloyd2005-10-272-0/+92
| | | | | | | * 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
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-265-19/+19
| | | | | | | | | | | * 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 support for subtypes for static servicesLennart Poettering2005-10-263-15/+70
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@875 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename all limit defs so that they end with _MAXLennart Poettering2005-10-242-22/+22
| | | | | | | * fix some minor typos git-svn-id: file:///home/lennart/svn/public/avahi/trunk@863 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * use which in autogen.sh instead of type -pSebastien Estienne2005-10-241-1/+3
| | | | | | | | | * add NetBSD support in bootstrap.sh * Netbsd doesn t have RLIMIT_AS -> ifdef * reorder an include in dnsconfd/main.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@862 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-245-29/+75
| | | | | | | | | | | | * 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
* use seteuid() instead of setreuid(), since the latter seems to be broken on ↵Lennart Poettering2005-10-231-4/+8
| | | | | | macosx git-svn-id: file:///home/lennart/svn/public/avahi/trunk@850 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* increase the maximum number of allowed clients handled over DBUSLennart Poettering2005-10-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@840 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * added a missing include in dbus-protocol.cSebastien Estienne2005-10-211-0/+1
| | | | | | | | * added REUSEPORT in socket.c * cosmetic cleaning in iface-pfroute.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@836 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replaced some ioctl by if_nametoindex and if_indextonameSebastien Estienne2005-10-191-13/+7
| | | | | | | * cosmetic fix in socket.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@829 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove some --disable in boostrap.sh for osxSebastien Estienne2005-10-191-0/+2
| | | | | | | | | * added a missing include in dus-protocol.h * remove getinterface in a-d-s replaced by if_indextoname * avahi-discover-standalone is now working on osx git-svn-id: file:///home/lennart/svn/public/avahi/trunk@826 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-191-0/+2
| | | | | | | | | | | | | 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
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-183-49/+42
| | | | | | | | | | | * 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
* * move unicast DNS server registration/browsing routines to their own header ↵Lennart Poettering2005-10-172-0/+4
| | | | | | | | | | | dns-srv-rr.h * remove some unused functions * unexport some functions * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add custom user-specific configure flags to bootstrap.shTrent Lloyd2005-10-172-8/+8
| | | | | | | | | | | | * Add new constant AVAHI_ADDRESS_STR_MAX for use with avahi_address_snprint arr ays * Update all our code to use AVAHI_ADDRESS_STR_MAX * Add avahi_client_add_address to avahi-client * Add avahi_client_add_address test to avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * split client.h into client.h, lookup.h and publish.h just like we did on ↵Lennart Poettering2005-10-172-53/+110
| | | | | | | | | | | | 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
* * avahi-daemon: Only use multicast when looking up things in simple-protocolTrent Lloyd2005-10-151-8/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@781 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Complete AVAHI_LOOKUP_NO_ADDRESS fixJakub Stachowski2005-10-131-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@756 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * handle AVAHI_LOOKUP_NO_ADDRESS over DBUS correctlyLennart Poettering2005-10-131-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@755 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-128-68/+65
| | | | | | | | | | | 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
* wrap avahi_server_add_service_subtype() for DBUSLennart Poettering2005-10-112-6/+51
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@720 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe