#define PKGMGR_PARSER_EMPTY_STR ""
#define GLOBAL_USER tzplatform_getuid(TZ_SYS_GLOBALAPP_USER)
+/**
+ * @brief API return values
+ */
+enum {
+ PM_PARSER_R_EINVAL = -2, /**< Invalid argument */
+ PM_PARSER_R_ERROR = -1, /**< General error */
+ PM_PARSER_R_OK = 0 /**< General success */
+};
/**
* @brief List definitions.
} appsvc_x;
typedef struct appcontrol_x {
- const char *text;
- struct operation_x *operation;
- struct uri_x *uri;
- struct mime_x *mime;
- struct subapp_x *subapp;
+ const char *operation;
+ const char *uri;
+ const char *mime;
struct appcontrol_x *prev;
struct appcontrol_x *next;
} appcontrol_x;
const char *root_path; /**< package root path*/
const char *csc_path; /**< package csc path*/
const char *nodisplay_setting; /**< package no display setting menu*/
- const char *main_package; /**< main package id for sub-package(ug)*/
+ const char *api_version; /**< minimum version of API package using*/
struct icon_x *icon; /**< package icon*/
struct label_x *label; /**< package label*/
struct author_x *author; /**< package author*/