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