src/buffer_source.c File Reference

Buffer source implementation. More...

#include "buffer_source.h"
#include "data_object.h"
#include "data_object_memory.h"
#include "data_object_file.h"
#include "debug.h"
#include <errno.h>
#include <stdlib.h>
Include dependency graph for buffer_source.c:

Functions

int bless_buffer_source_memory (bless_buffer_source_t **src, void *data, size_t length, bless_mem_free_func *mem_free)
 Creates a memory source for bless_buffer_t.
int bless_buffer_source_file (bless_buffer_source_t **src, int fd, bless_file_close_func *file_close)
 Creates a file source for bless_buffer_t.
int bless_buffer_source_unref (bless_buffer_source_t *src)
 Decreases the usage count of a source object.

Detailed Description

Buffer source implementation.


Generated on Sun Nov 15 15:27:35 2009 for libbls by  doxygen 1.6.1