*** empty log message ***
[bpt/guile.git] / libguile / regex-posix.h
index d72fb45..3290ffc 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef REGEXPOSIXH
 #define REGEXPOSIXH
 
-/*     Copyright (C) 1997 Free Software Foundation, Inc.
+/*     Copyright (C) 1997,1998 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -17,7 +17,8 @@
  * 
  * You should have received a copy of the GNU General Public License
  * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307 USA
  *
  * As a special exception, the Free Software Foundation gives permission
  * for additional uses of the text contained in its release of GUILE.
 
 #include "libguile/__scm.h"
 
-extern long scm_tc16_regex_t;
-#define SCM_RGX(X)     ((regex_t *)SCM_CDR(X))
-#define SCM_RGXP(X)    (SCM_CAR(X) == (SCM)scm_tc16_regex_t)
+extern long scm_tc16_regex;
+#define SCM_RGX(X)     ((regex_t *) SCM_CDR(X))
+#define SCM_RGXP(X)    (SCM_CAR (X) == (SCM) scm_tc16_regex)
 
-extern SCM scm_make_regexp SCM_P ((SCM pat));
-extern SCM scm_regexp_exec SCM_P ((SCM rx, SCM str, SCM start));
-extern void scm_init_regex_posix ();
+extern SCM scm_make_regexp SCM_P ((SCM pat, SCM flags));
+SCM scm_regexp_p SCM_P ((SCM x));
+extern SCM scm_regexp_exec SCM_P ((SCM rx, SCM str, SCM start, SCM flags));
+extern void scm_init_regex_posix SCM_P ((void));
 
 #endif