summaryrefslogtreecommitdiffstats
path: root/avahi-core
Commit message (Collapse)AuthorAgeFilesLines
* * modified autogen.sh to better support bsdSebastien Estienne2005-10-181-2/+2
| | | | | | | | * added some info for autogen.sh on bsd in the script * cleaned some avahi_log git-svn-id: file:///home/lennart/svn/public/avahi/trunk@810 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * some cleaningSebastien Estienne2005-10-181-93/+85
| | | | | | | * seems partially working on darwin (not fully tested yet) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@809 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * handle cmsg_type IP_RECVTTLSebastien Estienne2005-10-181-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@808 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * added some fixes mentioned by mezcaleroSebastien Estienne2005-10-181-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * some cleaningSebastien Estienne2005-10-181-26/+62
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@806 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more portability workSebastien Estienne2005-10-182-0/+340
| | | | | | | * support for PF_ROUTE git-svn-id: file:///home/lennart/svn/public/avahi/trunk@805 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* rename server.h to internal.hLennart Poettering2005-10-1710-11/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@804 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * move unicast DNS server registration/browsing routines to their own header ↵Lennart Poettering2005-10-1721-205/+163
| | | | | | | | | | | 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
* * autotools magic for PF_ROUTE (not the real thing yet).Sebastien Estienne2005-10-172-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@802 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * do no longer include timeval.h in watch.h by defaultLennart Poettering2005-10-1710-6/+16
| | | | | | | | | * fix some include lines from "" to <> * drop dbus.h from doxygen, users of our libraries shouldn't care * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@801 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add custom user-specific configure flags to bootstrap.shTrent Lloyd2005-10-172-7/+7
| | | | | | | | | | | | * 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
* drop avahi_server_add_txt() prototypes (and friends)Lennart Poettering2005-10-171-39/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@798 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove or unexport avahi_server_add_txt_strlst(), avahi_server_add_txt_va(), ↵Lennart Poettering2005-10-173-62/+11
| | | | | | avahi_server_add_txt(), avahi_server_add_ptr() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@797 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* split entry and entry-group management stuff off to its own file entry.cLennart Poettering2005-10-174-1181/+1218
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@796 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Rename "AvahiAnnouncement" to "AvahiAnnouncer" to match AvahiQuerierLennart Poettering2005-10-176-52/+52
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@794 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* slightly more commentsLennart Poettering2005-10-171-4/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@793 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-4/+2
| | | | | | | | | | | | 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
* * implement record updating through the new flags AVAHI_PUBLISH_UPDATELennart Poettering2005-10-178-80/+421
| | | | | | | | * add new helper function avahi_server_update_service_txt() to ease TXT record updating for services * other minor cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@790 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a bad avahi_free() found by sebestLennart Poettering2005-10-151-3/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@777 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Some minor cleanups in netlink codeLennart Poettering2005-10-152-16/+98
| | | | | | | * add some comments to iface-linux.c, to ease porting for sebest git-svn-id: file:///home/lennart/svn/public/avahi/trunk@762 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more portability work on socket.cSebastien Estienne2005-10-141-33/+128
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@760 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Merge portability patch from Philipp ZabelLennart Poettering2005-10-141-8/+20
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@759 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * portability function for IP_PKTINFOSebastien Estienne2005-10-121-8/+36
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@748 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove some more compiler warningsLennart Poettering2005-10-121-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@746 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove macosx compiler warningLennart Poettering2005-10-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@745 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove macosx compiler warningLennart Poettering2005-10-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@744 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add a (struct sockaddr*) cast to getsocknameLennart Poettering2005-10-121-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@743 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* minor fixes to the conformance testing toolLennart Poettering2005-10-121-2/+17
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@742 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small fix to allow creating server instances without passing a configuration ↵Lennart Poettering2005-10-121-1/+1
| | | | | | structure git-svn-id: file:///home/lennart/svn/public/avahi/trunk@741 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* warn if not netlink replacement is found when buildingLennart Poettering2005-10-121-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@738 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * added a portability fix for IPV6_ADD/DROP_MEMBERSHIPSebastien Estienne2005-10-121-0/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@736 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* minor Makefile.am cleanupLennart Poettering2005-10-121-9/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@735 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * added support in autoconf for multiple architectureSebastien Estienne2005-10-122-2/+11
| | | | | | | * only compile netlink support on linux git-svn-id: file:///home/lennart/svn/public/avahi/trunk@734 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-128-33/+44
| | | | | | | | | | | 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
* * include config.h was missing in rrlist.c and added stdlib.h for NULLSebastien Estienne2005-10-111-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@731 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replaced SOL_IP by IPPROTO_IP as it seems more portableSebastien Estienne2005-10-111-22/+22
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@730 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove uneeded asm/types.h inclusionLennart Poettering2005-10-111-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@729 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* clean up iface.h a bitLennart Poettering2005-10-111-28/+21
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@728 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Split off linux specific parts of iface.[ch] into iface-linux.[ch]. This shouldLennart Poettering2005-10-118-358/+508
| | | | | | | | ease porting to other platforms. Sebest, Lathiat this is for you! It Should simplify your porting work to *BSD/MacOSX/Solaris. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@726 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* limit allowed flags to avahi_server_add_service_subtype()Lennart Poettering2005-10-111-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@719 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename avahi_is_valid_service_type() to avahi_is_valid_service_type_generic()Lennart Poettering2005-10-113-10/+8
| | | | | | | | | * add avahi_is_valid_service_type_strict() which doesn't allow subtypes and other strange things to pass * fix protocol validity checks in server.c * add new API function avahi_get_type_from_subtype() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@716 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add support for service subtypes: avahi_server_add_service_subtype()Lennart Poettering2005-10-113-35/+82
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't send goodbye packets for records that are referenced from two local ↵Lennart Poettering2005-10-101-0/+23
| | | | | | entries git-svn-id: file:///home/lennart/svn/public/avahi/trunk@712 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename avahi_service_name_snprint() to avahi_service_name_join()Lennart Poettering2005-10-1012-268/+226
| | | | | | | | | | | | | | | | | | * 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
* ### BACKPORT ###Lennart Poettering2005-10-031-1/+5
| | | | | | | | Yet another one of those useless-assert bugs: Actually allow browsing for registration domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@691 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* ### BACKPORT ### (only second point)Lennart Poettering2005-10-032-85/+47
| | | | | | | | * Make use of avahi_service_name_snprint() wherever it applies * Fix some potential memory leaks when avahi_server_add() fails git-svn-id: file:///home/lennart/svn/public/avahi/trunk@684 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with ↵Lennart Poettering2005-09-291-7/+8
| | | | | | a host name set git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* handle wide areas responses with ANCOUNT = 0 like NXDOMAINLennart Poettering2005-09-291-17/+21
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@657 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * deal correctly with browsing mDNS services pointing to unicast DNS host namesLennart Poettering2005-09-291-2/+20
| | | | | | | * fix service resolving for both IPv4 and IPv6 where one of the two addresses doesn't exist git-svn-id: file:///home/lennart/svn/public/avahi/trunk@656 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reset the the commit throttling counter for entry groups 5s afer they have ↵Lennart Poettering2005-09-292-0/+18
| | | | | | been established successfully git-svn-id: file:///home/lennart/svn/public/avahi/trunk@651 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe