string_parser.h 750 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef STRING_PARSER_H_INCLUDED
  2. #define STRING_PARSER_H_INCLUDED
  3. #include "int.h"
  4. void
  5. interpretUll(const char * const string,
  6. uint64_t * const ullP,
  7. const char ** const errorP);
  8. void
  9. interpretLl(const char * const string,
  10. int64_t * const llP,
  11. const char ** const errorP);
  12. void
  13. interpretUint(const char * const string,
  14. unsigned int * const uintP,
  15. const char ** const errorP);
  16. void
  17. interpretInt(const char * const string,
  18. int * const uintP,
  19. const char ** const errorP);
  20. void
  21. interpretBinUint(const char * const string,
  22. uint64_t * const valueP,
  23. const char ** const errorP);
  24. #endif