iptype.h 345 B

1234567891011121314151617181920212223
  1. /** @file iptype.h
  2. *
  3. * @brief Klish scheme's "ptype" entry
  4. */
  5. #ifndef _klish_iptype_h
  6. #define _klish_iptype_h
  7. #include <klish/iaction.h>
  8. typedef struct iptype_s {
  9. char *name;
  10. char *help;
  11. iaction_t * (*actions)[];
  12. } iptype_t;
  13. C_DECL_BEGIN
  14. char *iptype_to_text(const iptype_t *iptype, int level);
  15. C_DECL_END
  16. #endif // _klish_iptype_h