Main Page | Modules | Data Structures | File List | Data Fields

Data Type Objects
[State Object Library]


Data Structures

struct  sos_data_type_t

Typedefs

typedef enum sos_data_type_e sos_data_type_e
typedef sos_data_type_t sos_data_type_t

Enumerations

enum  sos_data_type_e {
  SOS_DT_UNKNOWN, SOS_DT_INTEGER, SOS_DT_STRING, SOS_DT_REAL,
  SOS_DT_BOOLEAN
}

Functions

 SUL_PEER_DECLARE (data_types)
 sos_data_type_get_key (sos_data_type_t **type, sul_key_t identifier, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_data_type_get_name (sos_data_type_t **type, const char *name, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_data_type_get_type (sos_data_type_t *type)
 sos_etype_from_string (const char *str)
 sos_error_unknown_type (const char *str, apr_pool_t *pool)

Typedef Documentation

typedef enum sos_data_type_e sos_data_type_e
 

A data possible data type, in an enumeration.

Note:
Be sure to keep this in sync with the database.

typedef struct sos_data_type_t sos_data_type_t
 

Data Type


Enumeration Type Documentation

enum sos_data_type_e
 

A data possible data type, in an enumeration.

Note:
Be sure to keep this in sync with the database.


Function Documentation

sos_data_type_get_key sos_data_type_t **  type,
sul_key_t  identifier,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
type 
identifier 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_data_type_get_name sos_data_type_t **  type,
const char *  name,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
type 
name 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_data_type_get_type sos_data_type_t type  ) 
 

Parameters:
type 
Returns:

sos_error_unknown_type const char *  str,
apr_pool_t *  pool
 

Parameters:
str 
pool 
Returns:

sos_etype_from_string const char *  str  ) 
 

Parameters:
str 
Returns:


Generated on Wed Apr 28 09:38:37 2004 for State by doxygen 1.3.5