diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-09 08:12:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-09 08:12:26 +0000 |
commit | 059b162efd9aa37aa568f8f49198d33e9a488c24 (patch) | |
tree | b444b752e4435e0b436bbf8eef5c96af9f35a2de /wiretap/file_wrappers.h | |
parent | 9a8e8c171e543406b699d4b2a72a4e7b7de2d004 (diff) |
Get rid of the fd member of a wth structure; the FILE_T's in that
structure include a file descriptor. Add a wtap_fstat() for the file
readers that use file times to generate time stamps (we really need a
way to say "this file has no time stamps" or "this file has only
relative time stamps).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37026 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/file_wrappers.h')
-rw-r--r-- | wiretap/file_wrappers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.h b/wiretap/file_wrappers.h index 7929319a61..cf223f4332 100644 --- a/wiretap/file_wrappers.h +++ b/wiretap/file_wrappers.h @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * */ #ifndef __FILE_H__ @@ -27,6 +26,7 @@ extern gint64 file_seek(FILE_T stream, gint64 offset, int whence, int *err); extern gint64 file_tell(FILE_T stream); extern gint64 file_tell_raw(FILE_T stream); +extern int file_fstat(FILE_T stream, ws_statb64 *statb, int *err); extern int file_error(FILE_T fh, gchar **err_info); extern FILE_T file_open(const char *path); |