comparison 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
comparison
equal deleted inserted replaced
130:ffb20e76e7d0 137:4904fe01055d
1 #ifdef WIN32
2 #ifndef WINDOWSSTORE_H
3 #define WINDOWSSTORE_H
4
5 #include <windows.h>
6 #include <wincrypt.h>
7 /** @brief Install certificates into Windows store
8 *
9 * @param [in] to_install NULL terminated array of base64 encoded certificates.
10 * @param [in] user_store set to True if the certificates should be installed
11 * only for the current user. O for system wide installation.
12 * @returns 0 on success an errorcode otherwise.
13 */
14 int install_certificates_win(const char **to_install, int user_store)
15
16 #endif // WINDOWSSTORE_H
17 #endif // WIN32

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