backport to buster
[hcoop/debian/openafs.git] / src / ubik / utst_int.xg
CommitLineData
805e021f
CE
1/*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10package SAMPLE_
11prefix S
12
13const UMAXNAMELEN = 255;
14typedef string sampleName<UMAXNAMELEN>;
15
16#define SAMPLE_INC_OPCODE 200
17#define SAMPLE_GET_OPCODE 201
18#define SAMPLE_TRUN_OPCODE 202
19#define SAMPLE_TEST_OPCODE 203
20#define SAMPLE_QGET_OPCODE 204
21
22Inc () = SAMPLE_INC_OPCODE;
23Get (OUT afs_int32 *temp) = SAMPLE_GET_OPCODE;
24Trun () = SAMPLE_TRUN_OPCODE;
25Test () = SAMPLE_TEST_OPCODE;
26QGet (OUT afs_int32 *temp) = SAMPLE_QGET_OPCODE;