Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.4.4.5
Macros | Functions
openapi_app_ctrl.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Macros

#define OPEN_APP_CTRL_NAME_SIZE   17
 
#define OPEN_APP_CTRL_STATUS_SIZE   512
 
#define OPEN_APP_CTRL_VERSION_SIZE   20
 

Functions

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 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_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 openapiAppCtrlEntryDelete (openapiClientHandle_t *client_handle, open_buffdesc *appName)
 Deletes an Application Process Table entry for the given file name.
 
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 openapiAppCtrlStatusGet (openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *status)
 Get application operational status.
 
open_error_t openapiAppCtrlStatusSet (openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *status)
 Set application operational status.
 
open_error_t openapiAppCtrlStop (openapiClientHandle_t *client_handle, open_buffdesc *appName)
 Stops the process with Process Manager.
 
open_error_t openapiAppCtrlVersionGet (openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *version)
 Get application version identifier.
 
open_error_t openapiAppCtrlVersionSet (openapiClientHandle_t *client_handle, open_buffdesc *appName, open_buffdesc *version)
 Set application version identifier.