path: root/utils/file.h
Commit message (Collapse)AuthorAgeFilesLines
* utils/file: Add netsurf_recursive_rmDaniel Silverstone2020-02-241-0/+11
| | | | | | | This is to be used to remove the disc cache (and other things if useful in the future) Signed-off-by: Daniel Silverstone <>
* Declare global variables as extern in headersMichael Forney2019-06-301-1/+1
| | | | | | | Otherwise, each source file that includes the header will create a new definition, which are usually merged together by the linker. Multiple definitions of an object is not allowed in ISO C.
* Fix several doxygen issuesVincent Sanders2014-11-081-2/+2
* documentation fixes and cleanupsVincent Sanders2014-07-021-1/+1
* extend file table with mkdir all and make fs backing store use it.Vincent Sanders2014-06-051-0/+16
| | | | enable fs backing store for RISC OS.
* rework path to url mapping functions to convert from and to nsurlVincent Sanders2014-05-261-7/+71
* add file operations table and make all frontends use it.Vincent Sanders2014-05-071-0/+95
This rationalises the path construction and basename file operations. The default implementation is POSIX which works for all frontends except windows, riscos and amiga which have differeing path separators and rules. These implementations are significantly more robust than the previous nine implementations and also do not use unsafe strncpy or buffers with arbitrary length limits. These implementations also carry full documentation comments.