AvahiStringList Struct Reference

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

#include <avahi-common/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.

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 40 of file strlst.h.


Field Documentation

Pointer to the next linked list element.

Definition at line 41 of file strlst.h.

Size of text[].

Definition at line 42 of file strlst.h.

Character data.

Definition at line 43 of file strlst.h.


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208