[Spice-devel] [PATCH v2 10/13] Add libcacard.h

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Fri Oct 9 09:16:03 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 | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 src/libcacard.h

diff --git a/Makefile.am b/Makefile.am
index 03c86e7..4eb899d 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..d048472
--- /dev/null
+++ b/src/libcacard.h
@@ -0,0 +1,21 @@
+/*
+ * 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 "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