commit | dbb0f5ae999155b1eb2ec490c48ff3c5ec848935 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Oct 18 23:51:54 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Oct 18 23:51:54 2016 +0200 |
tree | b839f500a3b751076450adcd731f0f8a5b1d021d | |
parent | 232b972035f54e51130475765e1de396fbce4620 [diff] [blame] |
add a command line tool for dumping the contents of a capture file
diff --git a/src/storage.h b/src/storage.h index df58ff9..d256fdc 100644 --- a/src/storage.h +++ b/src/storage.h
@@ -30,3 +30,7 @@ struct e1inp_ts; int e1frame_store(struct e1inp_ts *ts, struct msgb *msg, enum osmo_e1cap_capture_mode mode); + +struct osmo_e1cap_file; +struct osmo_e1cap_file *osmo_e1cap_open(void *ctx, const char *path); +struct osmo_e1cap_pkthdr *osmo_e1cap_read_next(struct osmo_e1cap_file *f);