summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.h
Commit message (Collapse)AuthorAgeFilesLines
* Doxygen documentation cleanups:Lennart Poettering2007-05-091-1/+17
| | | | | | | | | * Hide a few irrelevant header files and definitions from doxygen to make the docs shorter * Update some texts * Put functions into categories git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1477 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fix documentation of avahi_{entry_group|client}_new(): clarify that the ↵Lennart Poettering2006-12-311-1/+1
| | | | | | specified callback function is called for the first time from withing the avahi_xxx_new() context. (Closes #65) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1359 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* implement avahi_client_set_host_name() as wrapper around the new DBUS ↵Lennart Poettering2006-08-221-0/+3
| | | | | | function o.fd.A.S.SetHostName git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1261 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* build docs for avahi-core only if --enable-core-docs was passed to ↵Lennart Poettering2006-08-211-3/+0
| | | | | | configure. Build GLIb docs only when glib is enabled, same for qt3/qt4 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1253 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reverse 1144, since it broke more things than it fixedLennart Poettering2006-02-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make anonymous structs appear properly in doxygenLennart Poettering2006-02-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doxygen updateLennart Poettering2006-01-301-4/+14
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1119 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add doxygen \since tagsLennart Poettering2006-01-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1093 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new API function avahi_nss_support()Lennart Poettering2006-01-201-0/+3
| | | | | | | | * add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-081-2/+8
| | | | | | | | | | | * introduce flags AVAHI_CLIENT_NO_FAIL and AVAHI_CLIENT_IGNORE_USER_CONFIG * beef up avahi-browse to show how AVAHI_CLIENT_NO_FAIL may be used: add a new parameter "-f" which tells avahi-browse to stay running when the daemon disconnects from DBUS and reconnect when it reappears. For now dbus-daemon restarts are not handled and result in an AVAHI_CLIENT_FAIL event. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@937 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTEDLennart Poettering2005-11-061-2/+1
| | | | | | | * Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new client state AVAHI_CLIENT_FAILURELennart Poettering2005-11-061-4/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-261-2/+0
| | | | | | | | | | | * 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
* * remove lots of DOXYGEN_SHOULD_SKIP_THIS from the header files, use doxygen ↵Lennart Poettering2005-10-261-4/+0
| | | | | | | | | | macro expansion instead * split of exotic functions from avahi-core/rr.h to avahi-core/rr-util.h * update doxygen docs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@872 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-241-0/+1
| | | | | | | | | | | | * pass error code alongside entry gorup state changes over DBUS * add new server state AVAHI_SERVER_FAILURE * pass error code alongside server state changes over DBUS * fix client-publish-service * rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION * update TODO git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-181-3/+0
| | | | | | | | | | | * 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
* * split client.h into client.h, lookup.h and publish.h just like we did on ↵Lennart Poettering2005-10-171-263/+0
| | | | | | | | | | | | the server side * Wrap avahi_server_update_txt() as DBUS function UpdateServiceTxt * Add client side API avahi_entry_group_update_service_txt() and friends * handle AVAHI_PUBLISH_UPDATE semantics in DBUS protocol * minor cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@791 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add client side wrapping of EntryGroup.AddServiceSubtypeLennart Poettering2005-10-111-0/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@721 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make all flags parameters UINT32 when marshalling for DBUSLennart Poettering2005-09-291-0/+3
| | | | | | | | | | | | | | | | | | | * 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
* * fix some bugsLennart Poettering2005-09-251-23/+34
| | | | | | | | * update to current DBUS API * add test for resolving standalone SRV records git-svn-id: file:///home/lennart/svn/public/avahi/trunk@610 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API avahi_client_is_service_local()Lennart Poettering2005-09-101-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@563 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add magic identification cookies to service TXT records automaticallyLennart Poettering2005-09-101-0/+3
| | | | | | | | | * 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
* * Move service/host name/address resolvers to asynchronous interfacesLennart Poettering2005-08-281-21/+0
| | | | | | | | | | * drop xxx_get_dbus_path() functions * drop xxx_block() functions * fix compiler warning about missing const * fix some minor memory corruption bugs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@462 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix some small issues in client-testLennart Poettering2005-08-271-1/+2
| | | | | | | * add protocol argument avahi_adress_resolver_new_a() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@458 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement AddressResolver in the avahi-client C apiTrent Lloyd2005-08-261-0/+40
| | | | | | | * Small fix to the HostNameResolver git-svn-id: file:///home/lennart/svn/public/avahi/trunk@450 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement the HostNameResolver in the avahi-client C apiTrent Lloyd2005-08-261-0/+44
| | | | | | | | * Add HostNameResolver and ServiceResolver to client-test * Add get_client functions to all avahi-client browsers/resolvers git-svn-id: file:///home/lennart/svn/public/avahi/trunk@449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add glib integration example.Trent Lloyd2005-08-221-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@394 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doc updateLennart Poettering2005-08-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@367 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add avahi-client examples to doxygenLennart Poettering2005-08-201-0/+8
| | | | | | | * tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Disable debug output of avahi-clientLennart Poettering2005-08-201-0/+45
| | | | | | | | | * 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
* * complete error handling in avahi-clientLennart Poettering2005-08-201-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many improvements to avahi-client (especially error handling)Lennart Poettering2005-08-201-20/+51
| | | | | | | * Document AVahi error handling a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement avahi_client_freeLennart Poettering2005-08-191-9/+8
| | | | | | | * issue initial GetState() call synchronously git-svn-id: file:///home/lennart/svn/public/avahi/trunk@352 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * start implementing error handling in avahi-clientLennart Poettering2005-08-161-8/+8
| | | | | | | | | * 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 new priority parameter to avahi_glib_poll_new()Lennart Poettering2005-08-141-12/+13
| | | | | | | | | | | | * 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-141-3/+6
| | | | | | | * 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
* * Implement free functions for the various browsers in the C apiTrent Lloyd2005-08-141-7/+16
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@319 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add service browser support to C client APITrent Lloyd2005-08-141-0/+17
| | | | | | | * 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
* * Revert revision 303 (Name space changes) as avahi-core has now been changed.Trent Lloyd2005-08-141-68/+42
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename various data structures to prevent a namespace conflict with ↵Trent Lloyd2005-08-121-42/+68
| | | | | | avahi-core git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Some minor error handling cleanupsLennart Poettering2005-08-111-1/+3
| | | | | | | * Please use uint16_t for port numbers. This type is defined in inttypes.h which is available nearly everywhere git-svn-id: file:///home/lennart/svn/public/avahi/trunk@297 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* rename avahi_entry_group_state() to avahi_entry_group_get_state()Lennart Poettering2005-08-111-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@296 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add ServiceTypeBrowser support to C APITrent Lloyd2005-08-111-0/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@290 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add DomainBrowser support to C client APITrent Lloyd2005-08-111-2/+21
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@289 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Work on avahi-clientTrent Lloyd2005-08-111-1/+50
| | | | | | | | | | | - 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
* * Add avahi-client to the doxygen runTrent Lloyd2005-08-081-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@277 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move avahi-core/llist.h to avahi-common/llist.h, not installed.Trent Lloyd2005-08-081-12/+3
| | | | | | | | | | * 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
* * Work on avahi-clientTrent Lloyd2005-08-011-1/+22
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@208 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move dbus service #defines to avahi-common/dbus.hTrent Lloyd2005-07-291-3/+10
| | | | | | | | | * Move cdecl.h to installed common headers * Remove glib use from avahi-client * Only build avahi-client if dbus is enabled git-svn-id: file:///home/lennart/svn/public/avahi/trunk@190 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add some use documentation to the daemonTrent Lloyd2005-06-041-0/+33
* Create the structure for avahi-client * Start building avahi-client and daemon by default git-svn-id: file:///home/lennart/svn/public/avahi/trunk@100 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe