|
Defines |
#define | DEFAULT_BUNDLE_WORK_PATH "/tmp/bundlemgr/work/" |
#define | BAR_LINK_PATH "links" |
#define | BAR_MOUNT_PATH "mounts" |
#define | BAR_LD_PATH "libs" |
#define | DEFAULT_BUNDLE_RW_PATH ALP_SYSPATH_BUNDLE_DATA |
#define | BAR_RW_PATH "bar/%s" |
#define | BAR_DEFAULT_SEARCHPATH "/rsc/^l/:/" |
#define | BAR_DEFAULT_TEXTDOMAIN_NAME "bar-^n" |
#define | BAR_DEFAULT_TEXTDOMAIN_DIR "rsc" |
#define | NOTIFY_NAME "bundlemgr_d" |
#define | BAR_LIBPATH "/libalp_%s.so" |
#define | BAR_DEFAULT_SEARCH "alp_main" |
#define | DEFAULT_IPC_CHANNEL "ALPBundleMgr" |
#define | DEFAULT_DATABASE ALP_SYSPATH_SYSTEM_CACHE "bundlemgr/bundle_mgr.db" |
#define | DEFAULT_LIVE_DATABASE "/tmp/bundlemgr/live_bundle_mgr.db" |
#define | SQLITE_RETRY_MS 10000 |
#define | PM_CURRENT_DB_VERSION 16 |
#define | BUNDLE_SCHEME_BAR 1 |
#define | BUNDLE_SCHEME_GHOST 2 |
#define | BUNDLE_SCHEME_JAVA 3 |
#define | BUNDLE_SCHEME_NAME_BAR "bar" |
#define | BUNDLE_SCHEME_NAME_GHOST "GHost" |
#define | BUNDLE_SCHEME_NAME_JAVA "java" |
#define | MIME_TYPE_PRC "application/vnd.palm" |
#define | MIME_TYPE_PRC_2 "application/x-pilot" |
#define | MIME_TYPE_BAR "x-application/access-bar" |
#define | MIME_TYPE_JAR "application/java-archive" |
#define | MIME_TYPE_JAD "text/vnd.sun.j2me.app-descriptor" |
Enumerations |
enum | { STATUS_UNINIT = 0,
STATUS_CLIENT = 1,
STATUS_SERVER = 2
} |
Functions |
alp_status_t | register_volsvc_hooks () |
GList * | pm_prv_searchpath (const char *path) |
int | mkdir_p (const char *path, int mode) |
int | rmdir_contents (const char *path) |
gchar * | hypotheticalpath (const char *path) |
void | wipe_locales () |
int | alp_prv_associated_data (const char *name) |
int | alp_prv_folder_empty (const char *path, int status_on_missing) |
alp_status_t | alp_prv_bundle_setup_schema () |
void | alp_prv_package_clear_refs () |
alp_status_t | my_sync_notify (const char *appID, const char *notifyType, void *details, int length, int queue, int flags, int timeout, int *handled) |
alp_status_t | my_async_notify (const char *appID, const char *notifyType, void *details, int length, int queue, int flags) |
void | destroy_notify_pool (void) |
AlpBundle | alp_prv_bundle_image_install_fd (const char *provide_filename, const char *provide_mimetype, int fd, const char *destination_store, int flags, GHashTable **metadata_p, GHashTable **properties_p, AlpBundleProgressiveData *progress, AlpConnection *connection) |
void | alp_prv_bundle_clear_local_effects () |
void | reset_hold () |
alp_status_t | set_error (alp_status_t status) |
int | safe_sql_fillin (char *str, const char *fillin) |
Variables |
int | pm_status |
sqlite3 * | db |
AlpChannel * | pm_server_channel |
AlpConnection * | pm_client_connection |
GHashTable * | gConnectionTable |
AlpGlobalSettingsContext * | gGSContext |
gboolean | gNotify |
const char * | gBundleRWPath |
const char * | gBundleWorkPath |
gboolean | gHoldNotifications |
gboolean | gHoldNotificationInstall |
gboolean | gHoldNotificationRegister |
int | lock |