aclcache.h 882 B

12345678910111213141516171819202122232425262728293031323334
  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 CACHE_H
  13. #define CACHE_H
  14. NSPR_BEGIN_EXTERN_C
  15. extern void ACL_ListHashInit(void);
  16. extern void ACL_ListHashUpdate(ACLListHandle_t **acllistp);
  17. extern void ACL_Destroy(void);
  18. extern int ACL_CritHeld(void);
  19. extern void ACL_CritInit(void);
  20. extern void ACL_UriHashInit(void);
  21. extern void ACL_UriHashDestroy(void);
  22. extern int ACL_CacheCheck(char *uri, ACLListHandle_t **acllist_p);
  23. extern void ACL_CacheEnter(char *uri, ACLListHandle_t **acllist_p);
  24. extern void ACL_CacheAbort(ACLListHandle_t **acllist_p);
  25. extern void ACL_Init2(void);
  26. NSPR_END_EXTERN_C
  27. #endif