llpkgc__internal.h 920 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file LICENSE.rst or https://cmake.org/licensing for details. */
  3. /* This code was generated by llpkgc, do not edit it by hand
  4. See: https://gitlab.kitware.com/utils/llpkgc */
  5. #ifndef INCLUDE_LLPKGC__INTERNAL_H_
  6. #define INCLUDE_LLPKGC__INTERNAL_H_
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. #include <stdint.h>
  11. typedef struct llpkgc__internal_s llpkgc__internal_t;
  12. struct llpkgc__internal_s {
  13. int32_t _index;
  14. void* _span_pos0;
  15. void* _span_cb0;
  16. int32_t error;
  17. const char* reason;
  18. const char* error_pos;
  19. void* data;
  20. void* _current;
  21. void* settings;
  22. uint8_t unfinished_;
  23. uint8_t escaped_;
  24. };
  25. int llpkgc__internal_init(llpkgc__internal_t* s);
  26. int llpkgc__internal_execute(llpkgc__internal_t* s, const char* p, const char* endp);
  27. #ifdef __cplusplus
  28. } /* extern "C" */
  29. #endif
  30. #endif /* INCLUDE_LLPKGC__INTERNAL_H_ */