]> git.ipfire.org Git - thirdparty/suricata.git/commit
util-file: introduce new functions for file size 2514/head
authorEric Leblond <eric@regit.org>
Thu, 19 Jan 2017 18:52:41 +0000 (10:52 -0800)
committerEric Leblond <eric@regit.org>
Mon, 23 Jan 2017 08:19:10 +0000 (09:19 +0100)
commit569cc5d238639c27a88a94069bf28d8f60809f03
treea1fe8b9af6601c7a7d40245cf679f97b162cb55c
parenta098896b285bde587db122baf0a3f6256f89d0a8
util-file: introduce new functions for file size

This patch introduces the FileDataSize and FileTrackedSize functions.
The first one is just a renaming of the initial FilSize function
whereas the other one is using the newly introduced size field as
value.
13 files changed:
src/app-layer-htp-file.c
src/app-layer-smtp.c
src/detect-engine-file.c
src/detect-engine-filedata-smtp.c
src/detect-filemagic.c
src/detect-filesize.c
src/log-file.c
src/log-filestore.c
src/output-filedata.c
src/output-json-file.c
src/util-file.c
src/util-file.h
src/util-lua-common.c