Asc_DString Struct Reference

#include <dstring.h>


Detailed Description

Dynamic string data structure.


Data Fields

char * string
int length
int spaceAvl
char staticSpace [ASC_DSTRING_STATIC_SIZE]


Field Documentation

char* Asc_DString::string

Points to beginning of string: either staticSpace below or a malloc'ed array.

int Asc_DString::length

Number of non-NULL characters in the string.

int Asc_DString::spaceAvl

Total number of bytes available for the string and its terminating NULL char.

char Asc_DString::staticSpace[ASC_DSTRING_STATIC_SIZE]

Space to use in common case where string is small.


The documentation for this struct was generated from the following file:
Generated on Thu Jul 17 04:00:57 2008 for libascend by  doxygen 1.5.1