stringbuffer.h File Reference

#include <stdlib.h>

Go to the source code of this file.

Typedefs

typedef stringbuffer_s stringbuffer_t
typedef int *(*) stringbuffer_filter_t (void *state, char toFilter, int *spaceForChar)

Functions

stringbuffer_tstringbuffer_new (char *data, size_t len)
stringbuffer_tstringbuffer_reset (stringbuffer_t *buf, char *data, size_t len)
int stringbuffer_read (stringbuffer_t *buf)
stringbuffer_tstringbuffer_rewind (stringbuffer_t *buf, size_t rewindLen)
void stringbuffer_delete (stringbuffer_t *buf)
char * stringbuffer_getData (stringbuffer_t *buf)
size_t stringbuffer_getLen (stringbuffer_t *buf)
size_t stringbuffer_getIndex (stringbuffer_t *buf)
stringbuffer_tstringbuffer_filter (void *state, stringbuffer_filter_t filterFunction, stringbuffer_t *toFilter)


Detailed Description

Definition in file stringbuffer.h.


Typedef Documentation

typedef int*(*) stringbuffer_filter_t(void *state, char toFilter, int *spaceForChar)

Definition at line 32 of file stringbuffer.h.

typedef struct stringbuffer_s stringbuffer_t

Definition at line 31 of file stringbuffer.h.


Function Documentation

void stringbuffer_delete ( stringbuffer_t buf  ) 

Definition at line 83 of file stringbuffer.c.

stringbuffer_t* stringbuffer_filter ( void *  state,
stringbuffer_filter_t  filterFunction,
stringbuffer_t toFilter 
)

Definition at line 103 of file stringbuffer.c.

char* stringbuffer_getData ( stringbuffer_t buf  ) 

Definition at line 88 of file stringbuffer.c.

size_t stringbuffer_getIndex ( stringbuffer_t buf  ) 

Definition at line 98 of file stringbuffer.c.

size_t stringbuffer_getLen ( stringbuffer_t buf  ) 

Definition at line 93 of file stringbuffer.c.

stringbuffer_t* stringbuffer_new ( char *  data,
size_t  len 
)

Definition at line 25 of file stringbuffer.c.

int stringbuffer_read ( stringbuffer_t buf  ) 

Definition at line 42 of file stringbuffer.c.

stringbuffer_t* stringbuffer_reset ( stringbuffer_t buf,
char *  data,
size_t  len 
)

Definition at line 34 of file stringbuffer.c.

stringbuffer_t* stringbuffer_rewind ( stringbuffer_t buf,
size_t  rewindLen 
)

Definition at line 65 of file stringbuffer.c.


Generated on Wed May 23 17:20:16 2007 using doxygen 1.5.2