Dynatrace OneAgent SDK for C/C++  1.7.1.1
Typedefs | Functions
onesdk_init.h File Reference

Defines SDK initialization and shutdown functions. More...

Go to the source code of this file.

Typedefs

typedef void onesdk_stub_logging_callback_t(onesdk_logging_level_t level, onesdk_xchar_t const *message)
 SDK stub logging function prototype. More...
 

Functions

void onesdk_stub_get_version (onesdk_stub_version_t *out_stub_version)
 Retrieves the stub version number. More...
 
onesdk_xchar_t const * onesdk_stub_xstrerror (onesdk_result_t error_code, onesdk_xchar_t *buffer, onesdk_size_t buffer_length)
 Retrieves a human readable error message corresponding to an error code that was returned by the SDK stub. More...
 
onesdk_bool_t onesdk_stub_is_sdk_cmdline_arg (onesdk_xchar_t const *arg)
 Determines whether a command line argument is an SDK argument. More...
 
onesdk_result_t onesdk_stub_process_cmdline_arg (onesdk_xchar_t const *arg, onesdk_bool_t replace_existing)
 Processes one command line argument. More...
 
onesdk_result_t onesdk_stub_process_cmdline_args (int argc, onesdk_xchar_t const *const *argv, onesdk_bool_t replace_existing)
 Processes multiple command line arguments. More...
 
onesdk_result_t onesdk_stub_strip_sdk_cmdline_args (int *argc, onesdk_xchar_t **argv)
 Removes SDK command line arguments from an argv array. More...
 
onesdk_result_t onesdk_stub_set_variable (onesdk_xchar_t const *var, onesdk_bool_t replace_existing)
 Sets an SDK initialization variable. More...
 
void onesdk_stub_free_variables (void)
 Clears all SDK initialization variables. More...
 
void onesdk_stub_default_logging_function (onesdk_logging_level_t level, onesdk_xchar_t const *message)
 The default SDK stub logging function - writes to stderr. More...
 
void onesdk_stub_set_logging_level (onesdk_logging_level_t level)
 Sets the SDK stub logging level. More...
 
void onesdk_stub_set_logging_callback (onesdk_stub_logging_callback_t *stub_logging_callback)
 Sets the SDK stub logging callback function. More...
 
onesdk_result_t onesdk_initialize (void)
 Load and initialize the SDK agent. More...
 
onesdk_result_t onesdk_initialize_2 (onesdk_uint32_t init_flags)
 Load and initialize the SDK agent, with additional flags. More...
 
onesdk_result_t onesdk_shutdown (void)
 Shut down and unload the SDK agent. More...
 
void onesdk_stub_get_agent_load_info (onesdk_bool_t *agent_found, onesdk_bool_t *agent_compatible)
 Retrieves debug information about the currently used agent. More...
 

Detailed Description

Defines SDK initialization and shutdown functions.