acl.h 849 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 ACL_HEADER
  13. #define ACL_HEADER
  14. #ifndef NOINTNSACL
  15. #define INTNSACL
  16. #endif /* NOINTNSACL */
  17. #include <netsite.h>
  18. #include <base/pool.h>
  19. #include <base/plist.h>
  20. #include <libaccess/nserror.h>
  21. #ifndef FALSE
  22. #define FALSE 0
  23. #endif
  24. #ifndef TRUE
  25. #define TRUE 1
  26. #endif
  27. #ifndef PUBLIC_NSACL_ACLAPI_H
  28. #include "public/nsacl/aclapi.h"
  29. #endif /* !PUBLIC_NSACL_ACLAPI_H */
  30. #ifdef INTNSACL
  31. NSPR_BEGIN_EXTERN_C
  32. extern const char *generic_rights[];
  33. extern const char *http_generic[];
  34. NSPR_END_EXTERN_C
  35. #endif /* INTNSACL */
  36. #endif