1 /* types.h - Some type definitions
2 * Copyright (C) 2000 Werner Koch (dd9jn)
4 * This file is part of GPGME.
6 * GPGME is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * GPGME is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
24 #include "gpgme.h" /* external objects and prototypes */
26 typedef unsigned char byte;
30 GPGME_DATA_MODE_NONE = 0,
31 GPGME_DATA_MODE_IN = 1,
32 GPGME_DATA_MODE_OUT = 2,
33 GPGME_DATA_MODE_INOUT = 3
38 * Declaration of internal objects
43 typedef struct gpg_object_s *GpgObject;
47 struct verify_result_s;
48 typedef struct verify_result_s *VerifyResult;
51 struct decrypt_result_s;
52 typedef struct decrypt_result_s *DecryptResult;