regex.h
上传用户:sddyfurun
上传日期:2007-01-04
资源大小:525k
文件大小:1k
源码类别:

代理服务器

开发平台:

Unix_Linux

  1. /*
  2.  * regex.h : External defs for Ozan Yigit's regex functions, for systems
  3.  * that don't have them builtin. See regex.c for copyright and other
  4.  * details.
  5.  *
  6.  * Note that this file can be included even if we're linking against the
  7.  * system routines, since the interface is (deliberately) identical.
  8.  *
  9.  * George Ferguson, ferguson@cs.rochester.edu, 11 Sep 1991.
  10.  */
  11. #if defined(_AUX_SOURCE) || defined(USG)
  12. /* Let them use ours if they wish.  */
  13. #ifndef HAVE_RE_COMP
  14. extern char *regcmp();
  15. extern char *regex();
  16. #define re_comp regcmp
  17. #define re_exec regex
  18. #endif
  19. #else
  20. extern char *re_comp P((const char *));
  21. extern int   re_exec P((const char *));
  22. #endif