view 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 source
#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/