summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/main.c
Commit message (Collapse)AuthorAgeFilesLines
* * Improve log messagesLennart Poettering2005-08-281-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@465 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * be a little bit more verbose about published IP addressesLennart Poettering2005-08-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@464 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix small typo which breaks build without dbus Lennart Poettering2005-08-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@439 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * really fix compilation without DBUSLennart Poettering2005-08-231-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@430 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix compilation with D-BUS disabled, include flags in DaemonConfig even ↵Trent Lloyd2005-08-231-2/+0
| | | | | | if HAVE_DBUS is false git-svn-id: file:///home/lennart/svn/public/avahi/trunk@429 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move the D-BUS configured but not compiled in warning, and make it work ↵Trent Lloyd2005-08-231-6/+4
| | | | | | | | | right. * Fix a bug in avahi-client where if you have multiple clients, a crash can occur when using AvahiServiceBrowsers. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Yeh, I should like.. test my changes before I commit them, that would be ↵Trent Lloyd2005-08-231-1/+1
| | | | | | a goodd idea. *nod* git-svn-id: file:///home/lennart/svn/public/avahi/trunk@420 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Don't barf on enable-dbus if not compiled with dbus, but print a warning ↵Trent Lloyd2005-08-231-4/+6
| | | | | | if the config file requested to enable it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@419 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support for setting enable-dbus to "warn" in avahi-daemon.confLennart Poettering2005-08-221-4/+28
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@397 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add avahi-client examples to doxygenLennart Poettering2005-08-201-0/+2
| | | | | | | * tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a typo in --helpSebastien Estienne2005-08-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@348 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * cleanup build system a littleLennart Poettering2005-08-151-3/+6
| | | | | | | | * strip remaining glib usage * -fPIC build fix for x86-64 (thanks tvainika) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* gcc 2.95 compatibilityLennart Poettering2005-08-151-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@332 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-151-261/+224
| | | | | | | | * strip glib usage from avahi-daemon * make dbus-watch-glue a static library so that both avahi-client and avahi-daemon can make use of it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@327 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new priority parameter to avahi_glib_poll_new()Lennart Poettering2005-08-141-1/+1
| | | | | | | | | | | | * beef up AvahiPoll a little to contain real timeout events * cleanups in avahi-client * drop glib dependency * port to AvahiPoll system * put some "const"s and "static"s in to make gcc shut up * change all uses of malloc/free to avahi_malloc/avahi_new/avahi_free git-svn-id: file:///home/lennart/svn/public/avahi/trunk@324 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix no network interface bug reported by LathiatLennart Poettering2005-08-141-4/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@316 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add resource limit enforcement to the daemonLennart Poettering2005-08-141-22/+160
| | | | | | | * add ne options --no-rlimits, --no-drop-root, --syslog and --debug git-svn-id: file:///home/lennart/svn/public/avahi/trunk@311 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Rename some server side objects/symbols so that they do not conflict with ↵Lennart Poettering2005-08-131-10/+10
| | | | | | the same things on the client side. i.e. AvahiEntryGroup -> AvahiSEntryGroup git-svn-id: file:///home/lennart/svn/public/avahi/trunk@310 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * strip glib from avahi-coreLennart Poettering2005-08-131-6/+38
| | | | | | | | | | | | | | * implement glib memory allocator * add new documentation file MALLOC * initialize pseudo-RNG from /dev/urandom in avahi-daemon * remove some gcc 4.0 warnings * beef up watch system with real timeouts * move GCC __attribute__ macros into its own header avahi-common/gccmacro.h * make use of GCC's sentinel attribute where it make sense * add malloc() implementations that abort on OOM and enable them by default git-svn-id: file:///home/lennart/svn/public/avahi/trunk@308 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * simply compilation a littleLennart Poettering2005-08-081-4/+3
| | | | | | | | * fix avahi-dnsconfd forking * clean up init script output a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@269 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add proper error codes and patch everything to make use of itLennart Poettering2005-08-051-1/+5
| | | | | | | | * 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
* * add C examplesLennart Poettering2005-08-031-21/+15
| | | | | | | | | | * 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-021-1/+4
| | | | | | | | | | | | | | | | | | 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-021-52/+53
| | | | | | | * 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
* * hide generate init scripts from SVNLennart Poettering2005-07-301-0/+1
| | | | | | | | * DBUS: implement introspection for Server object * fix avahi-daemon build (missing stdio.h inclusion) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@199 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new tool avahi-publish-addressLennart Poettering2005-07-301-1/+10
| | | | | | | | | | | | * 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
* implement DBUS protocolLennart Poettering2005-07-271-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@171 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * cleaned configure.acSebastien Estienne2005-07-061-6/+6
| | | | | | | | * fix Avahi runtime dir * use AM_CFLAGS instead of config.h.in to define paths (interfaces, socket, pid) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@165 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new option --check to daemonsLennart Poettering2005-07-011-4/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@160 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * recreate DNS query in simple protocol on host or domain name changesLennart Poettering2005-06-281-0/+2
| | | | | | | * C++ compatibility git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update todo listLennart Poettering2005-06-241-11/+151
| | | | | | | | | | | | | * 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
* * move socket and pid file to its own directory /var/run/avahiLennart Poettering2005-06-211-5/+64
| | | | | | | * create /var/run/avahi securely git-svn-id: file:///home/lennart/svn/public/avahi/trunk@133 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop priviligesLennart Poettering2005-06-191-0/+72
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@130 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * detect other running mDNS stacksLennart Poettering2005-06-191-6/+28
| | | | | | | | | | | | * 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-181-20/+110
| | | | | | | | * 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-181-30/+316
| | | | | | | | | | 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
* * check for expat in configureLennart Poettering2005-06-171-0/+26
| | | | | | | * some premature command line parsing stuff git-svn-id: file:///home/lennart/svn/public/avahi/trunk@125 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * more dbus build fixesTrent Lloyd2005-06-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@121 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move the definition of DBUS_SERVICE_AVAHI to the right spot, oops. :)Trent Lloyd2005-06-171-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@119 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Split out the dbus stuff in the daemon to a separate file so it can be ↵Trent Lloyd2005-06-171-127/+7
| | | | | | built conditionally git-svn-id: file:///home/lennart/svn/public/avahi/trunk@118 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support for static service definitions for the daemon using XML fragmentsLennart Poettering2005-06-161-3/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@115 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * update avahi_address_parse() to work with AF_UNSPEC address familyLennart Poettering2005-06-161-2/+31
| | | | | | | | * 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-80/+98
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@113 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename daemon to avahi-daemonTrent Lloyd2005-06-051-0/+164
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@101 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe