|
Zen-C
|
#include "plugin_manager.h"#include <dlfcn.h>#include <stdio.h>#include <stdlib.h>#include <string.h>
Data Structures | |
| struct | PluginNode |
Typedefs | |
| typedef struct PluginNode | PluginNode |
Functions | |
| void | zptr_plugin_mgr_init (void) |
| Initialize the plugin system. | |
| void | zptr_register_plugin (ZPlugin *plugin) |
| Register a plugin directly (for built-in plugins). | |
| ZPlugin * | zptr_load_plugin (const char *path) |
| Load a plugin from a shared object file (.so). | |
| ZPlugin * | zptr_find_plugin (const char *name) |
| Find a registered plugin by name. | |
| void | zptr_plugin_mgr_cleanup (void) |
| Cleanup the plugin system and free resources. | |
| typedef struct PluginNode PluginNode |
| ZPlugin * zptr_find_plugin | ( | const char * | name | ) |
Find a registered plugin by name.
| name | The name of the plugin. |

| ZPlugin * zptr_load_plugin | ( | const char * | path | ) |
Load a plugin from a shared object file (.so).
| path | Path to the shared object file. |

| void zptr_plugin_mgr_cleanup | ( | void | ) |
Cleanup the plugin system and free resources.

| void zptr_plugin_mgr_init | ( | void | ) |
Initialize the plugin system.

| void zptr_register_plugin | ( | ZPlugin * | plugin | ) |
Register a plugin directly (for built-in plugins).
| plugin | The plugin to register. |
