~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/ubik/utst_int.xg

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
10
package SAMPLE_
 
11
 
 
12
const   UMAXNAMELEN =   255;
 
13
typedef string sampleName<UMAXNAMELEN>;
 
14
 
 
15
#define SAMPLE_INC_OPCODE               200
 
16
#define SAMPLE_GET_OPCODE               201
 
17
#define SAMPLE_TRUN_OPCODE      202
 
18
#define SAMPLE_TEST_OPCODE              203
 
19
#define SAMPLE_QGET_OPCODE              204
 
20
 
 
21
Inc     () = SAMPLE_INC_OPCODE;
 
22
Get     (OUT afs_int32 *temp) = SAMPLE_GET_OPCODE;
 
23
Trun    () = SAMPLE_TRUN_OPCODE;
 
24
Test    () = SAMPLE_TEST_OPCODE;
 
25
QGet    (OUT afs_int32 *temp) = SAMPLE_QGET_OPCODE;