]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
add files to mime folder
authorhuica <huica@cisco.com>
Tue, 4 Aug 2015 15:10:16 +0000 (11:10 -0400)
committerhuica <huica@cisco.com>
Tue, 4 Aug 2015 15:10:16 +0000 (11:10 -0400)
src/mime/CMakeLists.txt [new file with mode: 0644]
src/mime/Makefile.am [new file with mode: 0644]
src/mime/dev_notes.txt [new file with mode: 0644]

diff --git a/src/mime/CMakeLists.txt b/src/mime/CMakeLists.txt
new file mode 100644 (file)
index 0000000..714dcaa
--- /dev/null
@@ -0,0 +1,21 @@
+
+
+add_library ( mime STATIC
+    file_mime_config.cc 
+    file_mime_config.h
+    file_mime_decode.h 
+    file_mime_decode.cc 
+    file_mime_log.h 
+    file_mime_log.cc 
+    file_mime_paf.h 
+    file_mime_paf.cc 
+    file_mime_process.h 
+    file_mime_process.cc 
+    sf_email_attach_decode.cc 
+    sf_email_attach_decode.h
+    sf_base64decode.cc 
+    sf_base64decode.h
+)
+
+target_link_libraries(mime file_api)
+
diff --git a/src/mime/Makefile.am b/src/mime/Makefile.am
new file mode 100644 (file)
index 0000000..f6633fd
--- /dev/null
@@ -0,0 +1,11 @@
+
+noinst_LIBRARIES = libmime.a
+
+libmime_a_SOURCES = \
+file_mime_decode.h file_mime_decode.cc \
+file_mime_log.h file_mime_log.cc \
+file_mime_paf.h file_mime_paf.cc \
+file_mime_process.h file_mime_process.cc \
+file_mime_config.cc file_mime_config.h \
+sf_base64decode.cc sf_base64decode.h \
+sf_email_attach_decode.cc sf_email_attach_decode.h
\ No newline at end of file
diff --git a/src/mime/dev_notes.txt b/src/mime/dev_notes.txt
new file mode 100644 (file)
index 0000000..7f3c343
--- /dev/null
@@ -0,0 +1,6 @@
+This directory contains all the mime processing related classes and APIs
+
+* MIME processing: provides the common MIME header and MIME body processing for
+service inpsectors such as HTTP, SMTP, POP, and IMAP. If configured, it decodes
+file data that are encoded in Base64, UU-encoding, QP-encoding, and Bit-encoding.
+