|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 1533 (0x5fd) Types: TextFile Names: »smailconf.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z« └─⟦bcd2bc73f⟧ └─⟦this⟧ »src/smailconf.h«
/* @(#)smailconf.h 3.6 4/21/88 20:11:08 */ /* * Copyright (C) 1987, 1988 by Ronald S. Karr and Landon Curt Noll * * See the file COPYING, distributed with smail, for restriction * and warranty information. * * namei master id: @(#)smailconf.h 3.6 4/21/88 20:11:08 */ /* * smailconf.h: * interface file for routines in smailconf.c. */ /* types used in smailconf.c */ /* * attribute tables are arrays of these structures. */ struct attr_table { char *name; /* name of attribute */ /* type of attribute */ enum { t_string, /* a string attribute */ t_boolean, /* boolean, on or off, attribute */ t_char, /* single character attribute */ t_int, /* integer attribute */ t_long, /* long integer attribute */ t_double, /* double precision attribute */ t_proc, /* attribute handled by procedure */ t_infoproc, /* procedure which displays info */ } type; char *value; /* value to put in config file */ union u_attr { char *v_string; /* string variable */ int v_boolean; /* boolean variable */ char v_char; /* char variable */ int v_int; /* integer variable */ long v_long; /* long variable */ double v_double; /* double variable */ char *(*v_proc)(); /* procedure to handle attribute */ char *(*v_infoproc)(); /* procedure for info attribute */ } *uptr; /* point to configuration variable */ long offset; /* offset into data structure */ }; /* convenience typedef for use in initializing conf_form tables */ typedef union u_attr tup;