Commit 68bd721d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(union info_datum): Removed Info_datum typedef. (Bug 337).

parent 1541a51f
/*
* $Id: kom-types.h,v 0.47 2001/12/28 19:18:55 ceder Exp $
* $Id: kom-types.h,v 0.48 2001/12/28 20:41:01 ceder Exp $
* Copyright (C) 1990-1999, 2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -148,7 +148,7 @@ enum info_type {
unknown_info = 4711 /* Internal use only. Unknown misc item encountered */
};
typedef union {
union info_datum {
Conf_no recipient; /* recpt, cc_recpt, bcc_recpt */
Text_no text_link; /* comm_to, comm_in, footn_to, footn_in */
Local_text_no local_no; /* loc_no */
......@@ -156,13 +156,13 @@ typedef union {
Pers_no sender; /* sent_by */
Time sent_at; /* sent_at */
enum info_type unknown_type; /* unknown_info */
} Info_datum;
};
/* This struct contains miscellaneous information about a text. */
typedef struct {
enum info_type type;
Info_datum datum;
enum info_type type;
union info_datum datum;
} Misc_info;
......
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