Commit aa870c65 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(enum info_type): Removed Info_type typedef. All types that contain

	an enum info_type updated.  (Bug 335).
parent 3b61079e
/*
* $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;
......
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