20 #ifndef __GA_ENTRY_GROUP_H__ 21 #define __GA_ENTRY_GROUP_H__ 23 #include <glib-object.h> 65 #define GA_TYPE_ENTRY_GROUP \ 66 (ga_entry_group_get_type()) 67 #define GA_ENTRY_GROUP(obj) \ 68 (G_TYPE_CHECK_INSTANCE_CAST((obj), GA_TYPE_ENTRY_GROUP, GaEntryGroup)) 69 #define GA_ENTRY_GROUP_CLASS(klass) \ 70 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_ENTRY_GROUP, GaEntryGroupClass)) 71 #define IS_GA_ENTRY_GROUP(obj) \ 72 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GA_TYPE_ENTRY_GROUP)) 73 #define IS_GA_ENTRY_GROUP_CLASS(klass) \ 74 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_ENTRY_GROUP)) 75 #define GA_ENTRY_GROUP_GET_CLASS(obj) \ 76 (G_TYPE_INSTANCE_GET_CLASS ((obj), GA_TYPE_ENTRY_GROUP, GaEntryGroupClass)) 114 guint16
port, GError ** error,
126 GError ** error, ...);
134 const void *rdata, gsize size, GError ** error);
144 gsize size, GError ** error);
153 const gchar * key,
const gchar * value,
157 const gchar * key,
const guint8 * value,
158 gsize size, GError ** error);
162 const gchar * key, GError ** error);
GaEntryGroupService * ga_entry_group_add_service_full(GaEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const gchar *name, const gchar *type, const gchar *domain, const gchar *host, guint16 port, GError **error,...)
int AvahiIfIndex
Numeric network interface index.
gboolean ga_entry_group_add_record(GaEntryGroup *group, AvahiPublishFlags flags, const gchar *name, guint16 type, guint32 ttl, const void *rdata, gsize size, GError **error)
gboolean ga_entry_group_reset(GaEntryGroup *group, GError **error)
The entries have successfully been established.
int AvahiProtocol
Protocol family specification, takes the values AVAHI_PROTO_INET, AVAHI_PROTO_INET6, AVAHI_PROTO_UNSPEC.
A name collision for one of the entries in the group has been detected, the entries have been withdra...
GaEntryGroupService * ga_entry_group_add_service_strlist(GaEntryGroup *group, const gchar *name, const gchar *type, guint16 port, GError **error, AvahiStringList *txt)
void ga_entry_group_service_freeze(GaEntryGroupService *service)
The entries of the group are currently being registered.
GObjectClass parent_class
AvahiPublishFlags
Some flags for publishing functions.
Linked list of strings that can contain any number of binary characters, including NUL bytes...
gboolean ga_entry_group_commit(GaEntryGroup *group, GError **error)
GaEntryGroupService * ga_entry_group_add_service(GaEntryGroup *group, const gchar *name, const gchar *type, guint16 port, GError **error,...)
gboolean ga_entry_group_service_set(GaEntryGroupService *service, const gchar *key, const gchar *value, GError **error)
gboolean ga_entry_group_add_record_full(GaEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const gchar *name, guint16 clazz, guint16 type, guint32 ttl, const void *rdata, gsize size, GError **error)
GaEntryGroup * ga_entry_group_new(void)
The group has not yet been commited, the user must still call avahi_entry_group_commit() ...
Some kind of failure happened, the entries have been withdrawn.
Definitions and functions for the client API over D-Bus.
gboolean ga_entry_group_service_thaw(GaEntryGroupService *service, GError **error)
gboolean ga_entry_group_service_remove_key(GaEntryGroupService *service, const gchar *key, GError **error)
GaEntryGroupService * ga_entry_group_add_service_full_strlist(GaEntryGroup *group, AvahiIfIndex interface, AvahiProtocol protocol, AvahiPublishFlags flags, const gchar *name, const gchar *type, const gchar *domain, const gchar *host, guint16 port, GError **error, AvahiStringList *txt)
gboolean ga_entry_group_service_set_arbitrary(GaEntryGroupService *service, const gchar *key, const guint8 *value, gsize size, GError **error)
gboolean ga_entry_group_attach(GaEntryGroup *group, GaClient *client, GError **error)
GType ga_entry_group_get_type(void)