comparison cinst/windowsstore.h @ 188:a3bde2aaabd9

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 26 Mar 2014 09:12:10 +0100
parents a4b1c77f3e6a
children 57bef180d560
comparison
equal deleted inserted replaced
187:0c06a608e15f 188:a3bde2aaabd9
2 #ifndef WINDOWSSTORE_H 2 #ifndef WINDOWSSTORE_H
3 #define WINDOWSSTORE_H 3 #define WINDOWSSTORE_H
4 4
5 #include <windows.h> 5 #include <windows.h>
6 #include <wincrypt.h> 6 #include <wincrypt.h>
7 /** @brief Install certificates into Windows store 7
8 #include <stdbool.h>
9
10 /** @brief Access the Windows certificate store
8 * 11 *
9 * @param [in] to_install NULL terminated array of base64 encoded certificates. 12 * @param [in] to_install strv of DER encoded certificates to be added.
13 * @param [in] to_remove strv of DER encoded certificates to be remvoed.
10 * @param [in] user_store set to True if the certificates should be installed 14 * @param [in] user_store set to True if the certificates should be installed
11 * only for the current user. O for system wide installation. 15 * only for the current user. O for system wide installation.
12 * @returns 0 on success an errorcode otherwise. 16 * @returns 0 on success an errorcode otherwise.
13 */ 17 */
14 int install_certificates_win(const char **to_install, int user_store) 18 int write_stores_win (char **to_install, char **to_remove,
19 bool user_store);
15 20
16 #endif // WINDOWSSTORE_H 21 #endif // WINDOWSSTORE_H
17 #endif // WIN32 22 #endif // WIN32

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