Windows: fix checked UNICODE build of talocale
[openafs.git] / src / WINNT / afsd / afsrpc.idl
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 [
11 implicit_handle(handle_t hAfsHandle),
12 uuid(2131bed0-5484-11d2-b6c6-006097221e3d),
13 version(1.0)
14 ]
15
16 interface afsrpc
17
18 {
19
20 /* Copied from declaration of GUID in RPCDCE.H */
21 typedef struct afs_uuid {
22         unsigned long Data1;
23         unsigned short Data2;
24         unsigned short Data3;
25         unsigned char Data4[8];
26 } afs_uuid_t;
27
28 long AFSRPC_SetToken(
29         [in]            afs_uuid_t      uuid,
30         [in]            unsigned char   sessionKey[8]
31 );
32
33 long AFSRPC_GetToken(
34         [in]            afs_uuid_t      uuid,
35         [out]           unsigned char   sessionKey[8]
36 );
37
38 }