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

registration.c File Reference

#include <hiker/bundlemgr.h>
#include <hiker/prv/bundlemgr_prv.h>
#include <hiker/notifymgr.h>
#include <hiker/ipc.h>
#include <hiker/fail.h>
#include <string.h>
#include <stdlib.h>
#include <sqlite3.h>
#include <expat.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include <hiker/global_settings.h>
#include <alp/pdk/gras.h>
#include <hiker/security.h>
#include <hiker/prv/apas.h>
#include <hiker/pdk/notifymgr_pdk.h>
#include "pm_traces.h"
#include "pm_globals.h"
#include "pm_ipc.h"
#include "pm_sql.h"
#include "pm_bar.h"
#include "pm_msg.h"
#include "pm_perms.h"
#include "ghost_support.h"
#include "java_support.h"
#include "cramfs_interface.h"

Data Structures

struct  propdata

Functions

void alp_prv_bundle_update_names (const char *name, int flags)
 Utility routine to update name table, and emit notifications about changes to named bundles.
void register_props_2 (gpointer key, gpointer value, gpointer user_data)
void register_props_3 (int id, int seq, char *prop, char *key, char *value)
void register_props (gpointer key, gpointer value, gpointer user_data)
AlpBundle alp_prv_bundle_register_bundle (const char *filename, const char *scheme, const char *store, int flags)
 Register a bundle with the bundle manager.
void handle_client_alp_prv_bundle_register_bundle (AlpConnection *connection, AlpMessage *message, gpointer cbData)
alp_status_t alp_prv_bundle_reg_notify (AlpBundle index, int flags)
alp_status_t alp_prv_bundle_unreg_notify (AlpBundle index, int flags)
alp_status_t alp_prv_bundle_deactivate (AlpBundle index, int flags)
alp_status_t alp_prv_bundle_unregister_bundle (AlpBundle index, int flags)
 Unregister a bundle from the bundle manager.
void handle_client_alp_prv_bundle_unregister_bundle (AlpConnection *connection, AlpMessage *message, gpointer cbData)
alp_status_t alp_bundle_delete (AlpBundle index, int flags)
 Delete a bundle.
void handle_client_alp_bundle_delete (AlpConnection *connection, AlpMessage *message, gpointer cbData)
alp_status_t alp_prv_bundle_hold_notifications (gboolean hold)
void handle_client_alp_prv_bundle_hold_notifications (AlpConnection *connection, AlpMessage *message, gpointer cbData)
void reset_hold ()

Variables

gboolean gHoldNotifications = TRUE
gboolean gHoldNotificationInstall = FALSE
gboolean gHoldNotificationRegister = FALSE


Function Documentation

alp_status_t alp_bundle_delete AlpBundle  bundle,
int  everything
 

Delete a bundle.

Parameters:
[in] bundle index of bundle to delete
[in] everything 1 to delete all associated data, including RW folder, global settings, etc., 0 otherwise
Returns:
Non-zero value if the deletion was not successful

void handle_client_alp_bundle_delete AlpConnection connection,
AlpMessage message,
gpointer  cbData
 

void handle_client_alp_prv_bundle_hold_notifications AlpConnection connection,
AlpMessage message,
gpointer  cbData
 

void handle_client_alp_prv_bundle_register_bundle AlpConnection connection,
AlpMessage message,
gpointer  cbData
 

void handle_client_alp_prv_bundle_unregister_bundle AlpConnection connection,
AlpMessage message,
gpointer  cbData
 

void register_props gpointer  key,
gpointer  value,
gpointer  user_data
 

void register_props_2 gpointer  key,
gpointer  value,
gpointer  user_data
 

void register_props_3 int  id,
int  seq,
char *  prop,
char *  key,
char *  value
 

void reset_hold  ) 
 


Variable Documentation

gboolean gHoldNotificationInstall = FALSE
 

gboolean gHoldNotificationRegister = FALSE
 

gboolean gHoldNotifications = TRUE
 


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