diff options
author | Marcus Brinkmann <[email protected]> | 2001-11-20 06:04:15 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2001-11-20 06:04:15 +0000 |
commit | 38c00b4b323eaccf130e6d06cce5a55c1201584f (patch) | |
tree | 5d42f26301c804d9d01505a0331e94e41a8efd92 /gpgme/engine.h | |
parent | remove some CVS conflict cruft (diff) | |
download | gpgme-38c00b4b323eaccf130e6d06cce5a55c1201584f.tar.gz gpgme-38c00b4b323eaccf130e6d06cce5a55c1201584f.zip |
2001-11-20 Marcus Brinkmann <[email protected]>
* types.h: Add types EngineObject and GpgsmObject.
* Makefile.am (libgpgme_la_SOURCES): Add engine-gpgsm.h,
engine-gpgsm.c, engine.h and engine.c.
* engine.h: New file.
* engine.c: Likewise.
* engine-gpgsm.h: Likewise.
* engine-gpgsm.c: Likewise.
* rungpg.c (_gpgme_gpg_get_version): New function.
(_gpgme_gpg_check_version): Likewise.
* rungpg.h: Add prototypes for _gpgme_gpg_get_version and
_gpgme_gpg_check_version.
* version.c (compare_versions): Rename to ...
(_gpgme_compare_versions): ... this. Make non-static.
(gpgme_check_version): Use _gpgme_compare_versions rather than
compare_versions.
(gpgme_check_engine): Likewise.
* ops.h (_gpgme_get_program_version): Add prototype.
Diffstat (limited to '')
-rw-r--r-- | gpgme/engine.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gpgme/engine.h b/gpgme/engine.h new file mode 100644 index 00000000..372128b7 --- /dev/null +++ b/gpgme/engine.h @@ -0,0 +1,32 @@ +/* engine.h - GPGME engine calling functions + * Copyright (C) 2000 Werner Koch (dd9jn) + * Copyright (C) 2001 g10 Code GmbH + * + * This file is part of GPGME. + * + * GPGME is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GPGME is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#ifndef ENGINE_H +#define ENGINE_H + +#include "types.h" + +const char *_gpgme_engine_get_path (GpgmeProtocol proto); +const char *_gpgme_engine_get_version (GpgmeProtocol proto); +GpgmeError _gpgme_engine_new (GpgmeProtocol proto, EngineObject *r_engine); +void _gpgme_engine_release (EngineObject engine); + +#endif /* ENGINE_H */ |