/*
 * <insert one-line description of what the program does>
 * Copyright (c) <2008-2009>, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU Lesser General Public License,
 * version 2.1, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
 * more details.
 *
 * You should have received a copy of the GNU Lesser General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 *
 */
/*++

Global typedefs for TSS Core Service
 
*/

#ifndef __TCS_TYPEDEF_H__
#define __TCS_TYPEDEF_H__

#include <tss_structs.h>
#include <tpm.h>

typedef UINT32  TCS_AUTHHANDLE;
typedef UINT32  TCS_CONTEXT_HANDLE;
typedef UINT32  TCS_KEY_HANDLE;
typedef UINT32  TCS_HANDLE;


// Substitution definitions for TCS-IDL
typedef TPM_ENCAUTH                TCG_ENCAUTH;
typedef TPM_NONCE                  TCG_NONCE;
typedef TPM_ENTITY_TYPE            TCG_ENTITY_TYPE;
typedef TPM_PCRINDEX               TCG_PCRINDEX;
typedef TPM_DIGEST                 TCG_DIGEST;
typedef TPM_PCRVALUE               TCG_PCRVALUE;
typedef TPM_DIRVALUE               TCG_DIRVALUE;
typedef TPM_DIRINDEX               TCG_DIRINDEX;



#endif // __TCS_TYPEDEF_H__

