summaryrefslogtreecommitdiffstats
path: root/avahi-core
Commit message (Collapse)AuthorAgeFilesLines
...
* * add proper error codes and patch everything to make use of itLennart Poettering2005-08-0514-46/+329
| | | | | | | | * parameter validity checkin in all user visible functions of libavahi-core * two new python tools/examples avahi-resolve-host-name and avahi-resolve-address git-svn-id: file:///home/lennart/svn/public/avahi/trunk@238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * another small fixLennart Poettering2005-08-031-4/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@223 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * correct fixesLennart Poettering2005-08-031-10/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@222 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * another small fixLennart Poettering2005-08-031-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@221 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small fixLennart Poettering2005-08-031-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@220 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* linux 2.4 compatLennart Poettering2005-08-031-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@219 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_ENTRY_GROUP_SLEEPINGLennart Poettering2005-08-032-6/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@218 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add C examplesLennart Poettering2005-08-036-97/+207
| | | | | | | | | | * change doxygen to output stuff in "doxygen/" instead of "doxygen-doc/" * implement avahi_entry_group_{reset,is_empty}() and make everyone use it * move holdoff (SLEEPING) time checking from server to entry group * add preliminary error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@216 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replace guchar and gint by AvahiProtocol, AvahiIfIndex at many places ↵Lennart Poettering2005-08-0212-70/+98
| | | | | | | | | | | | | | | | | | where it make sense * change avahi_add_{service,txt}_strlst() to copy the string list * gcc warning fixes from Ikke * limit number of DBUS connections * limit objects created by a DBUS client * limit number of clients * limit number of entries a client may create * add legal blurb to avahi-discover * remove some obsolete import prototypes from avahi-discover * don't include config.h in dbus.h * add string definitions for DBUS errors git-svn-id: file:///home/lennart/svn/public/avahi/trunk@212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * allow caller to specifiy additional CFLAGS arguments to bootstrap.shLennart Poettering2005-08-0216-126/+136
| | | | | | | * fix some warnings (and some real errors) found when compiling avahi with excessive GCC warnings git-svn-id: file:///home/lennart/svn/public/avahi/trunk@209 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove stdio.h inclusion from core.hLennart Poettering2005-07-301-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@198 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new tool avahi-publish-addressLennart Poettering2005-07-3012-33/+78
| | | | | | | | | | | | * avahi-publish-service: fail after 12 collisions * avahi-daemon: dump record data on SIGUSR1 to syslog * avahi-core: * improve dumping API * shorten response history time to 500ms, infriniging the RFC but fixing ping-pong behaviour on RR registration * remove gcc warning git-svn-id: file:///home/lennart/svn/public/avahi/trunk@195 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* DBUS: implement ServiceBrowserLennart Poettering2005-07-291-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@188 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * DBUS: implement org.freedesktop.Avahi.GetVersionString()Lennart Poettering2005-07-281-1/+2
| | | | | | | | * DBUS: implement org.freedesktop.Avahi.DomainBrowserNew() * DBUS: Some preliminary support for missing DBUS APIs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@184 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop trailing dot in avahi_normalize_name()Lennart Poettering2005-07-286-15/+22
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@180 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * swap order of "type" and "name" arguments of avahi_server_add_service() ↵Lennart Poettering2005-07-275-13/+13
| | | | | | and friends git-svn-id: file:///home/lennart/svn/public/avahi/trunk@179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Change timeval arithmetic functions to use 64bit integers. This fixes some ↵Lennart Poettering2005-07-192-20/+21
| | | | | | problems with long lived queries git-svn-id: file:///home/lennart/svn/public/avahi/trunk@170 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix cache managamentLennart Poettering2005-07-162-12/+24
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@168 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * hide some more filesLennart Poettering2005-07-165-10/+121
| | | | | | | | * make sure not to run a time event twice in the same main loop iteration * add new test timeeventq-test git-svn-id: file:///home/lennart/svn/public/avahi/trunk@167 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Patch by Ikke <ikke@eikke.com> to make distcheck pass.Trent Lloyd2005-07-061-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@164 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * using AC_GNU_SOURCE instead of -D _GNU_SOURCESebastien Estienne2005-07-011-1/+1
| | | | | | | * fixed a typo? in dbus-protocol ("% s" -> " %s") git-svn-id: file:///home/lennart/svn/public/avahi/trunk@159 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fixed Makefile.am not installing headers file.Sebastien Estienne2005-06-301-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@157 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* improve documentationLennart Poettering2005-06-282-37/+236
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@152 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * recreate DNS query in simple protocol on host or domain name changesLennart Poettering2005-06-285-6/+21
| | | | | | | * C++ compatibility git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * cap query interval for continious queries to 1hLennart Poettering2005-06-281-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@150 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * doxygen updatesLennart Poettering2005-06-253-8/+11
| | | | | | | * reply to probe queries immediately git-svn-id: file:///home/lennart/svn/public/avahi/trunk@147 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* s/avahi_server_add_text/avahi_server_add_txt/gLennart Poettering2005-06-242-15/+15
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@146 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update default TTL generation to match RFCLennart Poettering2005-06-243-24/+33
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@145 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement new source address check mechanismsLennart Poettering2005-06-2410-141/+221
| | | | | | | | | | * introduce new types AvahiIfIndex and AvahiProtocol to abstract underlying OS structures a bit * document string list, address and other stuff * implement qclass = ANY queries * don't make use of UTF8 collation as RFC mandates git-svn-id: file:///home/lennart/svn/public/avahi/trunk@144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update todo listLennart Poettering2005-06-247-11/+368
| | | | | | | | | | | | | * add avvahi-dnsconfd * implement AvahiDNSServerBrowser * Update special browse/register RRs to match current RFC * add support to avahi-daemon to publish name server information * add support to avahi-daemon to publish /etc/resolv.conf DNS server information * add new simple protocol command: "BROWSE-DNS-SERVERS" * cleanup final configure message git-svn-id: file:///home/lennart/svn/public/avahi/trunk@143 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove stale UNIX sockets before creating new onesLennart Poettering2005-06-211-1/+6
| | | | | | | * make sure to flush outbound records after conflict detection git-svn-id: file:///home/lennart/svn/public/avahi/trunk@141 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Update configure.ac to check for the availabilty of more functionsLennart Poettering2005-06-215-35/+104
| | | | | | | | | | | * really return sensible error codes from avahi_server_add_xx() * make all users of avahi_server_add_xxx() check for the validity * check for local RR conflicts * only suppress local queries by remote queries if they have an empty known answer suppresion list * fix FIONREAD call git-svn-id: file:///home/lennart/svn/public/avahi/trunk@136 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * detect other running mDNS stacksLennart Poettering2005-06-192-23/+50
| | | | | | | | | | | | * replace more g_message()/g_warning() calls with avahi_log_xxx() * fix configuration file paths * only load configuration file when running daemon * require uid == 0 * fix static service reloading * add new command line option for reloading -r git-svn-id: file:///home/lennart/svn/public/avahi/trunk@129 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix memory handling when reading configuration filesLennart Poettering2005-06-182-7/+2
| | | | | | | | * implement signal handling in daemon * correctly increase reference counter for main contexts when running g_main_context_default() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@128 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename the configuration variables register_xxx and announce_xxx to ↵Lennart Poettering2005-06-184-23/+23
| | | | | | | | | | publish_xxx * implement command line parsing and configuration file parsing * implement daemonizing support (partially) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@127 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make sure to free some more time eventsLennart Poettering2005-06-172-6/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * free timeout event when destroying service resolverLennart Poettering2005-06-171-3/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@123 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update avahi_address_parse() to work with AF_UNSPEC address familyLennart Poettering2005-06-162-4/+23
| | | | | | | | * complete simple protocol * defer scanning already cached RRs when browsing into its own main loop job git-svn-id: file:///home/lennart/svn/public/avahi/trunk@114 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add initial implmenentation of a "simple protocol" for usage with nss-mdnsLennart Poettering2005-06-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@113 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add logging API and make all code make use of itLennart Poettering2005-06-1120-167/+339
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@112 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * build libavahi-common statically for debugging purposesLennart Poettering2005-06-102-7/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@108 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Patch by ross burton to allow make dist to pass (Closes: #3480)Trent Lloyd2005-06-071-1/+3
| | | | | | | | * Move to doxygen in the default build, make --enable-doxygen=no to bypass, this also makes distcheck pass git-svn-id: file:///home/lennart/svn/public/avahi/trunk@106 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* move dns.[ch] back to avahi-core/Lennart Poettering2005-06-064-4/+923
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@104 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Split out a fair bit of avahi-core into avahi-common for use by the client ↵Trent Lloyd2005-06-0420-2961/+9
| | | | | | library git-svn-id: file:///home/lennart/svn/public/avahi/trunk@98 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix avahi when connected to the same network via two NICsLennart Poettering2005-06-032-31/+36
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@97 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * use FIONREAD to minimize allocated buffer size when reading incoming packetsLennart Poettering2005-06-037-12/+44
| | | | | | | * enforce a cache size limit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@96 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make some functions return a gint, for signaling errors to the userLennart Poettering2005-06-032-30/+88
| | | | | | | * some API documentation updates git-svn-id: file:///home/lennart/svn/public/avahi/trunk@95 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * improve avahi-discover GUILennart Poettering2005-06-033-4/+18
| | | | | | | * if a new interface becomes available, reissue all queries git-svn-id: file:///home/lennart/svn/public/avahi/trunk@94 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support for _workstation._tcpLennart Poettering2005-06-039-9/+95
| | | | | | | * really fix #3455 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@93 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement reflection (including legacy unicast reflection)Lennart Poettering2005-06-0314-54/+604
| | | | | | | * implement a history in the probe scheduler git-svn-id: file:///home/lennart/svn/public/avahi/trunk@92 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe