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

(enum object_type): Removed Object_type typedef. All types that

	contain an enum object_type updated.  (Bug 335).
parent 651ad08e
/*
* $Id: kom-types.h,v 0.46 2001/12/28 19:05:06 ceder Exp $
* $Id: kom-types.h,v 0.47 2001/12/28 19:18:55 ceder Exp $
* Copyright (C) 1990-1999, 2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -55,7 +55,7 @@
/* Some objects in LysKOM need a type field.
These are the valid values */
typedef enum {
enum object_type {
NO_OBJECT_TYPE = 0, /* No object at all */
TEXT_OBJECT_TYPE = 1, /* Text object */
CONF_OBJECT_TYPE = 2, /* Conference object */
......@@ -67,7 +67,7 @@ typedef enum {
PERS_OBJECT_TYPE = 3, /* Person object */
#endif
INFO_OBJECT_TYPE = 4 /* System info object */
} Object_type;
};
......@@ -185,8 +185,8 @@ typedef struct {
typedef struct {
Object_type target_type;
unsigned long target_item;
enum object_type target_type;
unsigned long target_item;
union {
Conf_no conf;
Text_no text;
......
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