path: root/libmu_cpp/
authorSergey Poznyakoff <>2019-03-26 19:41:09 (GMT)
committer Sergey Poznyakoff <>2019-03-26 19:41:09 (GMT)
commit60c5545ba8a5c9f4038b5587c96c19b80f538831 (patch) (side-by-side diff)
tree13ecd0d40286e43a37934b0ddd07c1e898fb4d75 /libmu_cpp/
parent5b69ce81ec29afeea0e67bd8b0f0b193a7b0c022 (diff)
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/') (more/less context) (ignore whitespace changes)
1 files changed, 4 insertions, 4 deletions
diff --git a/libmu_cpp/ b/libmu_cpp/
index ebc7401..cf6857f 100644
--- a/libmu_cpp/
+++ b/libmu_cpp/
@@ -79,33 +79,33 @@ Folder :: close ()
if (status)
throw Exception ("Folder::close", status);
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);
return *new List (c_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);
return *new List (c_list);

Return to:

Send suggestions and report system problems to the System administrator.