summaryrefslogtreecommitdiffstats
path: root/include/file-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/file-list.h')
-rw-r--r--include/file-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/file-list.h b/include/file-list.h
index 9a9edfa378..7264a3e2c6 100644
--- a/include/file-list.h
+++ b/include/file-list.h
@@ -2,6 +2,8 @@
#ifndef __FILE_LIST
#define __FILE_LIST
+#include <linux/list.h>
+
#define FILE_LIST_FLAG_SAFE (1 << 0)
#define FILE_LIST_FLAG_READBACK (1 << 1)
#define FILE_LIST_FLAG_CREATE (1 << 2)
@@ -20,6 +22,7 @@ struct file_list {
};
struct file_list *file_list_parse(const char *str);
+char *file_list_to_str(const struct file_list *files);
void file_list_free(struct file_list *);
int file_list_add_entry(struct file_list *files, const char *name, const char *filename,