regex.h 1011 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. regex.h - TRE legacy API
  3. This software is released under a BSD-style license.
  4. See the file LICENSE for details and copyright.
  5. This header is for source level compatibility with old code using
  6. the <tre/regex.h> header which defined the TRE API functions without
  7. a prefix. New code should include <tre/tre.h> instead.
  8. */
  9. #ifndef TRE_REXEX_H
  10. #define TRE_REGEX_H 1
  11. #include "tre.h"
  12. #ifndef TRE_USE_SYSTEM_REGEX_H
  13. #define regcomp tre_regcomp
  14. #define regerror tre_regerror
  15. #define regexec tre_regexec
  16. #define regfree tre_regfree
  17. #endif /* TRE_USE_SYSTEM_REGEX_H */
  18. #define regacomp tre_regacomp
  19. #define regaexec tre_regaexec
  20. #define regancomp tre_regancomp
  21. #define reganexec tre_reganexec
  22. #define regawncomp tre_regawncomp
  23. #define regawnexec tre_regawnexec
  24. #define regncomp tre_regncomp
  25. #define regnexec tre_regnexec
  26. #define regwcomp tre_regwcomp
  27. #define regwexec tre_regwexec
  28. #define regwncomp tre_regwncomp
  29. #define regwnexec tre_regwnexec
  30. #endif /* TRE_REGEX_H */