summaryrefslogtreecommitdiffstats
path: root/avahi-common
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Improve and reorganise DBus error handling, see avahi-common/dbus.hTrent Lloyd2005-08-193-1/+97
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@354 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * start implementing error handling in avahi-clientLennart Poettering2005-08-165-8/+28
| | | | | | | | | * doxygen document timeval.h * add two more AVAHI_GCC_SENTINELs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@350 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add error.h to installed filesLennart Poettering2005-08-161-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@346 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* really install all header filesLennart Poettering2005-08-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@345 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * cleanup build system a littleLennart Poettering2005-08-151-3/+8
| | | | | | | | * 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
* * Add pkg-config files for avahi-glib/avahi-clientLennart Poettering2005-08-151-13/+7
| | | | | | | | * Generate .pc files with sed * use libtool for building libdbus-watch-glue git-svn-id: file:///home/lennart/svn/public/avahi/trunk@335 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a bad memory access bug in avahi_strndup()Lennart Poettering2005-08-153-29/+118
| | | | | | | | * 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
* gcc 2.95 compatibilityLennart Poettering2005-08-152-1/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@332 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-155-7/+287
| | | | | | | | * 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-143-70/+180
| | | | | | | | | | | | * 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
* * Add a free function for AvahiEntryGroup in C apiTrent Lloyd2005-08-143-4/+9
| | | | | | | * Modify the browser free functions to return/set errors. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@320 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add service browser support to C client APITrent Lloyd2005-08-141-1/+2
| | | | | | | * Small fix to avahi-common to get make distcheck further git-svn-id: file:///home/lennart/svn/public/avahi/trunk@317 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * doxygen documentation updatesLennart Poettering2005-08-146-19/+103
| | | | | | | | * make AvahiPoll objects const * make poll() functions pluggable in AvahiSimplePoll git-svn-id: file:///home/lennart/svn/public/avahi/trunk@314 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add missing error codes to some places where they belongLennart Poettering2005-08-132-1/+12
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@309 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * strip glib from avahi-coreLennart Poettering2005-08-1314-73/+256
| | | | | | | | | | | | | | * 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
* * implement hashmapLennart Poettering2005-08-125-69/+25
| | | | | | | * de-glib-ify rr.[ch], rrlist.[ch] git-svn-id: file:///home/lennart/svn/public/avahi/trunk@306 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement new main loop abstraction layerLennart Poettering2005-08-128-7/+717
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@305 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small typo fixLennart Poettering2005-08-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@302 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Documentation updatesLennart Poettering2005-08-129-17/+65
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@301 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Split avahi-common/util.h into Lennart Poettering2005-08-127-251/+11
| | | | | | | | | avahi-common/domain.h avahi-core/fdutil.h avahi-core/timeval.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@299 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop glib from avahi-commonLennart Poettering2005-08-1116-316/+665
| | | | | | | * add new module with avahi_malloc() and friends git-svn-id: file:///home/lennart/svn/public/avahi/trunk@298 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Work on avahi-clientTrent Lloyd2005-08-112-2/+6
| | | | | | | | | | | - Support for connecting and registering services works - Needs some more error handling (DBus Errors from the daemon) - Needs browser support yet * Fix avahi-utils to pass make dist-check * Add new error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@288 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* move rr.[ch] back to avahi-core/Lennart Poettering2005-08-093-811/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@286 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Actually add avahi-common/error.[ch]Trent Lloyd2005-08-092-0/+110
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@285 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Split out error code handling to avahi-common/error.[ch]Trent Lloyd2005-08-092-11/+12
| | | | | | | | * Redefine states/evvents in avahi-common/defs.h not to have -1 values - Update avahi-utils/avahi/__init__.py to reflect this git-svn-id: file:///home/lennart/svn/public/avahi/trunk@283 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Update HACKINGLennart Poettering2005-08-092-4/+23
| | | | | | | | | | | | | | | | | * Change DBUS API: txt record lists are now coded as "aay" instead of "as". Unfortunately this triggers this bug: https://bugs.freedesktop.org/show_bug.cgi?id=4023 If you want to use avahi-publish-service you need to apply the included patch. * change avahi-bookmarks to listen on 127.0.0.1 only * add ftp and https browsing support to avahi-bookmarks, but disable it due to python-dbus bugs * update avahi module for python to provide functions to convert between tring lists and lists of lists of bytes * add avahi_strlst_add_anonymous() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@281 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Make distcheck work again, broken by my recent changesTrent Lloyd2005-08-081-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@278 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move avahi-core/llist.h to avahi-common/llist.h, not installed.Trent Lloyd2005-08-082-0/+73
| | | | | | | | | | * 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
* * First set of changes for new avahi-client, move some core.h enum defsTrent Lloyd2005-08-081-0/+69
| | | | | | | | into a new avahi-common/defs.h for use with the client wrapper. * Add avahi-common/defs.h to doxygen config git-svn-id: file:///home/lennart/svn/public/avahi/trunk@272 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * simply compilation a littleLennart Poettering2005-08-081-9/+2
| | | | | | | | * 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
* some autoconf fixesLennart Poettering2005-08-061-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@253 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Beef up simple protocol with error codesLennart Poettering2005-08-051-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@239 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add proper error codes and patch everything to make use of itLennart Poettering2005-08-055-9/+170
| | | | | | | | * 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
* * DBUS: add GetNetworkInterface{NameByIndex,IndexByName} and make everyone ↵Lennart Poettering2005-08-041-0/+1
| | | | | | use it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@232 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replace guchar and gint by AvahiProtocol, AvahiIfIndex at many places ↵Lennart Poettering2005-08-021-3/+12
| | | | | | | | | | | | | | | | | | 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