data_types.c File Reference

Data types module implementation file. More...

#include "data_types.h"
Include dependency graph for data_types.c:

Go to the source code of this file.

Variables

string_t meta_field_names [META_FIELD_NAMES_END]
 
string_t meta_field_values [META_FIELD_VALUES_END]
 
string_t payload_field_names [PAYLOAD_FIELD_NAMES_END]
 
string_t payload_field_values [PAYLOAD_FIELD_VALUES_END]
 
string_t content_type_values [CONTENT_TYPE_VALUES_END]
 

Detailed Description

Data types module implementation file.


Date
Jul 11, 2016

Definition in file data_types.c.

Variable Documentation

string_t content_type_values[CONTENT_TYPE_VALUES_END]
Initial value:
=
{
{"application/octet-stream", 24, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"text/plain", 10, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"application/json", 16, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"multipart/mixed", 15, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"multipart/related", 17, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"application/vnd.siemens.mindsphere.meta+json", 44, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"application/x-www-form-urlencoded", 33, MCL_STRING_NOT_COPY_NOT_DESTROY},
}
Strings with this type will NOT allocate its buffer during initialization (buffer only points of the ...
Definition: string_type.h:37

Definition at line 94 of file data_types.c.

Referenced by _exchange_initialize_http_request_headers(), _exchange_store_data_get_content_info(), http_processor_get_access_token(), http_processor_register(), http_request_add_header(), http_request_add_tuple(), and http_request_start_tuple_sub_section().

string_t meta_field_names[META_FIELD_NAMES_END]
Initial value:
=
{
{"configurationId", 15, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"creationDate", 12, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"totalItems", 10, MCL_STRING_NOT_COPY_NOT_DESTROY},
}
Strings with this type will NOT allocate its buffer during initialization (buffer only points of the ...
Definition: string_type.h:37

Definition at line 16 of file data_types.c.

Referenced by _add_item_meta_details(), _add_item_meta_payload(), _add_item_meta_payload_details(), and json_from_item_meta().

string_t meta_field_values[META_FIELD_VALUES_END]
Initial value:
=
{
{"standardTimeSeries", 18, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"businessEvent", 13, MCL_STRING_NOT_COPY_NOT_DESTROY},
{"dataSourceConfiguration", 23, MCL_STRING_NOT_COPY_NOT_DESTROY},
}
Strings with this type will NOT allocate its buffer during initialization (buffer only points of the ...
Definition: string_type.h:37

Definition at line 36 of file data_types.c.

Referenced by _add_item_meta_payload_details(), _initialize_custom_data_meta_fields(), _initialize_meta(), file_initialize(), and mcl_store_new_event().

string_t payload_field_values[PAYLOAD_FIELD_VALUES_END]
Initial value:
=
{
{"application", 11, MCL_STRING_NOT_COPY_NOT_DESTROY}
}
Strings with this type will NOT allocate its buffer during initialization (buffer only points of the ...
Definition: string_type.h:37

Definition at line 84 of file data_types.c.