AvahiStringList Struct Reference

#include <avahi-common/strlst.h>


Detailed Description

Linked list of strings that can contain any number of binary characters, including NUL bytes.

An empty list is created by assigning a NULL to a pointer to AvahiStringList. The string list is stored in reverse order, so that appending to the string list is effectively a prepending to the linked list. This object is used primarily for storing DNS TXT record data.

Examples:

client-browse-services.c.

Definition at line 42 of file strlst.h.


Data Fields

struct AvahiStringListnext
 Pointer to the next linked list element.
size_t size
 Size of text[].
uint8_t text [1]
 Character data.

Field Documentation

Pointer to the next linked list element.

Definition at line 43 of file strlst.h.

Size of text[].

Definition at line 44 of file strlst.h.

Character data.

Definition at line 45 of file strlst.h.


The documentation for this struct was generated from the following file:

Generated on Tue Jun 24 01:50:39 2008 for avahi by  doxygen 1.5.6