[Spice-devel] [PATCH 09/12] Add libcacard.h

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Thu Oct 8 08:40:38 PDT 2015


From: Marc-André Lureau <marcandre.lureau at redhat.com>

A top-level header file is often easier to deal with for programs

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 Makefile.am     |  1 +
 src/libcacard.h | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 src/libcacard.h

diff --git a/Makefile.am b/Makefile.am
index 513272b..f8ee424 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,7 @@ libcacard_include_HEADERS =			\
 	src/card_7816.h				\
 	src/card_7816t.h			\
 	src/eventt.h				\
+	src/libcacard.h				\
 	src/vcard.h				\
 	src/vcard_emul.h			\
 	src/vcard_emul_type.h			\
diff --git a/src/libcacard.h b/src/libcacard.h
new file mode 100644
index 0000000..9232134
--- /dev/null
+++ b/src/libcacard.h
@@ -0,0 +1,22 @@
+/*
+ * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
+ * See the COPYING file in the top-level directory.
+ */
+#ifndef LIBCACARD_H
+#define LIBCACARD_H
+
+#include "cac.h"
+#include "capcsc.h"
+#include "card_7816.h"
+#include "card_7816t.h"
+#include "eventt.h"
+#include "vcard_emul.h"
+#include "vcard_emul_type.h"
+#include "vcard.h"
+#include "vcardt.h"
+#include "vevent.h"
+#include "vreader.h"
+#include "vreadert.h"
+#include "vscard_common.h"
+
+#endif
-- 
2.4.3



More information about the Spice-devel mailing list