/***************************************************************************
                            kde_KSSLSettings.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KSSLSETTINGS
#define KDE_KSSLSETTINGS

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

kde_KSSLSettings * kde_new_KSSLSettings(int readConfig);
void kde_del_KSSLSettings( kde_KSSLSettings* p );
int kde_KSSLSettings_sslv2(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_sslv3(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_tlsv1(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnEnter(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnUnencrypted(kde_KSSLSettings* instPointer);
void kde_KSSLSettings_setWarnOnUnencrypted(kde_KSSLSettings* instPointer,int x);
int kde_KSSLSettings_warnOnLeave(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnMixed(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnSelfSigned(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnRevoked(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_warnOnExpired(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_useEGD(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_useEFile(kde_KSSLSettings* instPointer);
void kde_KSSLSettings_setTLSv1(kde_KSSLSettings* instPointer,int enabled);
void kde_KSSLSettings_setSSLv2(kde_KSSLSettings* instPointer,int enabled);
void kde_KSSLSettings_setSSLv3(kde_KSSLSettings* instPointer,int enabled);
int kde_KSSLSettings_autoSendX509(kde_KSSLSettings* instPointer);
int kde_KSSLSettings_promptSendX509(kde_KSSLSettings* instPointer);
qt_QString * kde_KSSLSettings_getCipherList(kde_KSSLSettings* instPointer);
qt_QString * kde_KSSLSettings_getEGDPath(kde_KSSLSettings* instPointer);
void kde_KSSLSettings_load(kde_KSSLSettings* instPointer);
void kde_KSSLSettings_defaults(kde_KSSLSettings* instPointer);
void kde_KSSLSettings_save(kde_KSSLSettings* instPointer);

#endif
