diff options
Diffstat (limited to 'framebuffer/findfile.h')
-rw-r--r-- | framebuffer/findfile.h | 10 |
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 */ |