diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-05-09 08:12:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-05-09 08:12:26 +0000 |
commit | 3de2b1be7405adac31bd796f3380b9d8edbe0f99 (patch) | |
tree | b444b752e4435e0b436bbf8eef5c96af9f35a2de /wiretap/file_wrappers.h | |
parent | 88a1ed85e3156e80c3fed4848d651aae433dc8d8 (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).
svn path=/trunk/; revision=37026
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); |