diff --git a/src/include/kom-types.h b/src/include/kom-types.h index 5a2109b264917812ef18e7ce452cb389772a9c18..c61d109a5ed98db3e818912fadb9d1f0112f2154 100644 --- a/src/include/kom-types.h +++ b/src/include/kom-types.h @@ -1,5 +1,5 @@ /* - * $Id: kom-types.h,v 0.45 2001/11/04 14:20:24 ceder Exp $ + * $Id: kom-types.h,v 0.46 2001/12/28 19:05:06 ceder Exp $ * Copyright (C) 1990-1999, 2001 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -132,7 +132,7 @@ typedef struct { /* See file doc/Protocol-A.texi */ -typedef enum { +enum info_type { recpt = 0, /* 0 Recipient (conference) */ cc_recpt = 1, /* 1 Carbon Copy recipient (extra kopia) */ comm_to = 2, /* 2 Comment to (text) */ @@ -146,7 +146,7 @@ typedef enum { bcc_recpt = 15, /* 15 BCC recipient (for kannedom) */ unknown_info = 4711 /* Internal use only. Unknown misc item encountered */ -} Info_type; +}; typedef union { Conf_no recipient; /* recpt, cc_recpt, bcc_recpt */ @@ -155,13 +155,13 @@ typedef union { Time received_at; /* rec_time */ Pers_no sender; /* sent_by */ Time sent_at; /* sent_at */ - Info_type unknown_type; /* unknown_info */ + enum info_type unknown_type; /* unknown_info */ } Info_datum; /* This struct contains miscellaneous information about a text. */ typedef struct { - Info_type type; + enum info_type type; Info_datum datum; } Misc_info;