ip_parser.h 353 B

123456789101112131415161718192021222324
  1. /*
  2. * Warning: This file is auto generated from a ragel syntax (ip_parser.rl),
  3. * do not change it!
  4. */
  5. #ifndef ip_parser_h
  6. #define ip_parser_h
  7. #include <sys/types.h>
  8. enum enum_ip_type {
  9. ip_type_ipv4 = 1,
  10. ip_type_ipv6,
  11. ip_type_ipv6_reference,
  12. ip_type_error
  13. };
  14. enum enum_ip_type ip_parser_execute(const char *str, size_t len);
  15. #endif