summaryrefslogtreecommitdiffstats
path: root/lib/libaccess/aclutil.h
blob: 34a1d0a6a64cfb6aafe4812a552d91d6aabe1606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** BEGIN COPYRIGHT BLOCK
 * Copyright 2001 Sun Microsystems, Inc.
 * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/

#ifndef ACLUTIL_H
#define ACLUTIL_H

NSPR_BEGIN_EXTERN_C

int evalComparator(CmpOp_t ctok, int result);
void makelower(char *string);
int EvalToRes(int value);
const char *comparator_string (int comparator);

/*Warning: acl_next_token modifies 'ptr' */
char *acl_next_token (char **ptr, char delim);

const char *acl_next_token_len (const char *ptr,
				char delim, int *len);

NSPR_END_EXTERN_C

#endif