Definitions of constructor functions for the file data_object_t. More...
#include "data_object.h"
#include <sys/types.h>
Go to the source code of this file.
Typedefs | |
typedef int( | data_object_file_close_func )(int fd) |
A function used to close the file owned by a file data_object_t. | |
Functions | |
Constructors | |
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. |
Definitions of constructor functions for the file data_object_t.
Definition in file data_object_file.h.