Home GnuPG
Diffusion GpgEX 88205327f788

2007-09-04 Marcus Brinkmann <marcus@g10code.de>
88205327f788Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

2007-09-04 Marcus Brinkmann <marcus@g10code.de>

  • m4/libassuan.m4, m4/gpg-error.m4: New files.
  • configure.ac: Check for libgpg-error and libassuan.
  • po/POTFILES.in: Add src/client.cc, src/gpgex.h and src/gpgex.cc.

src/
2007-09-04 Marcus Brinkmann <marcus@g10code.de>

  • Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Remove $(GPGME_CFLAGS),

add $(LIBASSUAN_CFLAGS) and $(GPG_ERROR_CFLAGS).
(gpgex_SOURCES): Add client.h and client.cc.
(libgpg-error.a, libassuan.a, clean-local): New targets.
(gpgex_LDADD): Add ./libassuan.a and ./libgpg-error.a.

  • client.h, client.cc: New files.
  • gpgex.cc: Include client.h.

(gpgex_t::InvokeCommand): Use client class to implement bunch of
functionality.

  • main.h: Include <gpg-error.h>.

(DEBUG_ASSUAN, REGKEY, TRACE_GPGERR): New macros.

  • main.cc: Include <gpg-error.h> and <assuan.h>.

(REGKEY): Deleted.
(debug_init): Free filename and add DEBUG_ASSUAN to debug flags.
(DllMain): Set assuan log stream and prefix, and the error source.

Details

Provenance
Marcus Brinkmann <mb@g10code.com>Authored on Sep 4 2007, 6:07 PM
Parents
rX80365961446c: m4/ 2007-09-03 Marcus Brinkmann <marcus@g10code.de>
Branches
Unknown
Tags
Unknown