diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2018-10-10 14:33:40 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2018-10-11 12:33:05 +0000 |
commit | 19153cf9113c73f110f1f40d37cbf232f056fa51 (patch) | |
tree | 15e70ef34e0ec1e5bff387d2df1a98abe9aa46c9 /debian | |
parent | b6d182859ebb22933aee010c38187b249a75043a (diff) |
wsutil: Add config_file_exists_with_entries()
The purpose of this function is to check if a configuration file exists
and has at least one entry which is not a comment.
Use this when building the list of profiles where the user can copy
configuration from, to avoid listing profiles with empty files or files
with only comments.
Change-Id: If45f52025959818fb1213ffac488cd59441e9fce
Reviewed-on: https://code.wireshark.org/review/30113
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/libwsutil0.symbols | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libwsutil0.symbols b/debian/libwsutil0.symbols index 4200b13758..88464bcc5a 100644 --- a/debian/libwsutil0.symbols +++ b/debian/libwsutil0.symbols @@ -10,6 +10,7 @@ libwsutil.so.0 libwsutil0 #MINVER# cmdarg_err@Base 1.99.0 cmdarg_err_cont@Base 1.99.0 cmdarg_err_init@Base 1.99.0 + config_file_exists_with_entries@Base 2.9.0 copy_file_binary_mode@Base 1.12.0~rc1 copy_persconffile_profile@Base 1.12.0~rc1 crc11_307_noreflect_noxor@Base 1.10.0 |