diff options
Diffstat (limited to 'include/base/ereport.h')
| -rw-r--r-- | include/base/ereport.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/base/ereport.h b/include/base/ereport.h index 0c74e957..16a4bc68 100644 --- a/include/base/ereport.h +++ b/include/base/ereport.h @@ -16,10 +16,6 @@ * Rob McCool */ -#ifndef BASE_SESSION_H -#include "session.h" -#endif /* !BASE_SESSION_H */ - #ifndef PUBLIC_BASE_EREPORT_H #include "public/base/ereport.h" #endif /* !PUBLIC_BASE_EREPORT_H */ @@ -39,37 +35,12 @@ NSPR_BEGIN_EXTERN_C NSAPI_PUBLIC int INTereport(int degree, char *fmt, ...); NSAPI_PUBLIC int INTereport_v(int degree, char *fmt, va_list args); -/* - * INTereport_init initializes the error logging subsystem and opens the static - * file descriptors. It returns NULL upon success and an error string upon - * error. If a userpw is given, the logs will be chowned to that user. - * - * email is the address of a person to mail upon catastrophic error. It - * can be NULL if no e-mail is desired. INTereport_init will not duplicate - * its own copy of this string; you must make sure it stays around and free - * it when you shut down the server. - */ - -NSAPI_PUBLIC -char *INTereport_init(char *err_fn, char *email, PASSWD pwuser, char *version); - -/* - * log_terminate closes the error and common log file descriptors. - */ -NSAPI_PUBLIC void INTereport_terminate(void); - -/* For restarts */ -NSAPI_PUBLIC SYS_FILE INTereport_getfd(void); - NSPR_END_EXTERN_C /* --- End function prototypes --- */ #define ereport INTereport #define ereport_v INTereport_v -#define ereport_init INTereport_init -#define ereport_terminate INTereport_terminate -#define ereport_getfd INTereport_getfd #endif /* INTNSAPI */ |
