lcache.h 665 B

1234567891011121314151617181920212223
  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 CACHE_H
  7. #define CACHE_H
  8. NSPR_BEGIN_EXTERN_C
  9. extern void ACL_ListHashUpdate(ACLListHandle_t **acllistp);
  10. extern void ACL_Init(void);
  11. extern void ACL_CritEnter(void);
  12. extern void ACL_CritExit(void);
  13. extern ENTRY *ACL_GetUriHash(ENTRY item, ACTION action);
  14. extern int ACL_CacheCheck(char *uri, ACLListHandle_t **acllist_p);
  15. extern void ACL_CacheEnter(char *uri, ACLListHandle_t **acllist_p);
  16. extern void ACL_CacheAbort(ACLListHandle_t **acllist_p);
  17. NSPR_END_EXTERN_C
  18. #endif