X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=cfile.h;fp=cfile.h;h=730da187c78064797a9dccebbbac4264b81ba7e7;hp=163f4ca426d6376a51faab0e2f1ba865642689d5;hb=54a21b335ed55f96d48f6e09f32682a0f64cf1b9;hpb=bbb26fa0193e0f8b9d47d576864fbfcf4e07f7db diff --git a/cfile.h b/cfile.h index 163f4ca426..730da187c7 100644 --- a/cfile.h +++ b/cfile.h @@ -27,6 +27,10 @@ #include "frame_data_sequence.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* Current state of file. */ typedef enum { FILE_CLOSED, /* No file open */ @@ -115,4 +119,8 @@ typedef struct _capture_file { extern void cap_file_init(capture_file *cf); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* cfile.h */