Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / apps / gdp-reader.c @ master

History | View | Annotate | Download (16.7 KB)

# Date Author Comment
c3369218 07/06/2020 06:42 PM Eric Allman

2.3.0: add -b flag to gdp-reader to allow binary output.

c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

d21d615a 01/04/2019 04:23 PM Eric Allman

Make gdp-reader give a more polite message if reading a log with no
records.

22f2276a 12/20/2018 02:06 PM Eric Allman

Make some fixes for name parsing to handle warning returns from
gdp_name_parse (happens when falling back to SHA256 implementation).

ee0cddb9 08/24/2018 02:16 PM Eric Allman

Add optional signature (proof) checking when reading records. Lightly
tested. Seems to do the right thing if the signature does verify, but
fails incorrectly if it does not. Does not do any hash chain checking
yet.

54a2c7b6 08/09/2018 04:24 PM Eric Allman

Make sure output file in gdp-reader is rational.

2318b019 08/09/2018 02:42 PM Eric Allman

Add -o flag on gdp-reader to set output file.

8baa1d3b 07/10/2018 04:32 PM Eric Allman

Clean up remains of GCLs and multiread from gdp-reader; since this is
used as a programming example, it shouldn't be more complex than
necessary.

ada5f328 06/20/2018 07:15 AM Eric Allman

Improvements to event and metadata printing.

5ced6d34 06/09/2018 01:37 PM Eric Allman

Change GDP_EVENT_EOS to GDP_EVENT_DONE, since it isn't specific to
subscriptions. Also documentation updates reflecting the datum changes
in the previous commit.

bd278f2e 06/08/2018 11:45 AM Eric Allman

Snapshot: change physical interface to make more efficient use of SQLite
when retrieving sets. Use this for asynchronous reads.

4af4baed 05/25/2018 01:22 PM Eric Allman

Additional debugging.

fdeae6ab 05/25/2018 01:22 PM Eric Allman

Snapshot. Fixes in protobuf format to better deal with reads returning
sets.

eae1d3ec 05/25/2018 01:22 PM Eric Allman

The grand renaming: GCL is (mostly) gone in favor of GOB and GIN.

2e65953f 05/25/2018 01:22 PM Eric Allman

Simplify the datum interface back to what it was before. Basic
subscriptions and subscription timeout seems to work now.

fa7cfdb9 05/25/2018 01:22 PM Eric Allman

Snapshot: compiles cleanly with updated protocol and crypto
support, but completely untested.

328ab6a8 01/23/2018 05:34 PM Eric Allman

Changes for signed/unsigned conflicts and other type nits. C++ is much
more picky about these than C, but this is probably justified. Sadly,
some of the changes are pretty ugly.

bfecf573 01/23/2018 05:20 PM Eric Allman

Rather non-intuitive changes to suppress "return value not used"
warning; just (void)ing the call no longer works.

4a89fdda 01/17/2018 11:34 AM Eric Allman

First cut at flattening out protobuf definition. Some changes to data
structure printing (e.g., _gdp_pdu_dump) to get indenting more rational
so as to make reading the output easier.

21bc7eef 09/06/2017 10:39 AM Eric Allman

Print additional information with metadata in gdp-reader.

f678e274 07/07/2017 02:03 PM Eric Allman

Generalize statistics printing on exit (and save gdp-reader and
gdp-writer from using internal interfaces).

f4611e29 07/07/2017 01:24 PM Eric Allman

Add allocated GCL statistics gathering and printing.

1cd991f4 07/05/2017 12:31 PM Eric Allman

Improve gdp-reader messages if reading a log that is missing the first
record. This can still be improved.

0aa58d96 06/22/2017 02:09 PM Eric Allman

Add some debug hooks to gdp-reader.

2dba893f 05/02/2017 10:11 AM Eric Allman

Make some of the apps less "chatty" on OK exit status.

9829d4ae 04/25/2017 04:56 PM Eric Allman

Clean up user messages to use ep_app_* routines (and be consistent with
gdp-reader).

a0217621 04/25/2017 04:56 PM Eric Allman

Clean up error printing in gdp-reader.

b201e69b 04/24/2017 07:30 AM Eric Allman

Have gdp-reader print results of gdp_gcl_close if not OK. This does
change the output format slightly.

6f52b2b7 04/14/2017 03:16 PM Eric Allman

Implement a way to deliver "record missing" back to client.

93e43d6b 03/29/2017 03:49 PM Eric Allman

Fix off-by-one error for async reads with negative starting record
numbers.

bbef77b0 03/29/2017 01:52 PM Eric Allman

Print debugging statistics at process exit.

36033ca2 03/16/2017 12:24 AM Eric Allman

Clean up exit statuses for apps to make it easier to use them in
monitoring scripts.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

5ae1898b 12/13/2016 01:28 PM Eric Allman

First record not computed properly for asynchronous read with a negative
starting record number.

8204d4b2 09/28/2016 10:45 AM Eric Allman

Implement gdp_gcl_read_async. This also fixes some obscure problems
with other asynchronous operations, and tweaks debugging flags to make
it easier to pick out the operations you want to see.

d2647d1f 07/26/2016 07:34 PM Eric Allman

Next take on read-by-timestamp. This version works for read, multiread,
and subscribe. There are still some glitches (e.g., you can't have a
starting timestamp in the future) but fixing these would require major
code restructuring, and besides, you can't specify a starting record...

65309098 07/26/2016 08:36 AM Eric Allman

First cut at read-by-timestamp. Adds Berkeley DB as a dependency (two
versions supported). The interface still isn't quite right; in
particular, subscribe and multiread don't take timestamps. This should
be remedied before this code is released.

87a0bdac 12/17/2015 04:01 PM Eric Allman

Add -q flag to gdp-reader to suppress all metadata output; this allows
it to be piped into another program to read the data.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

6e2cccae 10/05/2015 10:25 AM Eric Allman

Rename reader-test => gdp-reader and writer-test => gdp-writer. They
aren't test programs any more.