iplugin.h 504 B

12345678910111213141516171819202122232425262728
  1. /** @file iplugin.h
  2. *
  3. * @brief Klish scheme's "plugin" entry
  4. */
  5. #ifndef _klish_iplugin_h
  6. #define _klish_iplugin_h
  7. #include <klish/kplugin.h>
  8. typedef struct iplugin_s {
  9. char *name;
  10. char *id;
  11. char *file;
  12. char *conf;
  13. } iplugin_t;
  14. C_DECL_BEGIN
  15. bool_t iplugin_parse(const iplugin_t *info, kplugin_t *plugin,
  16. faux_error_t *error);
  17. kplugin_t *iplugin_load(iplugin_t *iplugin, faux_error_t *error);
  18. char *iplugin_deploy(const kplugin_t *kplugin, int level);
  19. C_DECL_END
  20. #endif // _klish_iplugin_h