[avahi] about the scanf like function

Ikke eikke at eikke.com
Mon Aug 22 02:45:58 PDT 2005


> Another possiblility is to have a set of functions especially designed
> to handle TXT record, like:
> char * avahi_text_record_get_value_from_key(AvahiStringList *l, const
> char *key); //return value
> 
> to be coherent we may add avahi_text_text_record_set
> 
> what do you think?

An iterator would be much better IMHO, as you don't always know the
provided keys beforehand. Just guessing isn't really nice :-)

Ikke



More information about the avahi mailing list