summaryrefslogtreecommitdiffstats
path: root/src/common/erf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/erf.h')
-rwxr-xr-xsrc/common/erf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/erf.h b/src/common/erf.h
index e1b83e46..bec94872 100755
--- a/src/common/erf.h
+++ b/src/common/erf.h
@@ -224,6 +224,13 @@ public:
virtual bool Create(char *file_name);
void Delete();
virtual bool write_packet(CCapPktRaw * lpPacket);
+
+ /**
+ * flush all packets to disk
+ *
+ */
+ void flush_to_disk();
+
private:
FILE *m_fd;
int m_cnt;