• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/opkg-lede/libopkg/xregex.h

  1 /* xregex.h - regex functions with error messages
  2 
  3    Carl D. Worth
  4 
  5    Copyright (C) 2001 University of Southern California
  6 
  7    This program is free software; you can redistribute it and/or modify
  8    it under the terms of the GNU General Public License as published by
  9    the Free Software Foundation; either version 2, or (at your option)
 10    any later version.
 11 
 12    This program is distributed in the hope that it will be useful,
 13    but WITHOUT ANY WARRANTY; without even the implied warranty of
 14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15    GNU General Public License for more details.
 16 */
 17 
 18 #ifndef XREGEX_H
 19 #define XREGEX_H
 20 
 21 #include <sys/types.h>
 22 #include <regex.h>
 23 
 24 int xregcomp(regex_t * preg, const char *regex, int cflags);
 25 static inline void xregfree(regex_t * preg)
 26 {
 27         regfree(preg);
 28 }
 29 
 30 #endif
 31 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt