cryptmgrkeys.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef GWEN_CRYPTMGR_CRYPTMGR_KEYS_H
00012 #define GWEN_CRYPTMGR_CRYPTMGR_KEYS_H
00013
00014
00015 #include <gwenhywfar/cryptmgr.h>
00016 #include <gwenhywfar/cryptkey.h>
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022
00023 GWENHYWFAR_API
00024 GWEN_CRYPTMGR *GWEN_CryptMgrKeys_new(const char *localName,
00025 GWEN_CRYPT_KEY *localKey,
00026 const char *peerName,
00027 GWEN_CRYPT_KEY *peerKey,
00028 int ownKeys);
00029
00030 GWENHYWFAR_API
00031 void GWEN_CryptMgrKeys_SetPeerKey(GWEN_CRYPTMGR *mgr,
00032 GWEN_CRYPT_KEY *peerKey,
00033 int ownKey);
00034
00035
00036 #ifdef __cplusplus
00037 }
00038 #endif
00039
00040 #endif
00041
00042