diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-12-03 10:53:58 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-12-03 18:54:37 +0000 |
commit | eb8ffb74e27523492855268abf5cb45927ffdb04 (patch) | |
tree | 3c6eb1e8a931a146a70e3dfe7836884b10c17d2c /globals.h | |
parent | 114c989fb37b25671d8886458b206f11471b3277 (diff) | |
download | wireshark-eb8ffb74e27523492855268abf5cb45927ffdb04.tar.gz wireshark-eb8ffb74e27523492855268abf5cb45927ffdb04.tar.bz2 wireshark-eb8ffb74e27523492855268abf5cb45927ffdb04.zip |
Use cfile.h to define the capture_file type.
Have cfile-int.h declare the structure, and use it in files that
directly access the structure.
Have cfile.h just incompletely declare the structure and include it
rather than explicitly declaring it in source files or other header
files.
Never directly refer to struct _capture_file except when typedeffing
capture_file.
Add #includes as necessary, now that cfile.h doesn't drag in a ton of
Change-Id: I7931c8039d75ff7c980b0f2a6e221f20e602a556
Reviewed-on: https://code.wireshark.org/review/24686
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ #define __GLOBALS_H__ #include "file.h" +#include "cfile-int.h" #include <epan/timestamp.h> #ifdef __cplusplus |