libkdenetwork Library API Documentation

gpgme-0-3-compat.h

00001 /* gpgmefw.h - Forwards declarations for gpgme (0.3 and 0.4) 00002 Copyright (C) 2004 Klarälvdalens Datakonsult AB 00003 00004 This file is part of GPGME++. 00005 00006 GPGME++ is free software; you can redistribute it and/or modify it 00007 under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 GPGME++ is distributed in the hope that it will be useful, but 00012 WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with GPGME++; if not, write to the Free Software Foundation, 00018 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. 00019 */ 00020 00021 #ifndef __GPGMEPP_GPGME_0_3_COMPAT_H__ 00022 #define __GPGMEPP_GPGME_0_3_COMPAT_H__ 00023 00024 #include <gpgme.h> 00025 00026 #ifndef HAVE_GPGME_0_4_BRANCH 00027 // make gpgme-0.4 names available even if we have only 0.3: 00028 typedef GpgmeError gpgme_error_t; 00029 typedef GpgmeIOCb gpgme_io_cb_t; 00030 typedef GpgmeIOCbs gpgme_io_cbs; 00031 typedef GpgmeEventIO gpgme_event_io_t; 00032 typedef GpgmeEventIOCb gpgme_event_io_cb_t; 00033 typedef GpgmeRegisterIOCb gpgme_register_io_cb_t; 00034 typedef GpgmeRemoveIOCb gpgme_remove_io_cb_t; 00035 typedef GpgmeSigStat gpgme_sig_stat_t; 00036 typedef GpgmeAttr gpgme_attr_t; 00037 typedef GpgmeTrustItem gpgme_trust_item_t; 00038 typedef GpgmeCtx gpgme_ctx_t; 00039 typedef GpgmeProtocol gpgme_protocol_t; 00040 typedef GpgmeData gpgme_data_t; 00041 typedef GpgmeKey gpgme_key_t; 00042 00043 #define GPG_ERR_GENERAL GPGME_General_Error 00044 #define GPG_ERR_NO_ERROR GPGME_No_Error 00045 #define GPG_ERR_EOF GPGME_EOF 00046 #define gpg_err_code(x) (x) 00047 #endif 00048 00049 #endif // __GPGMEPP_GPGME_0_3_COMPAT_H__
KDE Logo
This file is part of the documentation for libkdenetwork Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:48:40 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003