All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Attributes | List of all members
xorn_string Struct Reference

Sequence of bytes. More...

#include <xornstorage.h>

Public Attributes

const char * s
 Pointer to the character data. More...
size_t len
 Length of the string in bytes. More...

Detailed Description

Sequence of bytes.

The data is copied by xorn_add_object, xorn_set_object_data and their type-safe equivalents, so it is safe to re-use the memory passed to these functions.

This struct may contain any data, including zero bytes. However, the context in which it is used generally imposes some restrictions on the data.

Definition at line 145 of file xornstorage.h.

Member Data Documentation


Length of the string in bytes.

Definition at line 147 of file xornstorage.h.


Pointer to the character data.

Definition at line 146 of file xornstorage.h.

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