+INCLUDES = \
+ -DP11_KIT_API_SUBJECT_TO_CHANGE
+
incdir = $(includedir)/p11-kit
inc_HEADERS = \
* Author: Stef Walter <stefw@collabora.co.uk>
*/
+#ifndef P11_KIT_URI_H
+#define P11_KIT_URI_H
+
+/*
+ * To use this API, you need to be prepared for changes to the API,
+ * and add the C flag: -DP11_KIT_API_SUBJECT_TO_CHANGE
+ */
+
+#ifndef P11_KIT_API_SUBJECT_TO_CHANGE
+#error "This API has not yet reached stability."
+#endif
+
#include "pkcs11.h"
-#ifndef __P11_KIT_URI_H__
-#define __P11_KIT_URI_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
#define P11_KIT_URI_SCHEME "pkcs11:"
#define P11_KIT_URI_SCHEME_LEN 7
void p11_kit_uri_free (P11KitUri *uri);
-#endif /* __P11_KIT_URI_H__ */
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* P11_KIT_URI_H */
#ifndef __P11_KIT_H__
#define __P11_KIT_H__
+/*
+ * To use this API, you need to be prepared for changes to the API,
+ * and add the C flag: -DP11_KIT_API_SUBJECT_TO_CHANGE
+ */
+
+#ifndef P11_KIT_API_SUBJECT_TO_CHANGE
+#error "This API has not yet reached stability."
+#endif
+
#include "pkcs11.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
CK_RV p11_kit_initialize_registered (void);
CK_RV p11_kit_finalize_registered (void);
const char* p11_kit_strerror (CK_RV rv);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* __P11_KIT_H__ */
-I$(top_srcdir) \
-I$(top_srcdir)/p11-kit \
-Icutest \
- -DSRCDIR=\"$(srcdir)\"
+ -DSRCDIR=\"$(srcdir)\" \
+ -DP11_KIT_API_SUBJECT_TO_CHANGE
noinst_PROGRAMS = \
hash-test \