blob: fd5a039331d301df45d22cc1adb1fdc5080b0a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// -*- c++ -*-
// $Id$
#ifndef _CALCSERVICE_H_
#define _CALCSERVICE_H_
static char _calcsvc_h_[]
= "calcsvc.h,v 2.3 1992/06/15 19:13:15 mnl Exp";
// calcsvc.h,v
// Revision 2.3 1992/06/15 19:13:15 mnl
// Fixed a few bugs, clarified interface.
//
#ifdef __GNUG__
#pragma interface
#endif
#include "rpc++/request.h"
#define CALCSVC 0x20100001
struct CalcRequests
{
static RpcRequest Add;
static RpcRequest Sub;
static RpcRequest Times;
static RpcRequest Div;
static RpcRequest Inc;
static RpcRequest IToA;
static RpcRequest Reset; // for testing proc without args
static RpcRequest Sleep; // for testing async
static RpcRequest Msg; // for testing string passing
static RpcRequest Invalid; // for testing error handling
};
#endif
|