Revision 22658,
1.4 KB
checked in by amb, 17 years ago
(diff) |
Adds krb5 forwards- and backwards-compatability to the discuss client
and server.
|
Rev | Line | |
---|
[129] | 1 | /* |
---|
| 2 | * |
---|
[1932] | 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 | * |
---|
[129] | 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 | |
---|
| 21 | struct 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 |
---|
[140] | 33 | #define OLD_GET_MTG_INFO 6 |
---|
[129] | 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 |
---|
[154] | 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 |
---|
[1726] | 45 | #define GET_TRN_INFO2 18 |
---|
| 46 | #define GET_SERVER_VERSION 19 |
---|
| 47 | #define SET_TRN_FLAGS 20 |
---|
[2748] | 48 | #define ADD_TRN2 21 |
---|
| 49 | #define GET_TRN_INFO3 22 |
---|
[129] | 50 | |
---|
| 51 | #define REPLY_TYPE 440 |
---|
| 52 | #define PROC_BASE 400 |
---|
| 53 | #define TFILE_BLK 500 |
---|
| 54 | #define KRB_TICKET 501 |
---|
[262] | 55 | #define UNKNOWN_CALL 502 |
---|
[1726] | 56 | #define KRB_TICKET2 503 |
---|
| 57 | #define TICKET_REPLY 504 |
---|
[129] | 58 | |
---|
[1726] | 59 | /* Server version numbers */ |
---|
| 60 | #define SERVER_0 0 |
---|
| 61 | #define SERVER_1 1 |
---|
[2748] | 62 | #define SERVER_2 2 |
---|
[22658] | 63 | #define SERVER_3 3 |
---|
[1726] | 64 | |
---|
[129] | 65 | extern int rpc_err; |
---|
| 66 | |
---|
| 67 | /* USP stuff, that the caller shouldn't know about */ |
---|
| 68 | #include <stdio.h> |
---|
| 69 | #include "usp.h" |
---|
| 70 | |
---|
| 71 | typedef USPStream *rpc_conversation; |
---|
| 72 | |
---|
| 73 | rpc_conversation open_rpc(); |
---|
| 74 | |
---|
| 75 | #include "rpc_et.h" |
---|
Note: See
TracBrowser
for help on using the repository browser.