Revision c8cafc8e conf/conf.c

View differences:

conf/conf.c
85 85
 * further use. Returns a pointer to the structure.
86 86
 */
87 87
struct config *
88
config_alloc(byte *name)
88
config_alloc(const byte *name)
89 89
{
90 90
  pool *p = rp_new(&root_pool, "Config");
91 91
  linpool *l = lp_new(p, 4080);
......
405 405
 * if it's been queued due to another reconfiguration being in progress now,
406 406
 * %CONF_UNQUEUED if a scheduled reconfiguration is removed, %CONF_NOTHING
407 407
 * if there is no relevant configuration to undo (the previous config request
408
 * was config_undo() too)  or %CONF_SHUTDOWN if BIRD is in shutdown mode and 
408
 * was config_undo() too)  or %CONF_SHUTDOWN if BIRD is in shutdown mode and
409 409
 * no new configuration changes  are accepted.
410 410
 */
411 411
int
......
530 530
 * and we want to preserve it for further use.
531 531
 */
532 532
char *
533
cfg_strdup(char *c)
533
cfg_strdup(const char *c)
534 534
{
535 535
  int l = strlen(c) + 1;
536 536
  char *z = cfg_allocu(l);

Also available in: Unified diff