gsti/src (12 files)

cvs user marcus cvs at cvs.gnupg.org
Mon May 24 23:50:29 CEST 2004


    Date: Monday, May 24, 2004 @ 23:50:29
  Author: marcus
    Path: /cvs/wk/gsti/src

Modified: ChangeLog Makefile.am api.h auth.c fsm.c gsti.h kex.c main.c
          packet.c pubkey.c utils.c utils.h

examples/
2004-05-24  Marcus Brinkmann  <marcus at g10code.de>

	* server.c (main): Add HD argument to gsti_set_log_level.
	* client.c (make_connection): Likewise.

src/
2004-05-24  Marcus Brinkmann  <marcus at g10code.de>


	Everywhere: Pass context to invocation of _gsti_log_info and friends.
	Change _gsti_log_rc to _gsti_log_err.
	
	* gsti.h (gsti_log_level_t): New type, using the existing enum for
	GSTI_LOG_* symbols.  Add symbol GSTI_LOG_MAX.  Change the values
	of GSTI_LOG_INFO and GSTI_LOG_DEBUG to make room for insertions.
	(GSTI_LOG_FNC): Rename to ...
	(gsti_log_cb_t): ... this.  Add new argument CTX, change type of
	log level argument.
	(gsti_set_log_handler): Removed.
	(gsti_set_log_stream): New prototype.
	(gsti_set_log_level): Add new argument CTX.
	* utils.h (_gsti_log_rc, _gsti_log_info, _gsti_log_debug): Add
	argument CTX to prototype.
	(_gsti_get_log_level): Prototype removed.
	* api.h (struct gsti_context): New members LOG_CB, LOG_CB_HOOK,
	and LOG_LEVEL.
	* main.c (log_handler, log_handler_value, log_level,
	_gsti_get_log_level): Removed.
	(_gsti_logv, _gsti_log_rc, _gsti_log_info, _gsti_log_debug,
	gsti_set_log_level): Moved to ...
	* logging.c: ... this new file.
	* Makefile.am (libgsti_la_SOURCES): Add logging.c.


-------------+
 ChangeLog   |   27 ++++++++++++
 Makefile.am |    1 
 api.h       |   42 ++++++++++---------
 auth.c      |   62 +++++++++++++++++-----------
 fsm.c       |   81 +++++++++++++++++++-----------------
 gsti.h      |   78 +++++++++++++++++++++--------------
 kex.c       |   93 +++++++++++++++++++++---------------------
 main.c      |  128 +++++++++-------------------------------------------------
 packet.c    |   77 ++++++++++++++++++----------------
 pubkey.c    |   47 +++++++++++----------
 utils.c     |   79 ++++++++++++++++++-----------------
 utils.h     |   49 ++++++++++------------
 12 files changed, 378 insertions(+), 386 deletions(-)



More information about the Gnupg-commits mailing list