"Fossies" - the Fresh Open Source Software Archive  

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

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

options.h  (nsd-4.3.5):options.h  (nsd-4.3.6)
skipping to change at line 215 skipping to change at line 215
* Pattern of zone options, used to contain options for zone(s). * Pattern of zone options, used to contain options for zone(s).
*/ */
struct pattern_options { struct pattern_options {
rbnode_type node; rbnode_type node;
const char* pname; /* name of the pattern, key of rbtree */ const char* pname; /* name of the pattern, key of rbtree */
const char* zonefile; const char* zonefile;
struct acl_options* allow_notify; struct acl_options* allow_notify;
struct acl_options* request_xfr; struct acl_options* request_xfr;
struct acl_options* notify; struct acl_options* notify;
struct acl_options* provide_xfr; struct acl_options* provide_xfr;
struct acl_options* allow_query;
struct acl_options* outgoing_interface; struct acl_options* outgoing_interface;
const char* zonestats; const char* zonestats;
#ifdef RATELIMIT #ifdef RATELIMIT
uint16_t rrl_whitelist; /* bitmap with rrl types */ uint16_t rrl_whitelist; /* bitmap with rrl types */
#endif #endif
uint8_t allow_axfr_fallback; uint8_t allow_axfr_fallback;
uint8_t allow_axfr_fallback_is_default; uint8_t allow_axfr_fallback_is_default;
uint8_t notify_retry; uint8_t notify_retry;
uint8_t notify_retry_is_default; uint8_t notify_retry_is_default;
uint8_t implicit; /* pattern is implicit, part_of_config zone used */ uint8_t implicit; /* pattern is implicit, part_of_config zone used */
skipping to change at line 473 skipping to change at line 474
/* clean up options */ /* clean up options */
void nsd_options_destroy(struct nsd_options* opt); void nsd_options_destroy(struct nsd_options* opt);
/* replace occurrences of one with two in buf, pass length of buffer */ /* replace occurrences of one with two in buf, pass length of buffer */
void replace_str(char* buf, size_t len, const char* one, const char* two); void replace_str(char* buf, size_t len, const char* one, const char* two);
/* apply pattern to the existing pattern in the parser */ /* apply pattern to the existing pattern in the parser */
void config_apply_pattern(struct pattern_options *dest, const char* name); void config_apply_pattern(struct pattern_options *dest, const char* name);
/* if the file is a directory, print a warning, because flex just exit()s /* if the file is a directory, print a warning, because flex just exit()s
* when a fileread fails because it is a directory, helps the user figure * when a fileread fails because it is a directory, helps the user figure
* out what just happened */ * out what just happened */
void warn_if_directory(const char* filetype, FILE* f, const char* fname); void warn_if_directory(const char* filetype, FILE* f, const char* fname);
/* resolve interface names in the options "ip-address:" (or "interface:")
* and "control-interface:" into the ip-addresses associated with those
* names. */
void resolve_interface_names(struct nsd_options* options);
#endif /* OPTIONS_H */ #endif /* OPTIONS_H */
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added

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