14 #ifndef _APPD_IOT_DEF_H_ 15 #define _APPD_IOT_DEF_H_ 423 #define APPD_IOT_NUM_SERVER_CORRELATION_HEADERS 2 480 memset(ptr, 0, size);
Definition: appd_iot_def.h:111
Definition: appd_iot_def.h:50
AppDynamics Network Request Event Mandatory: url and timestamp_ms Fields.
Definition: appd_iot_def.h:244
AppDynamics Associative Array Data Structure Underlying implementation is a Sequential List of <key...
Definition: appd_iot_def.h:204
int duration_ms
Definition: appd_iot_def.h:370
appd_iot_sdk_state_t
Enums for SDK State.
Definition: appd_iot_def.h:59
int64_t datetimeval
Definition: appd_iot_def.h:213
Definition: appd_iot_def.h:44
const char * os_version
Definition: appd_iot_def.h:178
int duration_ms
Definition: appd_iot_def.h:326
Definition: appd_iot_def.h:42
const char * device_type
Definition: appd_iot_def.h:168
Definition: appd_iot_def.h:62
const char * device_id
Definition: appd_iot_def.h:170
int64_t timestamp_ms
Definition: appd_iot_def.h:263
const char * summary
Definition: appd_iot_def.h:228
Definition: appd_iot_def.h:107
Definition: appd_iot_def.h:36
const char * device_name
Definition: appd_iot_def.h:166
bool boolval
Definition: appd_iot_def.h:210
Definition: appd_iot_def.h:97
Definition: appd_iot_def.h:85
int64_t timestamp_ms
Definition: appd_iot_def.h:230
Definition: appd_iot_def.h:101
const char * thread
Definition: appd_iot_def.h:302
const char * symbol_name
Definition: appd_iot_def.h:279
Definition: appd_iot_def.h:192
int data_count
Definition: appd_iot_def.h:234
appd_iot_http_req_send_cb_t http_req_send_cb
Definition: appd_iot_def.h:416
double doubleval
Definition: appd_iot_def.h:212
Definition: appd_iot_def.h:81
const char * type
Definition: appd_iot_def.h:226
Definition: appd_iot_def.h:40
int data_count
Definition: appd_iot_def.h:334
void(* appd_iot_sdk_state_change_cb_t)(appd_iot_sdk_state_t sdk_state)
This Callback function gets triggered whenever sdk state changes. SDK states are given in appd_iot_sd...
Definition: appd_iot_def.h:137
const appd_iot_data_t * appd_iot_get_server_correlation_headers(void) __APPD_IOT_API
Get Server Correlation headers in {key,value} format that need to be added to every outgoing http req...
Definition: config.cpp:204
static void appd_iot_data_set_integer(appd_iot_data_t *data, const char *key, int64_t value)
Sets data field attributes for 64 bit integer value.
Definition: appd_iot_def.h:428
AppDynamics Device Information Mandatory: Device Type and Device ID Fields.
Definition: appd_iot_def.h:163
Definition: appd_iot_def.h:38
int error_stack_trace_index
Definition: appd_iot_def.h:330
Definition: appd_iot_def.h:48
static void appd_iot_data_set_double(appd_iot_data_t *data, const char *key, double value)
Sets data field attributes for double value.
Definition: appd_iot_def.h:438
int resp_content_length
Definition: appd_iot_def.h:255
appd_iot_stack_trace_t * stack_trace
Definition: appd_iot_def.h:332
AppDynamics Error Event This structure can be used to send error or exception or a crash...
Definition: appd_iot_def.h:315
const char * eum_collector_url
Definition: appd_iot_def.h:148
appd_iot_log_level_t
Log Level Enums returned for all API calls.
Definition: appd_iot_def.h:94
const char * key
Definition: appd_iot_def.h:206
const char * content
Definition: appd_iot_def.h:378
const char * appd_iot_error_code_to_str(appd_iot_error_code_t error_code) __APPD_IOT_API
Convert error code to string.
Definition: log.cpp:193
const char * message
Definition: appd_iot_def.h:320
int image_offset
Definition: appd_iot_def.h:289
appd_iot_data_t * headers
Definition: appd_iot_def.h:353
int stack_trace_count
Definition: appd_iot_def.h:328
Definition: appd_iot_def.h:64
appd_iot_error_code_t
Error Code Enums for SDK log.
Definition: appd_iot_def.h:27
int data_count
Definition: appd_iot_def.h:265
Definition: appd_iot_def.h:194
Definition: appd_iot_def.h:109
int resp_code
Definition: appd_iot_def.h:257
const char * package_name
Definition: appd_iot_def.h:281
int64_t timestamp_ms
Definition: appd_iot_def.h:324
Definition: appd_iot_def.h:103
const char * url
Definition: appd_iot_def.h:349
Definition: appd_iot_def.h:105
AppDynamics Stack Frame This structure captures a single element in the stack frame Each stack fr...
Definition: appd_iot_def.h:276
static void appd_iot_data_set_boolean(appd_iot_data_t *data, const char *key, bool value)
Sets data field attributes for boolean value.
Definition: appd_iot_def.h:458
int req_content_length
Definition: appd_iot_def.h:253
const char * data
Definition: appd_iot_def.h:357
const char * hw_version
Definition: appd_iot_def.h:172
uint64_t absolute_addr
Definition: appd_iot_def.h:287
const char * url
Definition: appd_iot_def.h:247
appd_iot_log_level_t log_level
Definition: appd_iot_def.h:150
Definition: appd_iot_def.h:52
static void appd_iot_init_to_zero(void *ptr, size_t size)
Initializes memory block pointed by ptr to zero.
Definition: appd_iot_def.h:478
const char * strval
Definition: appd_iot_def.h:209
appd_iot_error_severity_t
Severity of the errors occured in the application.
Definition: appd_iot_def.h:78
Definition: appd_iot_def.h:68
AppDynamics HTTP Response Structure Mandatory: One of the resp_code or error fields should be popul...
Definition: appd_iot_def.h:365
Definition: appd_iot_def.h:188
appd_iot_data_t * data
Definition: appd_iot_def.h:236
appd_iot_data_t * resp_headers
Definition: appd_iot_def.h:261
static void appd_iot_data_set_datetime(appd_iot_data_t *data, const char *key, int64_t value)
Sets data field attributes for datetime value.
Definition: appd_iot_def.h:448
Definition: appd_iot_def.h:87
appd_iot_data_t * data
Definition: appd_iot_def.h:336
const char * file_name
Definition: appd_iot_def.h:283
Definition: appd_iot_def.h:190
appd_iot_data_t * data
Definition: appd_iot_def.h:267
appd_iot_data_types_t value_type
Definition: appd_iot_def.h:215
Definition: appd_iot_def.h:66
Definition: appd_iot_def.h:83
int64_t intval
Definition: appd_iot_def.h:211
void(* appd_iot_http_resp_done_cb_t)(appd_iot_http_resp_t *http_resp)
Http Response Done Callback is triggered after http send callback returns and http response is proc...
Definition: appd_iot_def.h:407
void(* appd_iot_log_write_cb_t)(const char *logmsg, size_t logmsg_len)
Log Write Callback implements the functionality to process log messages The callback implementation...
Definition: appd_iot_def.h:124
appd_iot_data_t * headers
Definition: appd_iot_def.h:374
int lineno
Definition: appd_iot_def.h:285
int duration_ms
Definition: appd_iot_def.h:232
AppDynamics SDK Configuration Mandatory: All Fields.
Definition: appd_iot_def.h:143
appd_iot_http_resp_t *(* appd_iot_http_req_send_cb_t)(const appd_iot_http_req_t *http_req)
Http Request Send Callback implements the functionality to send HTTP Request The callback implement...
Definition: appd_iot_def.h:395
int headers_count
Definition: appd_iot_def.h:351
size_t content_len
Definition: appd_iot_def.h:376
int stack_frame_count
Definition: appd_iot_def.h:306
Definition: appd_iot_def.h:196
Definition: appd_iot_def.h:32
const char * error
Definition: appd_iot_def.h:249
const char * name
Definition: appd_iot_def.h:318
int resp_headers_count
Definition: appd_iot_def.h:259
AppDynamics HTTP Request Structure Mandatory: All Fields Data is provided in raw format...
Definition: appd_iot_def.h:346
appd_iot_error_severity_t severity
Definition: appd_iot_def.h:322
appd_iot_data_types_t
AppDynamics Data Types.
Definition: appd_iot_def.h:185
int headers_count
Definition: appd_iot_def.h:372
Definition: appd_iot_def.h:30
Definition: appd_iot_def.h:99
AppDynamics Stack Trace This structure captures the strack trace.
Definition: appd_iot_def.h:299
appd_iot_http_resp_done_cb_t http_resp_done_cb
Definition: appd_iot_def.h:417
AppDynamics HTTP Callback list Mandatory: http_req_send_cb and http_resp_done_cb fields...
Definition: appd_iot_def.h:414
int symbol_offset
Definition: appd_iot_def.h:291
const char * appkey
Definition: appd_iot_def.h:146
Definition: appd_iot_def.h:46
int resp_code
Definition: appd_iot_def.h:368
Definition: appd_iot_def.h:34
const char * sw_version
Definition: appd_iot_def.h:176
Definition: appd_iot_def.h:72
int duration_ms
Definition: appd_iot_def.h:251
const char * fw_version
Definition: appd_iot_def.h:174
appd_iot_stack_frame_t * stack_frame
Definition: appd_iot_def.h:304
appd_iot_log_write_cb_t log_write_cb
Definition: appd_iot_def.h:153
AppDynamics Custom Event Mandatory: type, summary and timestamp_ms Fields.
Definition: appd_iot_def.h:223
const char * appd_iot_sdk_state_to_str(appd_iot_sdk_state_t sdk_state) __APPD_IOT_API
Convert sdk state to string.
Definition: log.cpp:203
appd_iot_sdk_state_change_cb_t sdk_state_change_cb
Definition: appd_iot_def.h:155
const char * type
Definition: appd_iot_def.h:355
appd_iot_error_code_t error
Definition: appd_iot_def.h:382
const void * user_data
Definition: appd_iot_def.h:380
Definition: appd_iot_def.h:70
static void appd_iot_data_set_string(appd_iot_data_t *data, const char *key, const char *value)
Sets data field attributes for string value.
Definition: appd_iot_def.h:468
#define __APPD_IOT_API
Definition: appd_iot_interface.h:26