private.h 437 B

1234567891011121314151617181920212223
  1. /*
  2. * conf.h
  3. */
  4. #ifndef _konf_buf_private_h
  5. #define _konf_buf_private_h
  6. #include "konf/buf.h"
  7. #include "lub/bintree.h"
  8. /*---------------------------------------------------------
  9. * PRIVATE TYPES
  10. *--------------------------------------------------------- */
  11. struct konf_buf_s {
  12. lub_bintree_node_t bt_node;
  13. int fd;
  14. int size;
  15. char *buf;
  16. int pos;
  17. int rpos;
  18. void *data; /* Optional pointer to arbitrary related data */
  19. };
  20. #endif