i_cryptasn1tls.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync/*
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * Copyright (C) 2007 Francois Gouget
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync *
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * This library is free software; you can redistribute it and/or
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * modify it under the terms of the GNU Lesser General Public
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * License as published by the Free Software Foundation; either
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * version 2.1 of the License, or (at your option) any later version.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync *
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * This library is distributed in the hope that it will be useful,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * Lesser General Public License for more details.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync *
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * You should have received a copy of the GNU Lesser General Public
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * License along with this library; if not, write to the Free Software
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync */
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync/*
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * a choice of LGPL license versions is made available with the language indicating
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync * of the LGPL is applied is otherwise unspecified.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync */
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#ifndef __WINE_I_CRYPTASN1TLS_H
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#define __WINE_I_CRYPTASN1TLS_H
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsynctypedef void *ASN1decoding_t;
e62cb87bae732e9968199a3ad153cc94004b7182vboxsynctypedef void *ASN1encoding_t;
e62cb87bae732e9968199a3ad153cc94004b7182vboxsynctypedef void *ASN1module_t;
e62cb87bae732e9968199a3ad153cc94004b7182vboxsynctypedef DWORD HCRYPTASN1MODULE;
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#ifdef __cplusplus
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncextern "C" {
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#endif
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncASN1decoding_t WINAPI I_CryptGetAsn1Decoder(HCRYPTASN1MODULE);
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncASN1encoding_t WINAPI I_CryptGetAsn1Encoder(HCRYPTASN1MODULE);
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncBOOL WINAPI I_CryptInstallAsn1Module(ASN1module_t, DWORD, void*);
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncBOOL WINAPI I_CryptUninstallAsn1Module(HCRYPTASN1MODULE);
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#ifdef __cplusplus
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync}
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#endif
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#endif /* __WINE_I_CRYPTASN1TLS_H */
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync