diff --git a/src/common/attributes/option.c b/src/common/attributes/option.c new file mode 100644 index 000000000..31db2b6fa --- /dev/null +++ b/src/common/attributes/option.c @@ -0,0 +1,35 @@ +/* vi: set ts=2: + * + * $Id: option.c,v 1.1 2001/03/01 07:05:15 corwin Exp $ + * Eressea PB(E)M host Copyright (C) 1998-2000 + * Christian Schlittchen (corwin@amber.kn-bremen.de) + * Katja Zedel (katze@felidae.kn-bremen.de) + * Henning Peters (faroul@beyond.kn-bremen.de) + * Enno Rehling (enno@eressea-pbem.de) + * Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de) + * + * This program may not be used, modified or distributed without + * prior permission by the authors of Eressea. + */ + +#include +#include "eressea.h" +#include "option.h" + +#include + +attrib_type at_option_news = { + "option_news", + NULL, + NULL, + NULL, + a_writedefault, + a_readdefault, + ATF_UNIQUE +}; + +void +init_option(void) +{ + at_register(&at_option_news); +} diff --git a/src/common/attributes/option.h b/src/common/attributes/option.h new file mode 100644 index 000000000..664a93a5c --- /dev/null +++ b/src/common/attributes/option.h @@ -0,0 +1,16 @@ +/* vi: set ts=2: + * + * $Id: option.h,v 1.1 2001/03/01 07:05:15 corwin Exp $ + * Eressea PB(E)M host Copyright (C) 1998-2000 + * Christian Schlittchen (corwin@amber.kn-bremen.de) + * Katja Zedel (katze@felidae.kn-bremen.de) + * Henning Peters (faroul@beyond.kn-bremen.de) + * Enno Rehling (enno@eressea-pbem.de) + * Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de) + * + * This program may not be used, modified or distributed without + * prior permission by the authors of Eressea. + */ + +extern struct attrib_type at_option_news; +extern void init_option(void);