00001 /* This file is auto-generated from "mediumctx.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef MEDIUMCTX_H 00005 #define MEDIUMCTX_H 00006 00064 #ifdef __cplusplus 00065 extern "C" { 00066 #endif 00067 00068 typedef struct AH_MEDIUM_CTX AH_MEDIUM_CTX; 00069 00070 #ifdef __cplusplus 00071 } /* __cplusplus */ 00072 #endif 00073 00074 #include <gwenhywfar/db.h> 00075 /* headers */ 00076 #include <gwenhywfar/crypttoken.h> 00077 #include <aqhbci/aqhbci.h> 00078 #include <aqhbci/medium.h> 00079 00080 #ifdef __cplusplus 00081 extern "C" { 00082 #endif 00083 00084 00087 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_new(); 00090 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_fromDb(GWEN_DB_NODE *db); 00093 AQHBCI_API AH_MEDIUM_CTX *AH_MediumCtx_dup(const AH_MEDIUM_CTX*st); 00096 AQHBCI_API void AH_MediumCtx_free(AH_MEDIUM_CTX *st); 00099 AQHBCI_API void AH_MediumCtx_Attach(AH_MEDIUM_CTX *st); 00102 AQHBCI_API int AH_MediumCtx_ReadDb(AH_MEDIUM_CTX *st, GWEN_DB_NODE *db); 00105 AQHBCI_API int AH_MediumCtx_toDb(const AH_MEDIUM_CTX*st, GWEN_DB_NODE *db); 00108 AQHBCI_API int AH_MediumCtx_IsModified(const AH_MEDIUM_CTX *st); 00111 AQHBCI_API void AH_MediumCtx_SetModified(AH_MEDIUM_CTX *st, int i); 00112 00116 AQHBCI_API GWEN_CRYPTTOKEN_USER *AH_MediumCtx_GetUser(const AH_MEDIUM_CTX *el); 00120 AQHBCI_API void AH_MediumCtx_SetUser(AH_MEDIUM_CTX *el, GWEN_CRYPTTOKEN_USER *d); 00121 00125 AQHBCI_API GWEN_CRYPTTOKEN_CONTEXT *AH_MediumCtx_GetTokenContext(const AH_MEDIUM_CTX *el); 00129 AQHBCI_API void AH_MediumCtx_SetTokenContext(AH_MEDIUM_CTX *el, GWEN_CRYPTTOKEN_CONTEXT *d); 00130 00134 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetLocalSignKeySpec(const AH_MEDIUM_CTX *el); 00138 AQHBCI_API void AH_MediumCtx_SetLocalSignKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00139 00143 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetLocalCryptKeySpec(const AH_MEDIUM_CTX *el); 00147 AQHBCI_API void AH_MediumCtx_SetLocalCryptKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00148 00152 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetRemoteSignKeySpec(const AH_MEDIUM_CTX *el); 00156 AQHBCI_API void AH_MediumCtx_SetRemoteSignKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00157 00161 AQHBCI_API const GWEN_KEYSPEC *AH_MediumCtx_GetRemoteCryptKeySpec(const AH_MEDIUM_CTX *el); 00165 AQHBCI_API void AH_MediumCtx_SetRemoteCryptKeySpec(AH_MEDIUM_CTX *el, const GWEN_KEYSPEC *d); 00166 00167 00168 #ifdef __cplusplus 00169 } /* __cplusplus */ 00170 #endif 00171 00172 00173 #endif /* MEDIUMCTX_H */