* limitations under the License.
*/
-
#ifndef __AUL_UTIL_H_
#define __AUL_UTIL_H_
#define MAX_PACKAGE_APP_PATH_SIZE 512
#define MAX_RUNNING_APP_INFO 512
-typedef struct _app_status_info_t{
- char appid[MAX_PACKAGE_STR_SIZE];
- char app_path[MAX_PACKAGE_APP_PATH_SIZE];
- int status;
- int pid;
+typedef struct _app_status_info_t {
+ char appid[MAX_PACKAGE_STR_SIZE];
+ char app_path[MAX_PACKAGE_APP_PATH_SIZE];
+ int status;
+ int pid;
} app_status_info_t;
struct amdmgr {
- struct appinfomgr *af; /* appinfo manager */
- struct cginfo *cg; /* cgroup infomation */
+ struct appinfomgr *af; /* appinfo manager */
+ struct cginfo *cg; /* cgroup infomation */
};
int _add_app_status_info_list(char *appid, int pid);
#endif
-
-