buffer.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int buffer_position
typedef struct bufferbuffer_t

Functions

int buffer_free (buffer_t buffer)
char * buffer_get_buffer (buffer_t buffer)
buffer_position buffer_get_position (buffer_t buffer)
buffer_t buffer_new (void)
buffer_position buffer_save_space (buffer_t buffer, int size)
int buffer_write (buffer_t buffer, const char *data, int size)
int buffer_write_at_position (buffer_t buffer, buffer_position position, const char *data, int size)

Typedef Documentation

typedef int buffer_position

Definition at line 26 of file buffer.h.

typedef struct buffer* buffer_t

Definition at line 24 of file buffer.h.


Function Documentation

int buffer_free ( buffer_t  buffer  ) 

Definition at line 52 of file buffer.c.

char* buffer_get_buffer ( buffer_t  buffer  ) 

Definition at line 133 of file buffer.c.

buffer_position buffer_get_position ( buffer_t  buffer  ) 

Definition at line 129 of file buffer.c.

buffer_t buffer_new ( void   ) 

Definition at line 32 of file buffer.c.

buffer_position buffer_save_space ( buffer_t  buffer,
int  size 
)

Definition at line 93 of file buffer.c.

int buffer_write ( buffer_t  buffer,
const char *  data,
int  size 
)

Definition at line 104 of file buffer.c.

int buffer_write_at_position ( buffer_t  buffer,
buffer_position  position,
const char *  data,
int  size 
)

Definition at line 117 of file buffer.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pymongo
Author(s): Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:03 2013