|
@@ -18,9 +18,9 @@ typedef int clish_plugin_init_t(clish_plugin_t *plugin);
|
|
|
clish_plugin_t *clish_plugin_new(const char *name, const char *file);
|
|
|
void clish_plugin_free(clish_plugin_t *instance);
|
|
|
void *clish_plugin_load(clish_plugin_t *instance);
|
|
|
-clish_plugin_fn_t *clish_plugin_dlsym(clish_plugin_t *instance,
|
|
|
+clish_plugin_fn_t *clish_plugin_get_sym(clish_plugin_t *instance,
|
|
|
const char *name);
|
|
|
-int clish_plugin_sym(clish_plugin_t *instance,
|
|
|
+int clish_plugin_add_sym(clish_plugin_t *instance,
|
|
|
clish_plugin_fn_t *func, const char *name);
|
|
|
|
|
|
#endif /* _clish_plugin_h */
|