private.h 368 B

12345678910111213141516171819202122
  1. /*
  2. * conf.h
  3. */
  4. #ifndef buf_private_h
  5. #define buf_private_h
  6. #include "cliconf/buf.h"
  7. #include "lub/bintree.h"
  8. /*---------------------------------------------------------
  9. * PRIVATE TYPES
  10. *--------------------------------------------------------- */
  11. struct conf_buf_s {
  12. lub_bintree_node_t bt_node;
  13. int sock;
  14. int size;
  15. char *buf;
  16. int pos;
  17. int rpos;
  18. };
  19. #endif