| 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 |
|
| 10 |
#ifdef HAVE_CONFIG_H |
| 11 |
#include <config.h> |
| 12 |
#endif |
| 13 |
|
| 14 |
#ifndef ACL_HEADER |
| 15 |
#define ACL_HEADER |
| 16 |
|
| 17 |
#ifndef NOINTNSACL |
| 18 |
#define INTNSACL |
| 19 |
#endif /* NOINTNSACL */ |
| 20 |
|
| 21 |
#include <netsite.h> |
| 22 |
#include <base/pool.h> |
| 23 |
#include <base/plist.h> |
| 24 |
#include <libaccess/nserror.h> |
| 25 |
|
| 26 |
#ifndef FALSE |
| 27 |
#define FALSE 0 |
| 28 |
#endif |
| 29 |
#ifndef TRUE |
| 30 |
#define TRUE 1 |
| 31 |
#endif |
| 32 |
|
| 33 |
#ifndef PUBLIC_NSACL_ACLAPI_H |
| 34 |
#include "public/nsacl/aclapi.h" |
| 35 |
#endif /* !PUBLIC_NSACL_ACLAPI_H */ |
| 36 |
|
| 37 |
#ifdef INTNSACL |
| 38 |
|
| 39 |
NSPR_BEGIN_EXTERN_C |
| 40 |
|
| 41 |
extern const char *generic_rights[]; |
| 42 |
extern const char *http_generic[]; |
| 43 |
|
| 44 |
NSPR_END_EXTERN_C |
| 45 |
|
| 46 |
#endif /* INTNSACL */ |
| 47 |
|
| 48 |
#endif |