Prepare files for public release

This commit is contained in:
2026-01-24 10:45:51 -05:00
parent 9898e6c975
commit 048e39016a
41 changed files with 2641 additions and 0 deletions

26
include/lib_c_control.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef CONTROL_LIBRARY_H
#define CONTROL_LIBRARY_H
#if defined(_WIN32) || defined(__CYGWIN__)
#ifdef CONTROL_EXPORTS
#define LIB_API __declspec(dllexport)
#else
#define LIB_API __declspec(dllimport)
#endif
#else
#define LIB_API __attribute__((visibility("default")))
#endif
extern "C" {
LIB_API void init();
LIB_API void cleanup();
LIB_API int send_angle_control(int module_id, int angle);
LIB_API char *get_configuration(int *size_out);
LIB_API bool control_sentry_init(const char *dsn, const char *environment, const char *release);
LIB_API void control_sentry_set_app_info(const char *app_name, const char *app_version,
const char *build_number);
LIB_API void control_sentry_shutdown(void);
}
#endif // CONTROL_LIBRARY_H