From a2c0e6c98197215ac788982fbf5b236888eef79e Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 2 Jan 2020 15:12:40 +0100 Subject: Conversion to the cmake building system. Signed-off-by: gregory guy --- tqca-tls.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tqca-tls.h (limited to 'tqca-tls.h') diff --git a/tqca-tls.h b/tqca-tls.h new file mode 100644 index 0000000..ed62c99 --- /dev/null +++ b/tqca-tls.h @@ -0,0 +1,39 @@ +/* + * qca-tls.h - TLS plugin for TQCA + * Copyright (C) 2003 Justin Karneges + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that 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 library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#ifndef TQCA_TLS_H +#define TQCA_TLS_H + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_TQCA +#include +#else +#include "qcaprovider.h" +#endif + +#ifdef TQCA_PLUGIN +TQCA_PLUGIN_EXPORT TQCAProvider *createProvider(); +#else +TQCAProvider *createProviderTLS(); +#endif +#endif -- cgit v1.2.3