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

(LysKOM Data Types): Added Aux-Item-Input. Removed the '<10>'

	indicator in the Text-Stat declaration.
(set-info): This accepts an Info-Old, not an Info.
(create-text): Use type Aux-Item-Input for input parameters.
(create-anonymous-text): Likewise.
(create-conf): Likewise.
(create-person): Likewise.
(modify-text-info): Likewise.
(modify-conf-info): Likewise.
(modify-system-info): Likewise.
parent 19a4d639
\input texinfo @c -*-texinfo-*-
@c $Id: Protocol-A.texi,v 1.28 1998/08/29 18:26:50 ceder Exp $
@c $Id: Protocol-A.texi,v 1.29 1998/08/29 20:12:21 ceder Exp $
@c %**start of header
@setfilename protocol-a.info
@settitle LysKOM Protocol A
......@@ -206,6 +206,7 @@ Lars Aronsson documented the protocol that was in use at the time.
@item New and New Modified Structures
@itemize @bullet
@item Aux-Item
@item Aux-Item-Input
@item Conference
@item Info
@item Member
......@@ -1341,6 +1342,7 @@ sessions.
@tindex Aux-No
@tindex Aux-Item
@tindex Aux-Item-Input
@tindex Aux-Item-Flags
@example
Aux-No ::= INT32;
......@@ -1355,6 +1357,13 @@ sessions.
data : HOLLERITH;
)
Aux-Item-Input ::=
( tag : INT32;
flags : Aux-Item-Flags;
inherit-limit : INT32;
data : HOLLERITH;
)
Aux-Item-Flags ::= BITSTRING
( deleted;
inherit;
......@@ -1367,7 +1376,10 @@ sessions.
)
@end example
The fields in an Aux-Item have the following meaning:
Aux-Item-Input contains a subset of the fields of an Aux-Item. It is
used when the client wants to send an Aux-Item to the server, and it
only contains the elements that the client can affect. The fields in
Aux-Item and Aux-Item-Input have the following meaning:
@table @code
@item aux-no
......@@ -1377,13 +1389,22 @@ particular aux-item. (There is also a global list of Aux-Items for the
server. That list is manipulated via the @xref{modify-system-info}
request, and when using that request the aux-no is enough to uniquely
identify the aux-item.)
This field is not present in @code{Aux-Item-Input}. It is assigned by
the server.
@item tag
The item tag. The tag determines what the data means.
@item creator
The person who created the item, or zero if the item was created
anonymously or if the owner is being withheld.
This field is not present in @code{Aux-Item-Input}. It is assigned by
the server.
@item created-at
The time when the item was created.
This field is not present in @code{Aux-Item-Input}. It is assigned by
the server.
@item flags
The item flags (see below).
@item inherit-limit
......@@ -2022,7 +2043,7 @@ values.
no-of-chars : String-Size;
no-of-marks : INT16;
misc-info : ARRAY Misc-Info;
aux-items : ARRAY Aux-Item <10>;
aux-items : ARRAY Aux-Item;
)
@end example
......@@ -5977,7 +5998,7 @@ The conference @code{conference} does not exist or is secret.
@findex set-info
@example
set-info [79] ( info : Info ) -> ( )
set-info [79] ( info : Info-Old ) -> ( )
@end example
This call sets the server information retrieved by @ref{get-info}. The
......@@ -6183,7 +6204,7 @@ This call always succeeds.
@example
create-text [86] (( text : HOLLERITH;
misc-info : ARRAY Misc-Info;
aux-items : ARRAY Aux-Item; ))
aux-items : ARRAY Aux-Item-Input; ))
-> ( Text-No );
@end example
......@@ -6250,7 +6271,7 @@ One of the items looks valid but could not be created anyway.
@example
create-anonymous-text [87] (( text : HOLLERITH;
misc-info : ARRAY Misc-Info;
aux-items : ARRAY Aux-Item; ))
aux-items : ARRAY Aux-Item-Input; ))
-> ( Text-No );
@end example
......@@ -6315,7 +6336,7 @@ One of the items looks valid but could not be created anyway.
@example
create-conf [88] (( name : HOLLERITH;
type : Any-Conf-Type;
aux-items : ARRAY Aux-Item; ))
aux-items : ARRAY Aux-Item-Input; ))
-> ( Conf-No );
@end example
......@@ -6370,7 +6391,7 @@ One of the items looks valid but could not be created anyway.
@example
create-person [89] (( name : HOLLERITH;
passwd : HOLLERITH;
aux-items : ARRAY Aux-Item; ))
aux-items : ARRAY Aux-Item-Input; ))
-> ( Pers-No );
@end example
......@@ -6472,7 +6493,7 @@ The conference @code{conf-no} does not exist or is secret.
@example
modify-text-info [92] (( text : Text-No;
delete : ARRAY Aux-No;
add : ARRAY Aux-Item; ))
add : ARRAY Aux-Item-Input; ))
-> ( );
@end example
......@@ -6506,7 +6527,7 @@ One of the items in @code{add} is illegal for some reason.
@example
modify-conf-info [93] (( conf : Conf-No;
delete : ARRAY Aux-No;
add : ARRAY Aux-Item; ))
add : ARRAY Aux-Item-Input; ))
-> ( );
@end example
......@@ -6559,7 +6580,7 @@ This call always succeeds.
@findex modify-system-info
@example
modify-system-info [95] (( items-to-delete : ARRAY Aux-No;
items-to-add : ARRAY Aux-Item; ))
items-to-add : ARRAY Aux-Item-Input; ))
-> ( );
@end example
......
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