F | |
Functions | |
I | |
init_memstream, memstream | |
internal.h | |
M | |
Macros | |
make_tree, tree | |
MAX_ENV_SIZE | |
memstream | |
P | |
PATH_SEP_CHAR | |
print_chars | |
print_pos | |
T | |
tree | |
U | |
unescape | |
X | |
xread_file |
Initialize a memstream.
int __aug_init_memstream( struct memstream * ms )
Allocate a new tree node with the given LABEL, VALUE, and CHILDREN, which are not copied.
struct tree *make_tree( char * label, char * value, struct tree * parent, struct tree * children )
Wrappers to simulate OPEN_MEMSTREAM where that’s not available.
struct memstream
int print_chars( FILE * out, const char * text, int cnt )
Print a pretty representation of being at position POS within TEXT
void print_pos( FILE * out, const char * text, int pos )
An entry in the global config tree.
struct tree
char *unescape( const char * s, int len, const char * extra )
Read the contents of file PATH and return them as one long string.
char* xread_file( const char * path )