• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kleopatra

  • sources
  • kde-4.14
  • kdepim
  • kleopatra
kleo-assuan.h
Go to the documentation of this file.
1 /* -*- mode: c++; c-basic-offset:4 -*-
2  kleo-assuan.h
3 
4  This file is part of Kleopatra, the KDE keymanager
5  Copyright (c) 2008 Klarälvdalens Datakonsult AB
6 
7  Kleopatra is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  Kleopatra is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 
21  In addition, as a special exception, the copyright holders give
22  permission to link the code of this program with any edition of
23  the Qt library by Trolltech AS, Norway (or with modified versions
24  of Qt that use the same license as Qt), and distribute linked
25  combinations including the two. You must obey the GNU General
26  Public License in all respects for all of the code used other than
27  Qt. If you modify this file, you may extend this exception to
28  your version of the file, but you are not obligated to do so. If
29  you do not wish to do so, delete this exception statement from
30  your version.
31 */
32 
33 #ifndef __KLEO_ASSUAN_H__
34 #define __KLEO_ASSUAN_H__
35 
36 #ifndef _ASSUAN_ONLY_GPG_ERRORS
37 #define _ASSUAN_ONLY_GPG_ERRORS
38 #endif
39 
40 #ifdef HAVE_USABLE_ASSUAN
41 # include <assuan.h>
42 #else
43 /*
44  * copied from assuan.h:
45  */
46 
47 /* assuan.h - Definitions for the Assuan IPC library
48  * Copyright (C) 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
49  *
50  * This file is part of Assuan.
51  *
52  * Assuan is free software; you can redistribute it and/or modify it
53  * under the terms of the GNU Lesser General Public License as
54  * published by the Free Software Foundation; either version 2.1 of
55  * the License, or (at your option) any later version.
56  *
57  * Assuan is distributed in the hope that it will be useful, but
58  * WITHOUT ANY WARRANTY; without even the implied warranty of
59  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
60  * Lesser General Public License for more details.
61  *
62  * You should have received a copy of the GNU Lesser General Public
63  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
64  */
65 
66 #ifdef _WIN32
67 typedef void *assuan_fd_t;
68 #define ASSUAN_INVALID_FD ((void*)(-1))
69 #define ASSUAN_INT2FD(s) ((void *)(s))
70 #define ASSUAN_FD2INT(h) ((unsigned int)(h))
71 #else
72 typedef int assuan_fd_t;
73 #define ASSUAN_INVALID_FD (-1)
74 #define ASSUAN_INT2FD(s) ((s))
75 #define ASSUAN_FD2INT(h) ((h))
76 #endif
77 /*
78  * end copied from assuan.h
79  */
80 #endif
81 
82 #endif /* __KLEOPATRA_ASSUAN_H__ */
assuan_fd_t
int assuan_fd_t
Definition: kleo-assuan.h:72
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal