Add CleanupStorage Function 19/216719/9 submit/tizen/20191122.115947
authorYunmi Ha <yunmi.ha@samsung.com>
Thu, 31 Oct 2019 05:28:24 +0000 (14:28 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Fri, 22 Nov 2019 07:51:59 +0000 (16:51 +0900)
commit94b941f2ee66702934f3d7168faa7c5b166a0aa5
treefece589b31fcb4ca951daf486dc73fb841b17b03
parentff7ef76e47637b422304d3d65413a21a6fee5330
Add CleanupStorage Function

Refer to the config file,
delete the data according to the storage level.
config: /etc/storaged/cleanup-storage.conf

Change-Id: I589c7a03fa65ac17a62d12bcd301510485ea8731
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
packaging/storaged.spec
src/storage/CMakeLists.txt
src/storage/cleanup.c [new file with mode: 0644]
src/storage/cleanup.h [new file with mode: 0644]
src/storage/cleanup_config.c [new file with mode: 0644]
src/storage/cleanup_config.h [new file with mode: 0644]
src/storage/sample-cleanup-storage.conf [new file with mode: 0644]
src/storage/storage.c