src/server/util/shexp.h

changeset 24
1a7853a4257e
parent 14
b8bf95b39952
equal deleted inserted replaced
23:a2c8fc23c90e 24:1a7853a4257e
102 102
103 /* --- Begin function prototypes --- */ 103 /* --- Begin function prototypes --- */
104 104
105 #ifdef INTNSAPI 105 #ifdef INTNSAPI
106 106
107 NSPR_BEGIN_EXTERN_C 107 #ifdef __cplusplus
108 extern "C" {
109 #endif
108 110
109 NSAPI_PUBLIC int INTshexp_valid(const char *exp); 111 NSAPI_PUBLIC int INTshexp_valid(const char *exp);
110 112
111 NSAPI_PUBLIC int INTshexp_match(const char *str, const char *exp); 113 NSAPI_PUBLIC int INTshexp_match(const char *str, const char *exp);
112 114
114 116
115 NSAPI_PUBLIC int INTshexp_noicmp(const char *str, const char *exp); 117 NSAPI_PUBLIC int INTshexp_noicmp(const char *str, const char *exp);
116 118
117 NSAPI_PUBLIC int INTshexp_casecmp(const char *str, const char *exp); 119 NSAPI_PUBLIC int INTshexp_casecmp(const char *str, const char *exp);
118 120
119 NSPR_END_EXTERN_C 121 #ifdef __cplusplus
122 }
123 #endif
120 124
121 /* --- End function prototypes --- */ 125 /* --- End function prototypes --- */
122 126
123 #define shexp_valid INTshexp_valid 127 #define shexp_valid INTshexp_valid
124 #define shexp_match INTshexp_match 128 #define shexp_match INTshexp_match

mercurial