Tizen Native API
6.5
|
Intelligent Network Monitoring provides API to manage monitoring network status.
Required Header
#include <inm.h>
Overview
This set of functions is used to manage the settings of monitoring network status. In addition, This set provides functions to monitor network status using various tizen network daemons and basic linux network functions.
Functions | |
int | inm_initialize (inm_h *inm) |
Initializes INM. | |
int | inm_deinitialize (inm_h inm) |
Deinitializes INM. | |
Typedefs | |
typedef void * | inm_h |
The inm handle. | |
typedef void * | inm_connection_h |
The connection handle. | |
typedef void * | inm_connection_iterator_h |
The connections iterator handle. | |
typedef void * | inm_link_h |
The link handle. | |
typedef void * | inm_link_address_h |
The link address handle. | |
typedef void * | inm_link_route_h |
The link route table handle. |
Typedef Documentation
typedef void* inm_connection_h |
The connection handle.
- Since :
- 5.0
typedef void* inm_connection_iterator_h |
The connections iterator handle.
- Since :
- 5.0
typedef void* inm_h |
The inm handle.
- Since :
- 5.0
typedef void* inm_link_address_h |
The link address handle.
- Since :
- 5.5
typedef void* inm_link_h |
The link handle.
- Since :
- 5.5
typedef void* inm_link_route_h |
The link route table handle.
- Since :
- 5.5
Enumeration Type Documentation
enum inm_error_e |
Enumeration for Intelligent Network Monitoring (INM) error code.
- Since :
- 5.0
- Enumerator:
Function Documentation
int inm_deinitialize | ( | inm_h | inm | ) |
Deinitializes INM.
- Since :
- 5.0
- Parameters:
-
[out] inm The INM handle
- Returns:
- 0 on success, otherwise negative error value
- Return values:
-
INM_ERROR_NONE Successful INM_ERROR_INVALID_PARAMETER Invalid parameter INM_ERROR_NOT_SUPPORTED Not supported INM_ERROR_NOT_INITIALIZED Not initialized INM_ERROR_OPERATION_FAILED Operation failed
int inm_initialize | ( | inm_h * | inm | ) |
Initializes INM.
- Since :
- 5.0
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/network.get
- Remarks:
- You must release inm using inm_deinitialize().
- Parameters:
-
[out] inm The INM handle
- Returns:
0
on success, otherwise negative error value
- Return values:
-
INM_ERROR_NONE Successful INM_ERROR_OUT_OF_MEMORY Out of memory INM_ERROR_PERMISSION_DENIED Permission Denied INM_ERROR_INVALID_PARAMETER Invalid parameter INM_ERROR_NOT_SUPPORTED Not supported INM_ERROR_ALREADY_INITIALIZED Already initialized INM_ERROR_OPERATION_FAILED Operation failed