: nply/dwhkd

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
/* Versioned C ABI for plugins/<name>/plugin.dll (64-bit Windows). */
#ifndef SXHKD_PLUGIN_H
#define SXHKD_PLUGIN_H
#define SXHKD_PLUGIN_ABI 1
/* Export both names with C linkage; return 0 on invoke success, nonzero on error.
 * Arguments are raw bytes from the config (often UTF-8, not validated).
 * The plugin owns parsing and obtains live HWND or other values when invoked. */
typedef int (__cdecl *sxhkd_plugin_abi_fn)(void);
typedef int (__cdecl *sxhkd_plugin_invoke_fn)(const char *action, const char *arguments);
#endif