summaryrefslogtreecommitdiffstats
path: root/tqca-tls.h
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-01-02 15:12:40 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-01-22 16:16:32 +0100
commita2c0e6c98197215ac788982fbf5b236888eef79e (patch)
tree7ea36879375d9ad579fcdf226a605a36232e827b /tqca-tls.h
parent9cd1493c36e94b9bfd36e35bc197ecf87634970e (diff)
downloadtqca-tls-a2c0e6c98197215ac788982fbf5b236888eef79e.tar.gz
tqca-tls-a2c0e6c98197215ac788982fbf5b236888eef79e.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'tqca-tls.h')
-rw-r--r--tqca-tls.h39
1 files changed, 39 insertions, 0 deletions
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 <tqcaprovider.h>
+#else
+#include "qcaprovider.h"
+#endif
+
+#ifdef TQCA_PLUGIN
+TQCA_PLUGIN_EXPORT TQCAProvider *createProvider();
+#else
+TQCAProvider *createProviderTLS();
+#endif
+#endif