Implementation of the file data_object_t. More...
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "data_object.h"
#include "data_object_internal.h"
#include "data_object_file.h"
#include "type_limits.h"
#include "debug.h"
#include "util.h"
Go to the source code of this file.
Functions | |
int | data_object_file_new (data_object_t **obj, int fd) |
Creates a new file data object. | |
int | data_object_tempfile_new (data_object_t **obj, int fd, char *path) |
Creates a new temporary file data object. | |
int | data_object_file_set_close_func (data_object_t *obj, data_object_file_close_func *file_close) |
Sets the function used to close the file associated with the data object. |
Implementation of the file data_object_t.
Definition in file data_object_file.c.