/[pcre]/code/trunk/pcre_config.c
ViewVC logotype

Diff of /code/trunk/pcre_config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by nigel, Sat Feb 24 21:41:13 2007 UTC revision 199 by ph10, Tue Jul 31 14:39:09 2007 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2005 University of Cambridge             Copyright (c) 1997-2007 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 41  POSSIBILITY OF SUCH DAMAGE. Line 41  POSSIBILITY OF SUCH DAMAGE.
41  /* This module contains the external function pcre_config(). */  /* This module contains the external function pcre_config(). */
42    
43    
44    #ifdef HAVE_CONFIG_H
45    #include <config.h>
46    #endif
47    
48  #include "pcre_internal.h"  #include "pcre_internal.h"
49    
50    
# Line 58  Arguments: Line 62  Arguments:
62  Returns:           0 if data returned, negative on error  Returns:           0 if data returned, negative on error
63  */  */
64    
65  PCRE_EXPORT int  PCRE_EXP_DEFN int
66  pcre_config(int what, void *where)  pcre_config(int what, void *where)
67  {  {
68  switch (what)  switch (what)
# Line 95  switch (what) Line 99  switch (what)
99    *((unsigned int *)where) = MATCH_LIMIT;    *((unsigned int *)where) = MATCH_LIMIT;
100    break;    break;
101    
102      case PCRE_CONFIG_MATCH_LIMIT_RECURSION:
103      *((unsigned int *)where) = MATCH_LIMIT_RECURSION;
104      break;
105    
106    case PCRE_CONFIG_STACKRECURSE:    case PCRE_CONFIG_STACKRECURSE:
107  #ifdef NO_RECURSE  #ifdef NO_RECURSE
108    *((int *)where) = 0;    *((int *)where) = 0;

Legend:
Removed from v.85  
changed lines
  Added in v.199

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12