"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util.h" between
nsd-4.3.6.tar.gz and nsd-4.3.7.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

util.h  (nsd-4.3.6):util.h  (nsd-4.3.7)
skipping to change at line 20 skipping to change at line 20
#ifndef _UTIL_H_ #ifndef _UTIL_H_
#define _UTIL_H_ #define _UTIL_H_
#include <sys/time.h> #include <sys/time.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
struct rr; struct rr;
struct buffer; struct buffer;
struct region; struct region;
struct nsd;
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
# include <syslog.h> # include <syslog.h>
#else #else
# define LOG_ERR 3 # define LOG_ERR 3
# define LOG_WARNING 4 # define LOG_WARNING 4
# define LOG_NOTICE 5 # define LOG_NOTICE 5
# define LOG_INFO 6 # define LOG_INFO 6
/* Unused, but passed to log_open. */ /* Unused, but passed to log_open. */
skipping to change at line 443 skipping to change at line 444
int file_inside_chroot(const char* fname, const char* chr); int file_inside_chroot(const char* fname, const char* chr);
/** Something went wrong, give error messages and exit. */ /** Something went wrong, give error messages and exit. */
void error(const char *format, ...) ATTR_FORMAT(printf, 1, 2) ATTR_NORETURN; void error(const char *format, ...) ATTR_FORMAT(printf, 1, 2) ATTR_NORETURN;
#if HAVE_CPUSET_T #if HAVE_CPUSET_T
int number_of_cpus(void); int number_of_cpus(void);
int set_cpu_affinity(cpuset_t *set); int set_cpu_affinity(cpuset_t *set);
#endif #endif
/* Add a cookie secret. If there are no secrets yet, the secret will become
* the active secret. Otherwise it will become the staging secret.
* Active secrets are used to both verify and create new DNS Cookies.
* Staging secrets are only used to verify DNS Cookies. */
void add_cookie_secret(struct nsd* nsd, uint8_t* secret);
/* Makes the staging cookie secret active and the active secret staging. */
void activate_cookie_secret(struct nsd* nsd);
/* Drop a cookie secret. Drops the staging secret. An active secret will not
* be dropped. */
void drop_cookie_secret(struct nsd* nsd);
#endif /* _UTIL_H_ */ #endif /* _UTIL_H_ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)