source: trunk/athena/bin/discuss/include/rpc.h @ 1726

Revision 1726, 1.1 KB checked in by srz, 35 years ago (diff)
Added new operations dealing with flags.
Line 
1/*
2 *
3 * proc.h -- defines for RPC procedure declarations.
4 *
5 */
6
7#define MAXARGS 20
8
9#define INTTYPE 1
10#define STRTYPE 2
11#define BOOLTYPE 3
12#define TFILETYPE 4
13
14struct proc_table {
15     int numargs;
16     char argtype [MAXARGS];
17};
18
19
20/* defined procs */
21#define ADD_TRN 1
22#define GET_TRN_INFO 2
23#define DELETE_TRN 3
24#define RETRIEVE_TRN 4
25#define CREATE_MTG 5
26#define OLD_GET_MTG_INFO 6
27#define START_MTG_INFO 7
28#define NEXT_MTG_INFO 8
29#define GET_TRN 9
30#define REMOVE_MTG 10
31#define UPDATED_MTG 11
32#define GET_MTG_INFO 12
33#define GET_ACL 13
34#define GET_ACCESS 14
35#define SET_ACCESS 15
36#define DELETE_ACCESS 16
37#define WHO_AM_I 17
38#define GET_TRN_INFO2 18
39#define GET_SERVER_VERSION 19
40#define SET_TRN_FLAGS 20
41
42#define REPLY_TYPE 440
43#define PROC_BASE 400
44#define TFILE_BLK 500
45#define KRB_TICKET 501
46#define UNKNOWN_CALL 502
47#define KRB_TICKET2 503
48#define TICKET_REPLY 504
49
50/* Server version numbers */
51#define SERVER_0 0
52#define SERVER_1 1
53
54extern int rpc_err;
55
56/* USP stuff, that the caller shouldn't know about */
57#include <stdio.h>
58#include "usp.h"
59
60typedef USPStream *rpc_conversation;
61
62rpc_conversation open_rpc();
63
64#include "rpc_et.h"
Note: See TracBrowser for help on using the repository browser.