pscanner.c => psuggest namespace
This commit is contained in:
parent
2c8d978c72
commit
0c34b53384
|
|
@ -29,7 +29,7 @@
|
|||
DAMAGE.
|
||||
*/
|
||||
|
||||
#include "pscanner.h"
|
||||
#include "psuggest.h"
|
||||
#include "pfile.h"
|
||||
#include "plibs.h"
|
||||
#include "plist.h"
|
||||
|
|
@ -187,7 +187,7 @@ static void free_folder(scan_folder *f) {
|
|||
psync_free(f);
|
||||
}
|
||||
|
||||
psuggested_folders_t *psync_scanner_scan_folder(const char *path) {
|
||||
psuggested_folders_t *psuggest_scan_folder(const char *path) {
|
||||
scan_folder *f;
|
||||
psync_list suggestions;
|
||||
suggested_folder *s, *sf[PSYNC_SCANNER_MAX_SUGGESTIONS];
|
||||
|
|
@ -32,8 +32,8 @@
|
|||
#ifndef _PSYNC_SCANNER_H
|
||||
#define _PSYNC_SCANNER_H
|
||||
|
||||
#include "psynclib.h"
|
||||
#include "pfoldersync.h"
|
||||
|
||||
psuggested_folders_t *psync_scanner_scan_folder(const char *path);
|
||||
psuggested_folders_t *psuggest_scan_folder(const char *path);
|
||||
|
||||
#endif
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
#include "ppath.h"
|
||||
#include "ppathstatus.h"
|
||||
#include "prun.h"
|
||||
#include "pscanner.h"
|
||||
#include "psuggest.h"
|
||||
#include "psettings.h"
|
||||
#include "pshm.h"
|
||||
#include "pssl.h"
|
||||
|
|
@ -1028,7 +1028,7 @@ psuggested_folders_t *psync_get_sync_suggestions() {
|
|||
psuggested_folders_t *ret;
|
||||
home = ppath_home();
|
||||
if (likely_log(home)) {
|
||||
ret = psync_scanner_scan_folder(home);
|
||||
ret = psuggest_scan_folder(home);
|
||||
psync_free(home);
|
||||
return ret;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue