summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/gui_file_table.h
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-04-05 21:39:01 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-06-10 08:24:39 +0200
commit6fd280bb5b27842a0ef2977798566c37bd4e1d0e (patch)
tree8e5dd8aa1adf8c6550b955d130c81c36b3db9ea5 /frontends/kolibrios/gui_file_table.h
parent9bf5ecfa87d022645e986249270c5a89e27f46fe (diff)
downloadnetsurf-6fd280bb5b27842a0ef2977798566c37bd4e1d0e.tar.gz
netsurf-6fd280bb5b27842a0ef2977798566c37bd4e1d0e.tar.bz2
Add kolibrios/ dir : Step 1 towards porting this to Kolibri OS
Diffstat (limited to 'frontends/kolibrios/gui_file_table.h')
-rw-r--r--frontends/kolibrios/gui_file_table.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/frontends/kolibrios/gui_file_table.h b/frontends/kolibrios/gui_file_table.h
new file mode 100644
index 000000000..2c0795fa1
--- /dev/null
+++ b/frontends/kolibrios/gui_file_table.h
@@ -0,0 +1,37 @@
+/* ------------------------------ */
+/* Part about GUI FILE TABLE. Will contain all functions required as well. */
+/* ------------------------------ */
+nserror kolibri_mkpath(char **str, size_t *size, size_t nemb, va_list ap)
+{
+
+}
+
+nserror kolibri_basename(const char *path, char **str, size_t *size)
+{
+
+}
+
+nserror kolibri_nsurl_to_path(struct nsurl *url, char **path)
+{
+
+}
+
+nserror kolibri_path_to_nsurl(const char *path, struct nsurl **url)
+{
+
+}
+
+nserror kolibri_mkdir_all(const char *fname)
+{
+
+}
+
+
+struct gui_file_table kolibri_gui_file_table = {
+ /* Mandantory entries */
+ .mkpath = kolibri_mkpath,
+ .basename = kolibri_basename,
+ .nsurl_to_path = kolibri_nsurl_to_path,
+ .path_to_nsurl = kolibri_path_to_nsurl,
+ .mkdir_all = kolibri_mkdir_all
+};