hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
#ifndef __STORAGE_MANAGER_H__
#define __STORAGE_MANAGER_H__
 
#ifdef __cplusplus
extern "C" {
#endif
 
#define STORAGEMANAGER  "rockchip.StorageManager"
#define STORAGEMANAGER_PATH      "/"
 
#define SM_SIGNAL_UPDATEDISKSTATUS    "UpdateDisksStatus"
#define SM_SIGNAL_UPDATEMEDIAPATH     "UpdateMediaPath"
#define SM_SIGNAL_FREESIZENOTICE      "FreeSizeNotice"
 
#define STORAGEMANAGER_INTERFACE  STORAGEMANAGER ".file"
 
char *storage_manager_get_disks_status(char *mountpath);
char *storage_manager_get_filelist_id(int rootid, int pathid, int order, char *limit);
char *storage_manager_get_filelist_path(char *path, int *StartTime, int *EndTime, int order, char *limit);
char *storage_manager_get_media_path(void);
char *storage_manager_diskformat(char *mountpath, char *type);
char *storage_manager_media_storage_stop_notify(char *server_name);
 
#ifdef __cplusplus
}
#endif
 
#endif