iplugin.h 476 B

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