Commit 33654a83 authored by Andreas Gustafsson's avatar Andreas Gustafsson

const correctness [RT #1011]

parent 75b3a86c
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: cfg.h,v 1.25 2001/06/29 18:36:12 gson Exp $ */
/* $Id: cfg.h,v 1.26 2001/07/23 00:23:30 gson Exp $ */
#ifndef ISCCFG_CFG_H
#define ISCCFG_CFG_H 1
......@@ -110,10 +110,10 @@ cfg_parser_setcallback(cfg_parser_t *pctx,
isc_result_t
cfg_parse_file(cfg_parser_t *pctx, const char *filename,
cfg_type_t *type, cfg_obj_t **ret);
const cfg_type_t *type, cfg_obj_t **ret);
isc_result_t
cfg_parse_buffer(cfg_parser_t *pctx, isc_buffer_t *buffer,
cfg_type_t *type, cfg_obj_t **ret);
const cfg_type_t *type, cfg_obj_t **ret);
/*
* Read a configuration containing data of type 'type'
* and make '*ret' point to its parse tree.
......@@ -371,7 +371,7 @@ cfg_print(cfg_obj_t *obj,
*/
void
cfg_print_grammar(cfg_type_t *type,
cfg_print_grammar(const cfg_type_t *type,
void (*f)(void *closure, const char *text, int textlen),
void *closure);
/*
......@@ -379,7 +379,7 @@ cfg_print_grammar(cfg_type_t *type,
*/
isc_boolean_t
cfg_obj_istype(cfg_obj_t *obj, cfg_type_t *type);
cfg_obj_istype(cfg_obj_t *obj, const cfg_type_t *type);
/*
* Return true iff 'obj' is of type 'type'.
*/
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment