diff options
Diffstat (limited to 'contrib/bind/include/isc/logging.h')
| -rw-r--r-- | contrib/bind/include/isc/logging.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/bind/include/isc/logging.h b/contrib/bind/include/isc/logging.h index 720e2a318791..3d3d3132a09e 100644 --- a/contrib/bind/include/isc/logging.h +++ b/contrib/bind/include/isc/logging.h @@ -18,8 +18,10 @@ #ifndef LOGGING_H #define LOGGING_H +#include <sys/types.h> #include <stdio.h> #include <stdarg.h> +#include <unistd.h> #define log_critical (-5) #define log_error (-4) @@ -64,6 +66,7 @@ typedef struct log_channel *log_channel; #define log_category_is_active __log_category_is_active #define log_new_syslog_channel __log_new_syslog_channel #define log_new_file_channel __log_new_file_channel +#define log_set_file_owner __log_set_file_owner #define log_new_null_channel __log_new_null_channel #define log_inc_references __log_inc_references #define log_dec_references __log_dec_references @@ -89,6 +92,7 @@ log_channel log_new_syslog_channel(unsigned int, int, int); log_channel log_new_file_channel(unsigned int, int, char *, FILE *, unsigned int, unsigned long); +int log_set_file_owner(log_channel, uid_t, gid_t); log_channel log_new_null_channel(void); int log_inc_references(log_channel); int log_dec_references(log_channel); |
