aclutil.h 717 B

123456789101112131415161718192021222324252627282930313233
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  3. * Copyright (C) 2005 Red Hat, Inc.
  4. * All rights reserved.
  5. *
  6. * License: GPL (version 3 or any later version).
  7. * See LICENSE for details.
  8. * END COPYRIGHT BLOCK **/
  9. #ifdef HAVE_CONFIG_H
  10. # include <config.h>
  11. #endif
  12. #ifndef ACLUTIL_H
  13. #define ACLUTIL_H
  14. NSPR_BEGIN_EXTERN_C
  15. int evalComparator(CmpOp_t ctok, int result);
  16. void makelower(char *string);
  17. int EvalToRes(int value);
  18. const char *comparator_string (int comparator);
  19. /*Warning: acl_next_token modifies 'ptr' */
  20. char *acl_next_token (char **ptr, char delim);
  21. const char *acl_next_token_len (const char *ptr,
  22. char delim, int *len);
  23. NSPR_END_EXTERN_C
  24. #endif