aclutil.h 583 B

12345678910111213141516171819202122232425
  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. * END COPYRIGHT BLOCK **/
  6. #ifndef ACLUTIL_H
  7. #define ACLUTIL_H
  8. NSPR_BEGIN_EXTERN_C
  9. int evalComparator(CmpOp_t ctok, int result);
  10. void makelower(char *string);
  11. int EvalToRes(int value);
  12. const char *comparator_string (int comparator);
  13. /*Warning: acl_next_token modifies 'ptr' */
  14. char *acl_next_token (char **ptr, char delim);
  15. const char *acl_next_token_len (const char *ptr,
  16. char delim, int *len);
  17. NSPR_END_EXTERN_C
  18. #endif