private.h 280 B

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