view ui/sslhelp.h @ 452:f8b480b08532

Factor out polarssl error handling and start new sslhelp file
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 23 Apr 2014 10:33:40 +0000
parents
children 2e100d3e414a
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=2)
 * and comes with ABSOLUTELY NO WARRANTY!
 * See LICENSE.txt for details.
 */


/**
 * @file sslhelp.h
 * @brief Helper functions to combine Qt with Polarssl
 */
#include <polarssl/error.h>

#include <QString>

/** @brief get a human readable error message for a polarssl return code
 *
 * @param [in] ret A polarssl error code
 * @returns A QString representation of that error
 */
QString getPolarSSLErrorMsg(int ret);

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