gsti/src (8 files)

cvs user werner cvs at cvs.gnupg.org
Tue Jun 29 21:19:11 CEST 2004


    Date: Tuesday, June 29, 2004 @ 21:19:11
  Author: werner
    Path: /cvs/wk/gsti/src

Modified: ChangeLog auth.c fsm.c gsti.h logging.c packet.c utils.c utils.h

Cleaned up the logging a bit.

* fsm.c (state_to_string): New.
(fsm_server_loop, fsm_client_loop): Use it here.
* utils.h (STR,STR2): New macros.
* packet.c (_gsti_packet_read): Do not dump the entire packet.
* logging.c (_gsti_logv): Prepend the lines with "gsti: ";
(_gsti_log_cont): New.
(_gsti_logv): Support GSTI_LOG_CONT.
* gsti.h (gsti_log_level_t): Add GSTI_LOG_CONT.
* utils.c (_gsti_print_string, _gsti_dump_object): Use it here.
(_gsti_print_string): Quote everything except plain ascii.


-----------+
 ChangeLog |   23 ++++++++++++++++-----
 auth.c    |    8 +++----
 fsm.c     |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
 gsti.h    |    2 +
 logging.c |   17 +++++++++++++++
 packet.c  |    5 ++--
 utils.c   |   30 +++++++++++++++-------------
 utils.h   |    8 +++++++
 8 files changed, 123 insertions(+), 34 deletions(-)



More information about the Gnupg-commits mailing list