summaryrefslogtreecommitdiff
path: root/content/fetchers/file/file.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-07-03 18:07:21 +0100
committerVincent Sanders <vince@kyllikki.org>2020-07-03 18:07:21 +0100
commit0908925ca67652e4e335c5f8ef4139ca6f60904f (patch)
tree13dc0f6975b3f33b3f451f3efe6374151d05f156 /content/fetchers/file/file.h
parent1697118e227406764d1cfad78a5fcc9febe152be (diff)
downloadnetsurf-0908925ca67652e4e335c5f8ef4139ca6f60904f.tar.gz
netsurf-0908925ca67652e4e335c5f8ef4139ca6f60904f.tar.bz2
move the file fetcher sources into a single directory
Diffstat (limited to 'content/fetchers/file/file.h')
-rw-r--r--content/fetchers/file/file.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/content/fetchers/file/file.h b/content/fetchers/file/file.h
new file mode 100644
index 000000000..5a5cfe89b
--- /dev/null
+++ b/content/fetchers/file/file.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2010 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of NetSurf.
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/**
+ * \file
+ * file scheme fetcher handler interface.
+ */
+
+#ifndef NETSURF_CONTENT_FETCHERS_FETCH_FILE_H
+#define NETSURF_CONTENT_FETCHERS_FETCH_FILE_H
+
+/**
+ * Register file scheme handler.
+ *
+ * \return NSERROR_OK on successful registration or error code on failure.
+ */
+nserror fetch_file_register(void);
+
+#endif