summaryrefslogtreecommitdiffstats
path: root/avahi-common
Commit message (Collapse)AuthorAgeFilesLines
...
* * rename avahi_is_valid_service_type() to avahi_is_valid_service_type_generic()Lennart Poettering2005-10-113-7/+133
| | | | | | | | | * 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
* remove some superfluous commas from enum definitionsLennart Poettering2005-10-112-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@715 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add support for service subtypes: avahi_server_add_service_subtype()Lennart Poettering2005-10-114-36/+40
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * rename avahi_service_name_snprint() to avahi_service_name_join()Lennart Poettering2005-10-103-210/+362
| | | | | | | | | | | | | | | | | | * 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
* define AVAHI_DOMAIN_NAME_MAXLennart Poettering2005-10-041-0/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@699 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add avahi_service_name_snprint()Lennart Poettering2005-10-033-0/+84
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@683 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* ### BACKPORT ###Lennart Poettering2005-10-031-0/+1
| | | | | | | * Fix a hard to trigger bug where events are dispatched that didn't happen in the first place. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@682 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* ### BACKPORT ###Lennart Poettering2005-10-031-1/+1
| | | | | | | * small docs typo fix git-svn-id: file:///home/lennart/svn/public/avahi/trunk@679 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Split up avahi_simple_poll_iterate() into ↵Lennart Poettering2005-10-023-86/+194
| | | | | | | | | | | | | | avahi_simple_poll_prepare(),avahi_simple_poll_run() and avahi_simple_poll_dispatch() * Export wakeup function() * add a userdata argument to poll() function * add avahi_simple_poll_loop() * minimize number of system calls * threading compat improvements * request pollfd rebuild in avahi_simple_poll_new() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@671 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* drop superfluous version infoLennart Poettering2005-10-021-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@670 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small doc fixLennart Poettering2005-10-011-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@668 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with ↵Lennart Poettering2005-09-291-5/+6
| | | | | | 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-0/+11
| | | | | | | | | | | | | | | | | | | * 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
* * rename some DBUS errrorsLennart Poettering2005-09-264-7/+11
| | | | | | | * add new VERSION_MISMATCH error git-svn-id: file:///home/lennart/svn/public/avahi/trunk@630 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* s/AVAHI_LOOKUP_CALLBACK/AVAHI_LOOKUP_RESULT/gLennart Poettering2005-09-251-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@622 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* refer to avahi_free() instead of g_free() in docsLennart Poettering2005-09-252-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@618 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* brown paperbag fixLennart Poettering2005-09-251-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@617 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* documentation updatesLennart Poettering2005-09-254-8/+37
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@615 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * split off lookup.h and publish.h from core.hLennart Poettering2005-09-251-4/+27
| | | | | | | | | | | | | * implement wide-area DNS-SD * if multiple clients query the same records, only start the query packet sequence once * implement recursive CNAME queries * add support for resolving services without TXT or A/AAAA records * enlarge resolving timeouts to 5s * implement new browse/resolving events CACHE_EXHAUSTED/ALL_FOR_NOW * add support for resolving services without name. (i.e. for normal SRV records) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@608 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new macros AVAHI_IF_VALID, AVAHI_PROTO_VALIDLennart Poettering2005-09-251-2/+9
| | | | | | | * make AvahiProtocol an int git-svn-id: file:///home/lennart/svn/public/avahi/trunk@607 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new linked list implementation ala GSListLennart Poettering2005-09-253-6/+108
| | | | | | | * install llist.h and rlist.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@606 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new function avahi_domain_ends_with()Lennart Poettering2005-09-252-0/+21
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@605 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add a bunch of new errors codesLennart Poettering2005-09-254-2/+26
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@604 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix minor typo in documentation commentsTrent Lloyd2005-09-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@600 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Make AVAHI_PROTO_xxx well defined constantsLennart Poettering2005-09-162-17/+55
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@595 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add some mo0re wakeupsLennart Poettering2005-09-141-3/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@579 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add wakeup stuff to AvahiSimplePoll to facilitate integration in threaded ↵Lennart Poettering2005-09-131-3/+69
| | | | | | environments git-svn-id: file:///home/lennart/svn/public/avahi/trunk@578 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix for threading simple pollsLennart Poettering2005-09-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@577 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix bad memory accessLennart Poettering2005-09-101-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@560 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API function avahi_string_list_get_service_cookie()Lennart Poettering2005-09-102-8/+35
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@557 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add magic identification cookies to service TXT records automaticallyLennart Poettering2005-09-101-0/+9
| | | | | | | | | * add an API to query the local service cookie * add a DBUS interface to query the local service cookie * wrap that in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* drp const from text accessor functons in strlst.cLennart Poettering2005-09-092-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@551 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add some data access api to string list, and use it in ServiceResolverJames Willcox2005-09-092-0/+24
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@550 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* move definition of libtool version info data to configure.acLennart Poettering2005-09-071-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doc updateLennart Poettering2005-08-301-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@498 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Yeh, maybe we should use the copied value instead of the old one...Trent Lloyd2005-08-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@474 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * We should va_end the va_copy'd value tooTrent Lloyd2005-08-281-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@473 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-common/malloc.c: va_copy the va_list before using it as we might ↵Trent Lloyd2005-08-281-0/+3
| | | | | | want it again. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@472 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix string list serializationLennart Poettering2005-08-252-9/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@447 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix behaviour of empty TXT listsLennart Poettering2005-08-252-23/+45
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@445 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement asynchronous address resolverLennart Poettering2005-08-231-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@425 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bump .so current and ageLennart Poettering2005-08-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@421 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add four new AvahiStringList functions (this is four you, Sebastien!)Lennart Poettering2005-08-223-9/+143
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@395 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new functions:Lennart Poettering2005-08-214-3/+64
| | | | | | | | * avahi_string_list_add_printf * avahi_string_list_add_vprintf git-svn-id: file:///home/lennart/svn/public/avahi/trunk@383 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Disable debug output of avahi-clientLennart Poettering2005-08-201-5/+38
| | | | | | | | | * implement service resolving API in avahi-client * fix some memory corruption bugs in dbus-watch-glue * add avahi-client examples git-svn-id: file:///home/lennart/svn/public/avahi/trunk@363 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * doxygen updateLennart Poettering2005-08-202-15/+108
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@359 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many improvements to avahi-client (especially error handling)Lennart Poettering2005-08-204-40/+67
| | | | | | | * Document AVahi error handling a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add support for specifying the protocol in service definition filesTrent Lloyd2005-08-191-3/+3
| | | | | | | | * 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 error translationLennart Poettering2005-08-191-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@356 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* rename libdbus-watch-glue to libdbus-commonLennart Poettering2005-08-191-16/+13
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@355 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe