Commit 49a92f0b authored by Per Cederqvist's avatar Per Cederqvist

(struct parameter): Added const qualifier to the name and default_val tags.

parent ba01e02b
/*
* $Id: conf-file.h,v 1.2 1994/02/19 03:43:08 ceder Exp $
* $Id: conf-file.h,v 1.3 1998/07/08 16:16:24 ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,11 +38,11 @@ union param_value {
};
struct parameter {
char *name;
const char *name;
Success (*assigner)(const char *val, const struct parameter *par);
int min_assignments;
int max_assignments; /* -1 == eternity */
char *default_val; /* String, as read from the config file. */
const char *default_val; /* String, as read from the config file. */
void *value;
};
......
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