#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <hiker/types.h>
#include <hiker/prv/attnmgr_traces.h>
#include <hiker/prv/attnmgr_dml.h>
#include "attn_dml_prv.h"
Functions | |
alp_status_t | alp_prv_attn_dml_convert_sal_error (alp_status_t salError) |
Translate SAL errors to Attention error codes. | |
char * | alp_prv_attn_dml_get_order_string (AlpAttnDmlOrderByType orderBy) |
alp_status_t | alp_prv_attn_dml_validate_luid (AlpDmlH dmlH, AlpAttnDmlItemType itemType, AlpLuid luid) |
Verify that the specified LUID exists as an alertLUID in the ALERTS table. | |
alp_status_t | alp_prv_attn_dml_create_database (const char *db_pathname) |
Create attention database. | |
alp_status_t | alp_prv_attn_dml_init_database (const char *db_pathname) |
Initialize attention manager database. |
|
Translate SAL errors to Attention error codes.
|
|
Create attention database. Called by the database initialize routine to (re) create database should it not exist or be corrupted.
|
|
|
|
Initialize attention manager database. Called by the attention manager daemon to verify the existence and integrity of the database.
|
|
Verify that the specified LUID exists as an alertLUID in the ALERTS table.
|