Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

attn_dml.c File Reference


Detailed Description

ALP attention manager data model implementation.

#include <hiker/types.h>
#include <hiker/prv/attnmgr_traces.h>
#include <hiker/prv/attnmgr_dml.h>
#include "attn_dml_prv.h"
#include <glib.h>

Functions

alp_status_t alp_attn_dml_set_filename (const char *directory, const char *database)
const char * alp_attn_dml_get_filename (void)
 Return db pathname.
alp_status_t alp_attn_dml_open (AlpDmlH *dmlH)
alp_status_t alp_attn_dml_close (AlpDmlH dmlH)
alp_status_t alp_attn_dml_transaction_begin (AlpDmlH dmlH, bool exclusive)
alp_status_t alp_attn_dml_transaction_rollback (AlpDmlH dmlH)
alp_status_t alp_attn_dml_transaction_end (AlpDmlH dmlH)
alp_status_t alp_attn_dml_check_database (AlpDmlH dmlH)
 Check database integrity.


Function Documentation

alp_status_t alp_attn_dml_check_database AlpDmlH  dmlH  ) 
 

Check database integrity.

Parameters:
[in] dmlH Database DML handle
Returns:
ALP_STATUS_OK integrity check succeeded

ALP_STATUS_ATTN_DML_CORRUPT integrity check failed

alp_status_t alp_attn_dml_close AlpDmlH  dmlH  ) 
 

const char* alp_attn_dml_get_filename void   ) 
 

Return db pathname.

Returns:
char * containing pointing to the database pathname. Do not free() this string.

alp_status_t alp_attn_dml_open AlpDmlH dmlH  ) 
 

alp_status_t alp_attn_dml_set_filename const char *  directory,
const char *  database
 

alp_status_t alp_attn_dml_transaction_begin AlpDmlH  dmlH,
bool  exclusive
 

alp_status_t alp_attn_dml_transaction_end AlpDmlH  dmlH  ) 
 

alp_status_t alp_attn_dml_transaction_rollback AlpDmlH  dmlH  ) 
 


Generated on Sat Dec 16 20:29:48 2006 for hiker-0.9 by  doxygen 1.4.4