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

attnmgr_ipc.h File Reference


Detailed Description

ALP attention manager API & definitions.

#include <hiker/types.h>
#include <hiker/ipc.h>
#include <hiker/attnmgr_common.h>

Go to the source code of this file.
#define ALP_STATUS_ATTN_IPC_BAD_PARAM   (ALP_STATUS_ATTN_IPC | 0x00000100)
 Status definitions.
#define ALP_STATUS_ATTN_IPC_NO_MEMORY   (ALP_STATUS_ATTN_IPC | 0x00000200)
#define ALP_STATUS_ATTN_IPC_INTERNAL   (ALP_STATUS_ATTN_IPC | 0x00000300)
#define ALP_STATUS_ATTN_IPC_TIMEOUT   (ALP_STATUS_ATTN_IPC | 0x00000400)
#define ALP_ATTN_CALLBACK_CHANNEL_FORMAT   "alp-alert-callback-%d"
 Channel definitions.
#define ALP_ATTN_CALLBACK_CHANNEL_PROPERTY   "callback-channel"

Enumerations

enum  AlpAttnMsgID {
  ALP_ATTN_MSG_ID_STATUS = 1, ALP_ATTN_MSG_ID_STATUS_REPLY, ALP_ATTN_MSG_ID_POST, ALP_ATTN_MSG_ID_POST_REPLY,
  ALP_ATTN_MSG_ID_UPDATE, ALP_ATTN_MSG_ID_UPDATE_REPLY, ALP_ATTN_MSG_ID_DELETE, ALP_ATTN_MSG_ID_DELETE_REPLY,
  ALP_ATTN_MSG_ID_LOOKUP, ALP_ATTN_MSG_ID_LOOKUP_REPLY
}
 Message IDs for Attention Manager client IPC interface. More...
enum  AlpAttnMgrMsgID { ALP_ATTN_MGR_MSG_ID_QUERY = 1 }
 Message ID. More...

Functions

alp_status_t alp_attn_ipc_init (const char *channel)
const char * alp_attn_ipc_get_channel (void)
alp_status_t alp_attn_ipc_setup (void)
alp_status_t alp_attn_ipc_teardown (void)
alp_status_t alp_attn_ipc_send (AlpMessage *msg)
alp_status_t alp_attn_ipc_send_with_response (AlpMessage *msg, AlpMessage **response)
alp_status_t alp_attn_ipc_unpack_alert_post_msg (AlpMessage *message, AlpDmlItemH *itemH)
alp_status_t alp_attn_ipc_unpack_alert_post_reply (AlpMessage *response, alp_status_t *status, AlpAttnId *alertId)
alp_status_t alp_attn_ipc_unpack_alert_update_msg (AlpMessage *message, AlpDmlItemH *itemH)
alp_status_t alp_attn_ipc_unpack_alert_update_reply (AlpMessage *response, alp_status_t *status)
alp_status_t alp_attn_ipc_unpack_alert_delete_msg (AlpMessage *message, AlpDmlItemH *itemH)
alp_status_t alp_attn_ipc_unpack_alert_delete_reply (AlpMessage *response, alp_status_t *status)
alp_status_t alp_attn_ipc_unpack_status_reply_msg (AlpMessage *response, alp_status_t *status, gchar **srv_status)
AlpMessagealp_attn_ipc_pack_alert_post_msg (const char *source, const char *name, const char *handle, const char *interface, gint32 priority, gint32 duration, guint32 nprops, AlpAttnProp *props[], const char *channel)
 Create post alert IPC message.
AlpMessagealp_attn_ipc_pack_alert_post_reply (AlpMessage *replyTo, guint32 status, guint32 id)
 Create alert post IPC reply message.
AlpMessagealp_attn_ipc_pack_alert_update_msg (const char *source, const char *name, const char *handle, guint32 nprops, AlpAttnProp *props[])
 Create alert update IPC message.
AlpMessagealp_attn_ipc_pack_alert_update_reply (AlpMessage *replyTo, guint32 status)
 Create alert update IPC reply.
AlpMessagealp_attn_ipc_pack_alert_delete_msg (const char *source, const char *name, const char *handle)
 Create alert delete IPC message.
AlpMessagealp_attn_ipc_pack_alert_delete_reply (AlpMessage *replyTo, guint32 status)
 Create alert delete IPC message.
AlpMessagealp_attn_ipc_pack_status_reply (AlpMessage *replyTo, guint32 status, gchar *srv_status)
 Create status IPC reply message.
alp_status_t alp_attn_ipc_send_callback (const char *channel, const char *source, const char *name, const char *handle, uint32_t argc, char *argv[])


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