Typedefs |
typedef struct data_control_s * | data_control_h |
| The structure type for the provider handle.
|
Data control is a standard mechanism for exchanging specific data between applications.
Required Header
#include <data_control.h>
Overview
All applications can request data shared by other applications using data control. However, only service applications can provide their own data. There are 2 types of data controls:
- DATA_CONTROL_SQL This allows you to use a SQL-type data control to access the specific data exported by other service applications. You can also define a SQL-type data control provider to export specific data from your service application.
- DATA_CONTROL_MAP This allows you to use a key value-type data control to access the data exported by other service applications. You can also define an key value-type data control provider to export the specific data from your service application.
Typedef Documentation
The structure type for the provider handle.
- Since :
- 2.3
Enumeration Type Documentation
Enumeration for the various error-codes an API can return.
- Since :
- 2.3
- Enumerator:
DATA_CONTROL_ERROR_NONE |
Successful
|
DATA_CONTROL_ERROR_OUT_OF_MEMORY |
Out of memory
|
DATA_CONTROL_ERROR_IO_ERROR |
I/O error
|
DATA_CONTROL_ERROR_INVALID_PARAMETER |
Invalid parameter
|
DATA_CONTROL_ERROR_PERMISSION_DENIED |
Permission denied
|
DATA_CONTROL_ERROR_MAX_EXCEEDED |
Too long argument
|
Enumeration for different types of columns in a SQL table.
- Since :
- 2.3
- Enumerator:
DATA_CONTROL_SQL_COLUMN_TYPE_UNDEFINED |
undefined type
|
DATA_CONTROL_SQL_COLUMN_TYPE_INT64 |
integer type
|
DATA_CONTROL_SQL_COLUMN_TYPE_DOUBLE |
double type
|
DATA_CONTROL_SQL_COLUMN_TYPE_TEXT |
text type
|
DATA_CONTROL_SQL_COLUMN_TYPE_BLOB |
blob type
|
DATA_CONTROL_SQL_COLUMN_TYPE_NULL |
null value
|