src/data_object_internal.h File Reference

Definitions for internal use by the data_object_t implementations. More...

#include <sys/types.h>
#include "data_object.h"
Include dependency graph for data_object_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  data_object_funcs
 The functions in the data_object ADT that must be implemented. More...

Functions

int data_object_create_impl (data_object_t **obj, void *impl, struct data_object_funcs *funcs)
 Creates a data_object_t using a specific implementation.
void * data_object_get_impl (data_object_t *obj)
 Gets the private implementation data of a data_object_t,.

Detailed Description

Definitions for internal use by the data_object_t implementations.

Definition in file data_object_internal.h.


Function Documentation

int data_object_create_impl ( data_object_t **  obj,
void *  impl,
struct data_object_funcs funcs 
)

Creates a data_object_t using a specific implementation.

This functions is for use by the various data_object_t implementations.

Parameters:
[out] obj the created data_object_t
impl the implementation private data
funcs function pointers to the implementations' functions
Returns:
the operation status code

Definition at line 54 of file data_object.c.

Referenced by data_object_file_new(), and data_object_memory_new().

Here is the caller graph for this function:


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