Logo Search packages:      
Sourcecode: avahi version File versions

int avahi_entry_group_update_service_txt ( AvahiEntryGroup g,
AvahiIfIndex  interface,
AvahiProtocol  protocol,
AvahiPublishFlags  flags,
const char *  name,
const char *  type,
const char *  domain,
  ... 
)

Update a TXT record for an existing service. The service should already be existent in the entry group.

Parameters:
interface  The interface this service is announced on. This should match the value passed to the original avahi_entry_group_add_service() call.
protocol  The protocol this service is announced with. This should match the value passed to the original avahi_entry_group_add_service() call.
flags  Only != 0 if you really know what you do
name  The name of the service, as passed to avahi_entry_group_add_service(). May not be NULL.
type  The type of the service, as passed to avahi_entry_group_add_service(). May not be NULL.
domain  The domain this service resides is, as passed to avahi_entry_group_add_service(). May be NULL.

Definition at line 613 of file entrygroup.c.

         {

    va_list va;
    int r;
    AvahiStringList *txt;

    va_start(va, domain);
    txt = avahi_string_list_new_va(va);
    r = avahi_entry_group_update_service_txt_strlst(group, interface, protocol, flags, name, type, domain, txt);
    avahi_string_list_free(txt);
    va_end(va);
    return r;
}


Generated by  Doxygen 1.6.0   Back to index