Plugin API
The API documentation of buzzay-plugin.h.
Structures
-
struct bz_plugin
The plugin wrapper structure that contains important metadata like plugin name, path, and the buzzay server.
Public Members
-
const char *plugin_name
The name of the plugin.
-
const char *plugin_path
The version number of the plugin.
-
void *data
Any data that you can insert into the plugin.
Enums
-
enum bz_decoration_mode
Decoration modes
Values:
-
enumerator BZ_DECORATION_CLIENT_SIDE
Let the client draw their own decoration
-
enumerator BZ_DECORATION_SERVER_SIDE
Does not apply any decoration
API Functions
-
void write_ipc_response(int client_fd, const char *msg)
Send a message back to the IPC client.
-
void bz_quit(struct bz_plugin *plugin)
Quit buzzay.
-
void bz_abort_plugin(struct bz_plugin *plugin)
Abort the plugin.
-
void bz_set_decoration_mode(struct bz_plugin *plugin, enum bz_decoration_mode mode)
Set window decoration mode.