/*
 * Copyright 2000, International Business Machines Corporation and others.
 * All Rights Reserved.
 *
 * This software has been released under the terms of the IBM Public
 * License.  For details, see the LICENSE file in the top-level source
 * directory or online at http://www.openafs.org/dl/license10.html
 */

[
implicit_handle(handle_t hAfsHandle),
uuid(2131bed0-5484-11d2-b6c6-006097221e3d),
version(1.0)
]

interface afsrpc

{

/* Copied from declaration of GUID in RPCDCE.H */
typedef struct afs_uuid {
	unsigned long Data1;
	unsigned short Data2;
	unsigned short Data3;
	unsigned char Data4[8];
} afs_uuid_t;

long AFSRPC_SetToken(
	[in]		afs_uuid_t	uuid,
	[in]		unsigned char	sessionKey[8]
);

long AFSRPC_GetToken(
	[in]		afs_uuid_t	uuid,
	[out]		unsigned char	sessionKey[8]
);

}
