summaryrefslogtreecommitdiff
path: root/framebuffer/findfile.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-02-23 22:27:55 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-02-23 22:27:55 +0000
commit0231675abf3b467cff49d1976df882931d91019d (patch)
tree08756930c2008871cf5fd5bc0ce345411377cb57 /framebuffer/findfile.h
parentb49669d17e0c9dc70c775623d6cc1154619ff83b (diff)
downloadnetsurf-0231675abf3b467cff49d1976df882931d91019d.tar.gz
netsurf-0231675abf3b467cff49d1976df882931d91019d.tar.bz2
add resource handling
move gtk and framebuffer to use generic resource handling svn path=/trunk/netsurf/; revision=11772
Diffstat (limited to 'framebuffer/findfile.h')
-rw-r--r--framebuffer/findfile.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/framebuffer/findfile.h b/framebuffer/findfile.h
index 85a2f7074..1f3db6eb1 100644
--- a/framebuffer/findfile.h
+++ b/framebuffer/findfile.h
@@ -19,6 +19,14 @@
#ifndef NETSURF_FB_FINDFILE_H
#define NETSURF_FB_FINDFILE_H
-extern char *fb_find_resource(char *buf, const char *filename, const char *def);
+extern char **respaths;
+
+/** Create an array of valid paths to search for resources.
+ *
+ * The idea is that all the complex path computation to find resources
+ * is performed here, once, rather than every time a resource is
+ * searched for.
+ */
+char **fb_init_resource(const char *resource_path);
#endif /* NETSURF_FB_FINDFILE_H */