Tizen Native API  5.0
Intelligent Network Monitoring

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 Documentation

typedef void* inm_connection_h

The connection handle.

Since :
5.0

The connections iterator handle.

Since :
5.0
typedef void* inm_h

The inm handle.

Since :
5.0

Enumeration Type Documentation

Enumeration for Intelligent Network Monitoring (INM) error code.

Since :
5.0
Enumerator:
INM_ERROR_NONE 

Successful

INM_ERROR_NOT_PERMITTED 

Operation not permitted(1)

INM_ERROR_OUT_OF_MEMORY 

Out of memory(12)

INM_ERROR_PERMISSION_DENIED 

Permission denied(13)

INM_ERROR_RESOURCE_BUSY 

Device or resource busy(16)

INM_ERROR_INVALID_PARAMETER 

Invalid function parameter(22)

INM_ERROR_CONNECTION_TIME_OUT 

Connection timed out(110)

INM_ERROR_NOW_IN_PROGRESS 

Now in progress(115)

INM_ERROR_NOT_SUPPORTED 

Not supported

INM_ERROR_NOT_INITIALIZED 

Not initialized

INM_ERROR_ALREADY_INITIALIZED 

Already initialized

INM_ERROR_OPERATION_FAILED 

Operation failed


Function Documentation

int inm_deinitialize ( inm_h  inm)

Deinitializes INM.

Since :
5.0
Parameters:
[out]inmThe INM handle
Returns:
0 on success, otherwise negative error value
Return values:
INM_ERROR_NONESuccessful
INM_ERROR_INVALID_PARAMETERInvalid parameter
INM_ERROR_NOT_SUPPORTEDNot supported
INM_ERROR_NOT_INITIALIZEDNot initialized
INM_ERROR_OPERATION_FAILEDOperation 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]inmThe INM handle
Returns:
0 on success, otherwise negative error value
Return values:
INM_ERROR_NONESuccessful
INM_ERROR_OUT_OF_MEMORYOut of memory
INM_ERROR_PERMISSION_DENIEDPermission Denied
INM_ERROR_INVALID_PARAMETERInvalid parameter
INM_ERROR_NOT_SUPPORTEDNot supported
INM_ERROR_ALREADY_INITIALIZEDAlready initialized
INM_ERROR_OPERATION_FAILEDOperation failed