Commit 548b8e9c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Aux_item_definition_s): Added const qualifier to the name tag.

(Aux_item_trigger_mapping): Likewise.
(parse_aux_item_definitions): Declaration added.
parent d10bb92e
/*
* $Id: aux-items.h,v 1.3 1998/06/14 14:50:44 byers Exp $
* $Id: aux-items.h,v 1.4 1998/07/08 15:58:58 ceder Exp $
* Copyright (C) 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -84,7 +84,7 @@ typedef struct Aux_item_trigger_data_s
typedef void (*Aux_item_trigger)(Aux_item_trigger_data *);
typedef struct Aux_item_definition_s {
char *name;
const char *name;
unsigned long tag;
Aux_item_flags clear_flags;
Aux_item_flags set_flags;
......@@ -112,7 +112,7 @@ typedef struct Aux_item_definition_s {
typedef struct
{
char *name;
const char *name;
Aux_item_trigger function;
} Aux_item_trigger_mapping;
......@@ -297,3 +297,7 @@ initialize_aux_items(char *);
void
aux_item_definition_add(Aux_item_definition *);
/* Parser function from aux-item-def.y. */
void
parse_aux_item_definitions(char *file);
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