From a344c9736efe5519543da1290e1ad9065d0b0cff Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 23 May 2014 10:50:02 +0000 Subject: Revert "Allow wtap_read() and wtap_seek_read() to return non-packet records." This reverts commit c0c480d08c175eed4524ea9e73ec86298f468cf4. A better way to do this is to have the record type be part of struct wtap_pkthdr; that keeps the metadata for the record together and requires fewer API changes. That is in-progress. Change-Id: Ic558f163a48e2c6d0df7f55e81a35a5e24b53bc6 Reviewed-on: https://code.wireshark.org/review/1741 Reviewed-by: Guy Harris --- capture_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_info.h') diff --git a/capture_info.h b/capture_info.h index 286dce12c0..3e5845ac6c 100644 --- a/capture_info.h +++ b/capture_info.h @@ -43,8 +43,8 @@ extern void capture_info_open(capture_session *cap_session); /* new file arrived - (eventually close old wtap), open wtap */ extern gboolean capture_info_new_file(const char *new_filename); -/* new records arrived - read from wtap, count */ -extern void capture_info_new_records(int to_read); +/* new packets arrived - read from wtap, count */ +extern void capture_info_new_packets(int to_read); /* close the info - close wtap, destroy dialog */ extern void capture_info_close(void); -- cgit v1.2.1