diff cinst/windowsstore.h @ 137:4904fe01055d

Factor out windows specific parts
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 24 Mar 2014 14:55:48 +0000
parents
children a4b1c77f3e6a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cinst/windowsstore.h	Mon Mar 24 14:55:48 2014 +0000
@@ -0,0 +1,17 @@
+#ifdef WIN32
+#ifndef WINDOWSSTORE_H
+#define WINDOWSSTORE_H
+
+#include <windows.h>
+#include <wincrypt.h>
+/** @brief Install certificates into Windows store
+ *
+ * @param [in] to_install NULL terminated array of base64 encoded certificates.
+ * @param [in] user_store set to True if the certificates should be installed
+ *             only for the current user. O for system wide installation.
+ * @returns 0 on success an errorcode otherwise.
+ */
+int install_certificates_win(const char **to_install, int user_store)
+
+#endif // WINDOWSSTORE_H
+#endif // WIN32

http://wald.intevation.org/projects/trustbridge/