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

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