summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/static-services.c
Commit message (Collapse)AuthorAgeFilesLines
* macosx portability: use GLOB_xxx macros only if they are availableLennart Poettering2007-02-051-8/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1387 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* regenerate wild carded service names when the host name changedLennart Poettering2006-08-221-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1256 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* convert an error log into an info logSebastien Estienne2006-03-241-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1182 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* proposed patch to close Ticket #20Sebastien Estienne2006-03-171-2/+15
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove yet another osx compiler warningLennart Poettering2006-02-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1162 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
* * add chroot() support on LinuxLennart Poettering2005-10-301-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@907 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-261-2/+2
| | | | | | | | | | | * 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-261-14/+66
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@875 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-181-1/+1
| | | | | | | | | | | * 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
* Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with ↵Lennart Poettering2005-09-291-1/+1
| | | | | | a host name set git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make all flags parameters UINT32 when marshalling for DBUSLennart Poettering2005-09-291-1/+2
| | | | | | | | | | | | | | | | | | | * rename AvahiEntryFlags to AvahiPublishFlags * add flags parameter to add_service() and friends * validity checking of flags, interface and protocol parameters of add_service() and friends * make AVAHI_VALID_FLAGS a global macro * add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs * add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records * minor cleanups Yes, this will break the mono bindings. More breakages to come. NO_REVERSE and NO_COOKIE needs testing. Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later". git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * adapt to recent avahi-core API changesLennart Poettering2005-09-251-0/+1
| | | | | | | * make use of wide area DNS git-svn-id: file:///home/lennart/svn/public/avahi/trunk@609 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
* Make protocol an attribute instead of an element. (Sorry Lathiat, but you ↵Lennart Poettering2005-08-221-34/+28
| | | | | | broke the DTD, and I just fixed this without forcing a specific order of elements.) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@401 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a bug with bad collision handling in static services (Thanks Sebest!)Lennart Poettering2005-08-211-7/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@378 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
* brown paper bug typoLennart Poettering2005-08-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small fixesLennart Poettering2005-08-201-7/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@360 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add support for specifying the protocol in service definition filesTrent Lloyd2005-08-191-1/+31
| | | | | | | | * Add support for proper URL encoding of IPv6 addresses to avahi-bookmarks * Cast some calls in dbus-watch-glue to get rid of warnings git-svn-id: file:///home/lennart/svn/public/avahi/trunk@357 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix service reloading on SIGHUP (thanks, Sebastien!)Lennart Poettering2005-08-161-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@349 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a bad memory access bug in avahi_strndup()Lennart Poettering2005-08-151-2/+1
| | | | | | | | * some small optimizations to call gettimeofday() less often * fix dbus-watch-glue to call dbus_connection_dispatch() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@333 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-151-82/+82
| | | | | | | | * 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
* * allow SRV records with port == 0 (for flagship naming)Lennart Poettering2005-08-141-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@312 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Rename some server side objects/symbols so that they do not conflict with ↵Lennart Poettering2005-08-131-7/+7
| | | | | | 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
* * Move avahi-core/llist.h to avahi-common/llist.h, not installed.Trent Lloyd2005-08-081-1/+1
| | | | | | | | | | * avahi-client/ - Add copyright notice - Remove glib, various cleanups - Remove alternative host/service functions (available in avahi-common) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@275 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add proper error codes and patch everything to make use of itLennart Poettering2005-08-051-4/+3
| | | | | | | | * 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-7/+9
| | | | | | | | | | * 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/+1
| | | | | | | | | | | | | | | | | | 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-0/+1
| | | | | | | * 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
* DBUS: finish introspection supportLennart Poettering2005-07-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@203 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * swap order of "type" and "name" arguments of avahi_server_add_service() ↵Lennart Poettering2005-07-271-1/+1
| | | | | | and friends git-svn-id: file:///home/lennart/svn/public/avahi/trunk@179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Improve error message when /etc/avahi/services is not availableLennart Poettering2005-06-211-1/+1
| | | | | | | * improve INSTALL file git-svn-id: file:///home/lennart/svn/public/avahi/trunk@138 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * detect other running mDNS stacksLennart Poettering2005-06-191-21/+24
| | | | | | | | | | | | * 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-1/+1
| | | | | | | | * 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
* * add support for static service definitions for the daemon using XML fragmentsLennart Poettering2005-06-161-0/+618
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@115 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe