avahi  0.7
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. More...
 
size_t size
 Size of text[]. More...
 
uint8_t text [1]
 Character data. More...
 

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

◆ next

struct AvahiStringList* AvahiStringList::next

Pointer to the next linked list element.

Definition at line 41 of file strlst.h.

◆ size

size_t AvahiStringList::size

Size of text[].

Definition at line 42 of file strlst.h.

◆ text

uint8_t AvahiStringList::text[1]

Character data.

Definition at line 43 of file strlst.h.


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