1 #ifndef fooclientpublishhfoo 2 #define fooclientpublishhfoo 25 #include <avahi-common/cdecl.h> 30 #include <avahi-common/gccmacro.h> 96 ...) AVAHI_GCC_SENTINEL;
120 const
char *subtype );
131 ...) AVAHI_GCC_SENTINEL;
146 int avahi_entry_group_add_address(
AvahiEntryGroup * avahi_entry_group_new(AvahiClient *c, AvahiEntryGroupCallback callback, void *userdata)
Create a new AvahiEntryGroup object.
int avahi_entry_group_commit(AvahiEntryGroup *)
Commit an AvahiEntryGroup.
struct AvahiClient AvahiClient
A connection context.
void(* AvahiEntryGroupCallback)(AvahiEntryGroup *g, AvahiEntryGroupState state, void *userdata)
The function prototype for the callback of an AvahiEntryGroup.
int avahi_entry_group_add_record(AvahiEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, uint16_t clazz, uint16_t type, uint32_t ttl, const void *rdata, size_t size)
Add an arbitrary record.
int AvahiIfIndex
Numeric network interface index.
Protocol (address family) independent address structure.
Implementation of a data type to store lists of strings.
Simplistic main loop abstraction.
int avahi_entry_group_add_service_strlst(AvahiEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, const char *type, const char *domain, const char *host, uint16_t port, AvahiStringList *txt)
Add a service, takes an AvahiStringList for TXT records.
int avahi_entry_group_get_state(AvahiEntryGroup *)
Get an AvahiEntryGroup's state.
struct AvahiEntryGroup AvahiEntryGroup
An entry group object.
int AvahiProtocol
Protocol family specification, takes the values AVAHI_PROTO_INET, AVAHI_PROTO_INET6, AVAHI_PROTO_UNSPEC.
int avahi_entry_group_update_service_txt(AvahiEntryGroup *g, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, const char *type, const char *domain,...) AVAHI_GCC_SENTINEL
Update a TXT record for an existing service.
int avahi_entry_group_add_service(AvahiEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, const char *type, const char *domain, const char *host, uint16_t port,...) AVAHI_GCC_SENTINEL
Add a service.
AvahiEntryGroupState
States of an entry group object.
AvahiClient * avahi_entry_group_get_client(AvahiEntryGroup *)
Get an AvahiEntryGroup's owning client instance.
int avahi_entry_group_free(AvahiEntryGroup *)
Clean up and free an AvahiEntryGroup object.
Definitions and functions to manipulate IP addresses.
AvahiPublishFlags
Some flags for publishing functions.
Linked list of strings that can contain any number of binary characters, including NUL bytes...
int avahi_entry_group_add_service_subtype(AvahiEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, const char *type, const char *domain, const char *subtype)
Add a subtype for a service.
int avahi_entry_group_is_empty(AvahiEntryGroup *)
Check if an AvahiEntryGroup is empty.
int avahi_entry_group_update_service_txt_strlst(AvahiEntryGroup *g, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const char *name, const char *type, const char *domain, AvahiStringList *strlst)
Update a TXT record for an existing service.
Definitions and functions for the client API over D-Bus.
int avahi_entry_group_reset(AvahiEntryGroup *)
Reset an AvahiEntryGroup.