diff options
author | Hadriel Kaplan <hadrielk@yahoo.com> | 2014-03-26 02:24:51 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-03-26 07:37:34 +0000 |
commit | 8c2bb805742c918b933923947a533d098774da75 (patch) | |
tree | b3859068c4fdd09bd26ab01168835a042715644b /docbook/CMakeLists.txt | |
parent | da1af6e549856c8e213dadc1ec37a41a50246e1d (diff) | |
download | wireshark-8c2bb805742c918b933923947a533d098774da75.tar.gz |
Add various functions for Lua directory handling and path info
This adds new functions to get plugins path info, find out if a directory
exists, make a new one, remove one, etc. It also creates a file environment
for user-supplied Lua scripts, to prevent global variable contamination as
well as supply the script-specific file name. Some other minor cleanup was
done as I found them.
A new testsuite was added to test the existing and new directory functions.
Change-Id: I19bd587b5e8a73d89b8521af73670e023314fb33
Reviewed-on: https://code.wireshark.org/review/832
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook/CMakeLists.txt')
-rw-r--r-- | docbook/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docbook/CMakeLists.txt b/docbook/CMakeLists.txt index e03076f5aa..2fb6818720 100644 --- a/docbook/CMakeLists.txt +++ b/docbook/CMakeLists.txt @@ -310,6 +310,7 @@ set(WSLUA_MODULES ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_tree.c ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_tvb.c ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_file.c + ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_dir.c ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_util.c ${CMAKE_SOURCE_DIR}/epan/wslua/wslua_struct.c ) |