aheinecke@137: #ifdef WIN32
aheinecke@137: #ifndef WINDOWSSTORE_H
aheinecke@137: #define WINDOWSSTORE_H
aheinecke@137: 
aheinecke@137: #include <windows.h>
aheinecke@137: #include <wincrypt.h>
aheinecke@137: /** @brief Install certificates into Windows store
aheinecke@137:  *
aheinecke@137:  * @param [in] to_install NULL terminated array of base64 encoded certificates.
aheinecke@137:  * @param [in] user_store set to True if the certificates should be installed
aheinecke@137:  *             only for the current user. O for system wide installation.
aheinecke@137:  * @returns 0 on success an errorcode otherwise.
aheinecke@137:  */
aheinecke@137: int install_certificates_win(const char **to_install, int user_store)
aheinecke@137: 
aheinecke@137: #endif // WINDOWSSTORE_H
aheinecke@137: #endif // WIN32