NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
string_alloc.h File Reference
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  string_t
 
struct  string_alloc_t
 

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)
 

Function Documentation

char* string_alloc ( string_alloc_t a_str,
size_t  length 
)

Definition at line 108 of file string_alloc.c.

char* string_dup ( string_alloc_t a_str,
char *  instr 
)

Definition at line 140 of file string_alloc.c.

char* string_ndup ( string_alloc_t a_str,
char *  instr,
size_t  len 
)

Definition at line 144 of file string_alloc.c.

string_alloc_t* string_pool_create ( size_t  max_length)

Definition at line 52 of file string_alloc.c.

void string_pool_destroy ( string_alloc_t a_str)

Definition at line 94 of file string_alloc.c.