CHARGECARD - Return a timestamp.
authorWerner Koch <wk@gnupg.org>
Fri, 23 May 2014 18:27:40 +0000 (20:27 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 23 May 2014 18:27:40 +0000 (20:27 +0200)
commitaa1c26ad7baaf21b3d470c83dc0dc7413fe35988
treec7c33d7fb49c72d8e55fd1670b5eb2a020b4758a
parentf086f4b58b07842ce937713bf052bd73bac1e90e
CHARGECARD - Return a timestamp.

* src/connection.c (cmd_cardtoken): Print timestamp on success.
* src/journal.c (TIMESTAMP_SIZE): New.
(put_current_time): Remove.
(get_current_time): New.
(start_record): Add arg optoonal TIMESTAMP.
(jrnl_store_charge_record): Change arg to a pointer.  Put timestamp
into DICT.
doc/api-ref.org
src/connection.c
src/journal.c
src/journal.h