Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
ece028b0
Commit
ece028b0
authored
May 20, 1999
by
Per Cederqvist
Browse files
Removed code within #ifdef PROT_a. It was never used, and is
obsoleted by the aux-items.
parent
d263521d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/include/kom-types.h
View file @
ece028b0
/*
* $Id: kom-types.h,v 0.3
5
1999/05/
18 13:06:26 by
er
s
Exp $
* $Id: kom-types.h,v 0.3
6
1999/05/
20 06:49:09 ced
er Exp $
* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -80,42 +80,6 @@ typedef unsigned long Text_no;
typedef
unsigned
long
Local_text_no
;
typedef
unsigned
long
Session_no
;
#ifdef PROT_a
/*
* To uniquely identify a person, conference or text, three numbers
* are used: Universe, Site and X_{recpt,person,text}. The universe is
* omitted when it is LysKOM, or is implied by a echo conference.
*/
/*
* LysKOM, RFC-822, FidoNet, News are examples of universes.
*/
/*typedef unsigned long Universe;*/
/*
* JAKOM, lysator.liu.se, 2:504/113, foo.bar.com are examples of sites
* in the above universes. (Note that comp.lang.c is _not_ a site in
* the News universe).
*/
/*typedef unsigned long Site;*/
/*
* Fritt Forum, ceder, Per Cederqvist, comp.lang.c are examples of
* x_recpt in the above universes.
*/
/*
* But for now, we have a System_id (sum of Universe and Site) and a
* Global_x.
*/
typedef
unsigned
long
System_id
;
typedef
unsigned
long
Global_recpt
;
typedef
unsigned
long
Global_person
;
typedef
unsigned
long
Global_text
;
#endif
#define MAX_PERS_NO ((Pers_no) USHRT_MAX)
#define MAX_CONF_NO ((Conf_no) USHRT_MAX)
...
...
@@ -177,30 +141,15 @@ typedef enum {
comm_in
=
3
,
/* 3 Commented in (text) */
footn_to
=
4
,
/* 4 This is a footnote to (text) */
footn_in
=
5
,
/* 5 Footnote to this text in (text) */
#ifdef PROT_a
x_author
=
10
,
/* 10 External author (Global_name). */
#endif
loc_no
=
6
,
/* 6 Sequence number within conference */
rec_time
=
7
,
/* 7 Received at (time) */
sent_by
=
8
,
/* 8 Sent by (person) */
sent_at
=
9
,
/* 9 Sent at (time) */
bcc_recpt
=
15
,
/* 15 BCC recipient (for kannedom) */
#ifdef PROT_a
,
x_person
=
11
,
/* 11 External person id. (Global_name). */
x_recpt
=
12
,
/* 12 External recipient. (Global_name). */
x_text
=
13
,
/* 13 External text. (Global_text). */
x_system
=
14
/* 14 External system identification (System_id). */
#endif
unknown_info
=
4711
/* Internal use only. Unknown misc item encountered */
}
Info_type
;
#ifdef PROT_a
typedef
String
Global_name
;
#endif
typedef
union
{
Conf_no
recipient
;
Conf_no
cc_recipient
;
...
...
@@ -209,22 +158,10 @@ typedef union {
Text_no
commented_in
;
Text_no
footnote_to
;
Text_no
footnoted_in
;
#ifdef PROT_a
Global_name
x_author
;
/* Protocol a. */
#endif
Local_text_no
local_no
;
Time
received_at
;
Pers_no
sender
;
Time
sent_at
;
#ifdef PROT_a
Global_name
global_person
;
Global_name
global_recpt
;
Global_text
global_text
;
System_id
system_id
;
#endif
Info_type
unknown_type
;
}
Info_datum
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment