diff options
-rw-r--r-- | wiretap/wtap.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index bb1c4433c9..406dc2326b 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.38 2000/03/22 07:06:55 guy Exp $ + * $Id: wtap.c,v 1.39 2000/04/08 00:33:04 sharpe Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -202,6 +202,11 @@ void wtap_close(wtap *wth) g_free(wth); } +int wtap_read(wtap *wth, int *err) +{ + return wth -> subtype_read(wth, err); +} + int wtap_loop(wtap *wth, int count, wtap_handler callback, u_char* user, int *err) { |