acl.h 718 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright 2001 Sun Microsystems, Inc.
  3. * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
  4. * All rights reserved.
  5. * END COPYRIGHT BLOCK **/
  6. #ifndef ACL_HEADER
  7. #define ACL_HEADER
  8. #ifndef NOINTNSACL
  9. #define INTNSACL
  10. #endif /* NOINTNSACL */
  11. #include <netsite.h>
  12. #include <base/pool.h>
  13. #include <base/plist.h>
  14. #include <libaccess/nserror.h>
  15. #ifndef FALSE
  16. #define FALSE 0
  17. #endif
  18. #ifndef TRUE
  19. #define TRUE 1
  20. #endif
  21. #ifndef PUBLIC_NSACL_ACLAPI_H
  22. #include "public/nsacl/aclapi.h"
  23. #endif /* !PUBLIC_NSACL_ACLAPI_H */
  24. #ifdef INTNSACL
  25. NSPR_BEGIN_EXTERN_C
  26. extern char *generic_rights[];
  27. extern char *http_generic[];
  28. NSPR_END_EXTERN_C
  29. #endif /* INTNSACL */
  30. #endif