summaryrefslogtreecommitdiffabout
path: root/libmu_cpp/folder.cc
Side-by-side diff
Diffstat (limited to 'libmu_cpp/folder.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libmu_cpp/folder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmu_cpp/folder.cc b/libmu_cpp/folder.cc
index ebc7401..cf6857f 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);

Return to:

Send suggestions and report system problems to the System administrator.