38 #ifndef OPENAPI_APP_CTRL_H_INCLUDED
39 #define OPENAPI_APP_CTRL_H_INCLUDED
44 #define OPEN_APP_CTRL_NAME_SIZE 17
45 #define OPEN_APP_CTRL_STATUS_SIZE 512
46 #define OPEN_APP_CTRL_VERSION_SIZE 20
117 uint32_t *maxMemory);
153 uint32_t *maxMemory);
open_error_t openapiAppCtrlEntryCreate(openapiClientHandle_t *client_handle, open_buffdesc *appName)
Creates a new Application Process Table entry for the given file name.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiAppCtrlStatusGet(openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *status)
Get application operational status.
open_error_t openapiAppCtrlEntryDelete(openapiClientHandle_t *client_handle, open_buffdesc *appName)
Deletes an Application Process Table entry for the given file name.
open_error_t openapiAppCtrlVersionSet(openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *version)
Set application version identifier.
open_error_t openapiAppCtrlStart(openapiClientHandle_t *client_handle, open_buffdesc *appName)
Starts the process with Process Manager using the parameters configured in the process entry...
open_error_t openapiAppCtrlAttrSet(openapiClientHandle_t *client_handle, open_buffdesc *appName, OPEN_CONTROL_t *startOnBoot, OPEN_CONTROL_t *autoRestart, uint32_t *cpuShare, uint32_t *maxMemory)
Sets start on boot, auto-restart, CPU sharing and memory limit settings for the process entry...
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiAppCtrlStop(openapiClientHandle_t *client_handle, open_buffdesc *appName)
Stops the process with Process Manager.
open_error_t openapiAppCtrlAttrGet(openapiClientHandle_t *client_handle, open_buffdesc *appName, OPEN_CONTROL_t *startOnBoot, OPEN_CONTROL_t *autoRestart, uint32_t *cpuShare, uint32_t *maxMemory)
Gets start on boot, auto-restart, CPU sharing and memory limit settings for the process entry...
open_error_t openapiAppCtrlStatusSet(openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *status)
Set application operational status.
open_error_t openapiAppCtrlVersionGet(openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *version)
Get application version identifier.