Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
string_alloc.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "string_alloc.h"

Macros

#define MIN_STR_SIZE   1024
 

Functions

string_alloc_tstring_pool_create (size_t max_length)
 
void string_pool_destroy (string_alloc_t *a_str)
 
char * string_alloc (string_alloc_t *a_str, size_t length)
 
char * string_dup (string_alloc_t *a_str, char *instr)
 
char * string_ndup (string_alloc_t *a_str, char *instr, size_t len)
 

Macro Definition Documentation

#define MIN_STR_SIZE   1024

Function Documentation

char* string_alloc ( string_alloc_t a_str,
size_t  length 
)
char* string_dup ( string_alloc_t a_str,
char *  instr 
)
char* string_ndup ( string_alloc_t a_str,
char *  instr,
size_t  len 
)
string_alloc_t* string_pool_create ( size_t  max_length)
void string_pool_destroy ( string_alloc_t a_str)