Tizen Native API
5.0
|
The STC API provides functions for managing and monitoring network packets.
#include <stc.h>
This functions is used to initialize the settings of Smart Traffic Control.
This API is related with the following features:
It is recommended to use features in your application for reliability.
You can check if a device supports the related features for this API by using System Information, thereby controlling the procedure of your application.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in the Feature Element.
Functions | |
int | stc_initialize (stc_h *stc) |
Initializes STC (Smart Traffic Control). | |
int | stc_deinitialize (stc_h stc) |
Deinitializes STC. | |
Typedefs | |
typedef void * | stc_h |
The smart traffic control handle. |
typedef void* stc_h |
The smart traffic control handle.
enum stc_error_e |
Enumeration for Smart Traffic Control (STC) error type.
int stc_deinitialize | ( | stc_h | stc | ) |
Deinitializes STC.
[in] | stc | The STC handle |
STC_ERROR_NONE | Successful |
STC_ERROR_OPERATION_FAILED | General error |
STC_ERROR_OUT_OF_MEMORY | Out of memory |
STC_ERROR_INVALID_PARAMETER | Invalid parameter |
STC_ERROR_INVALID_OPERATION | Invalid operation |
STC_ERROR_NOT_INITIALIZED | Not initialized |
STC_ERROR_NOT_SUPPORTED | Not supported |
int stc_initialize | ( | stc_h * | stc | ) |
Initializes STC (Smart Traffic Control).
[out] | stc | The STC handle |
STC_ERROR_NONE | Successful |
STC_ERROR_OPERATION_FAILED | General error |
STC_ERROR_OUT_OF_MEMORY | Out of memory |
STC_ERROR_INVALID_PARAMETER | Invalid parameter |
STC_ERROR_INVALID_OPERATION | Invalid operation |
STC_ERROR_NOT_SUPPORTED | Not supported |
STC_ERROR_PERMISSION_DENIED | Permission denied |