librpa_global.h Source File

librpa_global.h Source File#

LibRPA: librpa_global.h Source File
LibRPA
librpa_global.h
Go to the documentation of this file.
1#pragma once
14
15#include "librpa_enums.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
26const char* librpa_get_build_info(void);
27
34
41
48
63 const char *redirect_path = "stdout",
64 LibrpaSwitch switch_process_output = LIBRPA_SWITCH_ON);
65
73
80void librpa_test(void);
81
89
90#ifdef __cplusplus
91}
92#endif
Enumeration types and constants for LibRPA.
int LibrpaSwitch
Boolean switch type.
Definition librpa_enums.h:91
#define LIBRPA_SWITCH_OFF
Switch value for disabled/off state (equivalent to false).
Definition librpa_enums.h:23
#define LIBRPA_SWITCH_ON
Switch value for enabled/on state (equivalent to true).
Definition librpa_enums.h:26
void librpa_init_global(LibrpaSwitch switch_redirect_stdout=LIBRPA_SWITCH_OFF, const char *redirect_path="stdout", LibrpaSwitch switch_process_output=LIBRPA_SWITCH_ON)
Initialize the global LibRPA environment.
int librpa_get_major_version(void)
Get major version number.
void librpa_finalize_global(void)
Finalize the global LibRPA environment.
void librpa_test(void)
Run internal self-tests.
void librpa_print_profile(void)
Print profiling information.
int librpa_get_minor_version(void)
Get minor version number.
const char * librpa_get_build_info(void)
Get build information string.
int librpa_get_patch_version(void)
Get patch version number.