unleashed-firmware/applications/examples/example_plugins/plugin_interface.h
2024-03-10 23:35:44 +03:00

17 lines
325 B
C

/**
* @file plugin_interface.h
* @brief Example plugin interface.
*
* Common interface between a plugin and host application
*/
#pragma once
#define PLUGIN_APP_ID "example_plugins"
#define PLUGIN_API_VERSION 1
typedef struct {
const char* name;
int (*method1)();
int (*method2)(int, int);
} ExamplePlugin;