iparam.h 377 B

1234567891011121314151617181920212223242526
  1. /** @file iparam.h
  2. *
  3. * @brief Klish scheme's "param" entry
  4. */
  5. #ifndef _klish_iparam_h
  6. #define _klish_iparam_h
  7. typedef struct iparam_s iparam_t;
  8. struct iparam_s {
  9. char *name;
  10. char *help;
  11. char *ptype;
  12. iparam_t * (*params)[]; // Nested PARAMs
  13. };
  14. C_DECL_BEGIN
  15. // iparam_t
  16. char *iparam_to_text(const iparam_t *iparam, int level);
  17. C_DECL_END
  18. #endif // _klish_iparam_h