mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log().
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: cfg.h,v 1.17 2001/02/27 01:49:46 bwelling Exp $ */
|
/* $Id: cfg.h,v 1.18 2001/02/28 20:54:03 bwelling Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_CFG_H
|
#ifndef DNS_CFG_H
|
||||||
#define DNS_CFG_H 1
|
#define DNS_CFG_H 1
|
||||||
@@ -33,6 +33,7 @@
|
|||||||
*** Imports
|
*** Imports
|
||||||
***/
|
***/
|
||||||
|
|
||||||
|
#include <isc/formatcheck.h>
|
||||||
#include <isc/lang.h>
|
#include <isc/lang.h>
|
||||||
#include <isc/types.h>
|
#include <isc/types.h>
|
||||||
#include <isc/list.h>
|
#include <isc/list.h>
|
||||||
@@ -359,8 +360,8 @@ void cfg_obj_destroy(cfg_parser_t *pctx, cfg_obj_t **obj);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
cfg_obj_log(cfg_obj_t *obj, isc_log_t *lctx, int level,
|
cfg_obj_log(cfg_obj_t *obj, isc_log_t *lctx, int level, const char *fmt, ...)
|
||||||
const char *fmt, ...);
|
ISC_FORMAT_PRINTF(4, 5);
|
||||||
/*
|
/*
|
||||||
* Log a message concerning configuration object 'obj' to the logging
|
* Log a message concerning configuration object 'obj' to the logging
|
||||||
* channel of 'pctx', at log level 'level'. The message will be prefixed
|
* channel of 'pctx', at log level 'level'. The message will be prefixed
|
||||||
|
Reference in New Issue
Block a user