summaryrefslogtreecommitdiffstats
path: root/avahi-core
Commit message (Collapse)AuthorAgeFilesLines
* * small fix in the #includesSebastien Estienne2005-10-311-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@909 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many trivial fix to make avahi compile on OpenBSDSebastien Estienne2005-10-2811-19/+44
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@903 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove a bunch of compiler warningsLennart Poettering2005-10-273-8/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * format unknown DNS records according to RFC3597Lennart Poettering2005-10-275-41/+76
| | | | | | | | * 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
* Add validity checking to TXT data parsing, this fixes a remotely exploitable ↵Lennart Poettering2005-10-271-1/+2
| | | | | | vulnerability. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@888 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add dns-srv.hh to distributionLennart Poettering2005-10-261-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@883 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-2620-59/+61
| | | | | | | | | | | * 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-262-2/+2
| | | | 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-2618-65/+79
| | | | | | | | | | 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-2513-44/+357
| | | | | | | | | * 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 core API functions avahi_rdata_serialize() and avahi_rdata_parse()Lennart Poettering2005-10-254-86/+177
| | | | | | | | * add new definition AVAHI_DNS_RDATA_MAX * update dns-test.c and add examples for avahi_rdata_{serialize,parse}() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@867 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add a compiler warning that avahi_send_dns_packet_ipv4() still misses ↵Lennart Poettering2005-10-251-3/+4
| | | | | | support for setting the outgoing interface on everythng but Linux git-svn-id: file:///home/lennart/svn/public/avahi/trunk@866 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * small hack for netbsdSebastien Estienne2005-10-251-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@864 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename all limit defs so that they end with _MAXLennart Poettering2005-10-2413-34/+34
| | | | | | | * fix some minor typos git-svn-id: file:///home/lennart/svn/public/avahi/trunk@863 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix avahi_interface_monitor_sync() for the linux NETLINK implementationLennart Poettering2005-10-242-32/+24
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@860 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * reorder some things during server initializationLennart Poettering2005-10-241-23/+19
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@859 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * change setsocktopt for IP_TTL to use an int instead of an uin8_t for ↵Lennart Poettering2005-10-241-3/+3
| | | | | | compatibility with non-linux systems git-svn-id: file:///home/lennart/svn/public/avahi/trunk@858 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* cleanup socket.c a littleLennart Poettering2005-10-241-111/+91
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@857 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-241-1/+1
| | | | | | | | | | | | * 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
* unrbeak IPv6 support: change ttl value size back to 32 bit for ipv6 Lennart Poettering2005-10-241-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@853 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix IP_TTL/IP_RECVTTL on linuxLennart Poettering2005-10-241-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@852 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* many cleanups in preperation of the netbsd portLennart Poettering2005-10-241-69/+83
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@851 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * correctly handle empty domain names (i.e. the root zone)Lennart Poettering2005-10-238-233/+250
| | | | | | | | | | | | | | * 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
* * added a missing include in dbus-protocol.cSebastien Estienne2005-10-212-3/+8
| | | | | | | | * 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
* * removed bogus IP_RECVIFSebastien Estienne2005-10-211-24/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@835 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove htonl() that shouldn't be thereLennart Poettering2005-10-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@833 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* handle architectures that miss "struct ip_mreq" betterLennart Poettering2005-10-203-96/+51
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@832 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * preliminary ipv6 support for BSDSebastien Estienne2005-10-202-1/+56
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@831 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * bug fix in run_versionedSebastien Estienne2005-10-201-4/+4
| | | | | | | | * bug fix in socket.c and cosmectic change * use uname instead of MACHTYPE in bootstrap.sh git-svn-id: file:///home/lennart/svn/public/avahi/trunk@830 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replaced some ioctl by if_nametoindex and if_indextonameSebastien Estienne2005-10-191-2/+2
| | | | | | | * cosmetic fix in socket.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@829 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-192-1/+3
| | | | | | | | | | | | | 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
* * fix a bug Sebastien Estienne2005-10-182-3/+2
| | | | | | | * replace m->osdep.pfroute->poll_api by m->server->poll_api git-svn-id: file:///home/lennart/svn/public/avahi/trunk@818 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* in order to reduce our code/API size, drop support for reverse IPv6 name ↵Lennart Poettering2005-10-182-13/+2
| | | | | | lookups ending in .in-addr.int. Use in-addr.arpa exclusively from now on. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@817 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* in order to reduce our API size, dropping ↵Lennart Poettering2005-10-182-63/+2
| | | | | | avahi_entry_group_add_service_va(), avahi_entry_group_update_service_txt_va(), avahi_server_add_service_va(, avahi_server_update_service_txt_va() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@815 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-1811-28/+103
| | | | | | | | | | | * 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
* * 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