Library to generate & parse text format protobufs in C.
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups
Data Fields
ReturnString Struct Reference

A dynamic string struct. More...

Data Fields

int malloc_err
 Set to 1 when there's been a malloc error. More...
int allocated
 Size of allocated string. More...
int pos
 Current end of the string. More...
char * s
 The string. More...

Detailed Description

A dynamic string struct.

Used to track additions to a growing string and memory allocation errors that occur in processing

Definition at line 28 of file generate.c.

Field Documentation

int allocated

Size of allocated string.

Definition at line 30 of file generate.c.

int malloc_err

Set to 1 when there's been a malloc error.

Definition at line 29 of file generate.c.

Referenced by protobuf_c_text_to_string_internal().

int pos

Current end of the string.

Definition at line 31 of file generate.c.

char* s

The string.

Definition at line 32 of file generate.c.

Referenced by protobuf_c_text_to_string(), and protobuf_c_text_to_string_internal().

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