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

notify_mgr_server_prv.h File Reference

#include <pthread.h>
#include <time.h>
#include <hiker/ipc.h>

Go to the source code of this file.

Data Structures

struct  _AlpNotifyRegisterEntry
struct  _AlpNotifyRegisterHead
struct  _AlpNotifyNotificationEntry
struct  _AlpNotifyConnectionEntry
struct  _AlpNotifyBroadcastEntry
struct  _AlpNotifyPackageEntry

Defines

#define ALP_NOTIFY_MAX_BROADCASTS   100
 maximum number of active broadcasts
#define ALP_NOTIFY_MAX_REGISTRATIONS   5000
 maximum number of registrations

Typedefs

typedef _AlpNotifyRegisterEntry AlpNotifyRegisterEntry
typedef _AlpNotifyRegisterHead AlpNotifyRegisterHead
typedef _AlpNotifyNotificationEntry AlpNotifyNotificationEntry
typedef _AlpNotifyConnectionEntry AlpNotifyConnectionEntry
typedef _AlpNotifyBroadcastEntry AlpNotifyBroadcastEntry
typedef _AlpNotifyPackageEntry AlpNotifyPackageEntry

Functions

int alp_notify_register_add (AlpNotifyCmdRegister *request, int pid)
AlpNotifyRegisterHeadalp_notify_register_get (const char *notifyType)
void alp_notify_register_cleanup (void)
int alp_notify_register_remove (AlpNotifyCmdUnregister *request)
int alp_notify_register_remove_all (const char *appID, int server)
int alp_notify_register_is_defined (const char *notifyType, const char *appID)
int alp_notify_broadcast_get_pending (void)
int alp_notify_broadcast_add (AlpNotifyCmdBroadcast *request, AlpConnection *connect)
int alp_notify_broadcast_done (AlpNotifyCmdNotificationDone *done)
void alp_notify_broadcast_do_pending (void)
void alp_notify_broadcast_fixup (AlpNotifyRegisterEntry *old, AlpNotifyRegisterEntry *new)
void alp_notify_broadcast_cleanup (void)
int alp_notify_broadcast_is_active (AlpNotifyRegisterEntry *entry)
void alp_notify_broadcast_set_inactive (const char *appID)
void alp_notify_broadcast_cancel_sync (AlpConnection *connect)
int alp_notify_add (const char *appID, int pid)
void alp_notify_remove (const char *appID)
int alp_notify_get_pid (const char *appID)
void alp_notify_cleanup (void)
int alp_notify_ipc_send (const char *appID, void *buf, int length)
void alp_notify_ipc_start_timer (void)
void alp_notify_ipc_init (void)
void alp_notify_base64_encode (unsigned char src[], unsigned char dst[], int length)
int alp_notify_base64_encode_size (int length)
int alp_notify_package_install (const char *appID)
int alp_notify_package_uninstall (const char *appID)
int alp_notify_package_cleanup (const char *notifyType)
void alp_notify_package_remove (const char *appID)
void alp_notify_package_init (void)
int alp_notify_database_init (void)
int alp_notify_database_add (AlpNotifyRegisterEntry *entry)
int alp_notify_database_remove (AlpNotifyRegisterEntry *entry)
int alp_notify_database_restore (void)


Define Documentation

#define ALP_NOTIFY_MAX_BROADCASTS   100
 

maximum number of active broadcasts

#define ALP_NOTIFY_MAX_REGISTRATIONS   5000
 

maximum number of registrations


Typedef Documentation

typedef struct _AlpNotifyBroadcastEntry AlpNotifyBroadcastEntry
 

typedef struct _AlpNotifyConnectionEntry AlpNotifyConnectionEntry
 

typedef struct _AlpNotifyNotificationEntry AlpNotifyNotificationEntry
 

typedef struct _AlpNotifyPackageEntry AlpNotifyPackageEntry
 

typedef struct _AlpNotifyRegisterEntry AlpNotifyRegisterEntry
 

typedef struct _AlpNotifyRegisterHead AlpNotifyRegisterHead
 


Function Documentation

int alp_notify_add const char *  appID,
int  pid
 

void alp_notify_base64_encode unsigned char  src[],
unsigned char  dst[],
int  length
 

int alp_notify_base64_encode_size int  length  ) 
 

int alp_notify_broadcast_add AlpNotifyCmdBroadcast request,
AlpConnection connect
 

void alp_notify_broadcast_cancel_sync AlpConnection connect  ) 
 

void alp_notify_broadcast_cleanup void   ) 
 

void alp_notify_broadcast_do_pending void   ) 
 

int alp_notify_broadcast_done AlpNotifyCmdNotificationDone done  ) 
 

void alp_notify_broadcast_fixup AlpNotifyRegisterEntry old,
AlpNotifyRegisterEntry new
 

int alp_notify_broadcast_get_pending void   ) 
 

int alp_notify_broadcast_is_active AlpNotifyRegisterEntry entry  ) 
 

void alp_notify_broadcast_set_inactive const char *  appID  ) 
 

void alp_notify_cleanup void   ) 
 

int alp_notify_database_add AlpNotifyRegisterEntry entry  ) 
 

int alp_notify_database_init void   ) 
 

int alp_notify_database_remove AlpNotifyRegisterEntry entry  ) 
 

int alp_notify_database_restore void   ) 
 

int alp_notify_get_pid const char *  appID  ) 
 

void alp_notify_ipc_init void   ) 
 

int alp_notify_ipc_send const char *  appID,
void *  buf,
int  length
 

void alp_notify_ipc_start_timer void   ) 
 

int alp_notify_package_cleanup const char *  notifyType  ) 
 

void alp_notify_package_init void   ) 
 

int alp_notify_package_install const char *  appID  ) 
 

void alp_notify_package_remove const char *  appID  ) 
 

int alp_notify_package_uninstall const char *  appID  ) 
 

int alp_notify_register_add AlpNotifyCmdRegister request,
int  pid
 

void alp_notify_register_cleanup void   ) 
 

AlpNotifyRegisterHead* alp_notify_register_get const char *  notifyType  ) 
 

int alp_notify_register_is_defined const char *  notifyType,
const char *  appID
 

int alp_notify_register_remove AlpNotifyCmdUnregister request  ) 
 

int alp_notify_register_remove_all const char *  appID,
int  server
 

void alp_notify_remove const char *  appID  ) 
 


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