diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-03-26 21:41:09 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-03-26 21:41:09 +0200 |
commit | 60c5545ba8a5c9f4038b5587c96c19b80f538831 (patch) | |
tree | 13ecd0d40286e43a37934b0ddd07c1e898fb4d75 /libmu_cpp/folder.cc | |
parent | 5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022 (diff) | |
download | mailutils-60c5545ba8a5c9f4038b5587c96c19b80f538831.tar.gz mailutils-60c5545ba8a5c9f4038b5587c96c19b80f538831.tar.bz2 |
Consistently use the term 'depth' when referring to directory nesting depth
* include/mailutils/folder.h (mu_list_response): Rename 'level' to
'depth'.
All uses updated.
Diffstat (limited to 'libmu_cpp/folder.cc')
-rw-r--r-- | libmu_cpp/folder.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmu_cpp/folder.cc b/libmu_cpp/folder.cc index ebc7401f8..cf6857fbb 100644 --- a/libmu_cpp/folder.cc +++ b/libmu_cpp/folder.cc @@ -82,12 +82,12 @@ Folder :: close () List& Folder :: list (const std::string& dirname, void* pattern, - size_t max_level = 0) + size_t max_depth = 0) { mu_list_t c_list; int status = mu_folder_list (folder, dirname.c_str (), pattern, - max_level, &c_list); + max_depth, &c_list); if (status) throw Exception ("Folder::list", status); @@ -96,13 +96,13 @@ Folder :: list (const std::string& dirname, void* pattern, List& Folder :: enumerate (const std::string& name, void* pattern, - int flags, size_t max_level, + int flags, size_t max_depth, mu_folder_enumerate_fp enumfun, void* enumdata) { mu_list_t c_list; int status = mu_folder_enumerate (folder, name.c_str (), pattern, - flags, max_level, &c_list, + flags, max_depth, &c_list, enumfun, enumdata); if (status) throw Exception ("Folder::enumerate", status); |