summaryrefslogtreecommitdiff
path: root/frontends/windows/filetype.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-02-17 20:44:37 +0000
committerVincent Sanders <vince@kyllikki.org>2017-02-17 20:44:37 +0000
commit67b22a811128f5a0635430151a73442d1f100735 (patch)
tree52ed1e6908759ab02812dfc9e53d1577f0f8dd0b /frontends/windows/filetype.c
parent9d0943b8e561dd2e5449cd9d53d8b5c2f439442d (diff)
downloadnetsurf-67b22a811128f5a0635430151a73442d1f100735.tar.gz
netsurf-67b22a811128f5a0635430151a73442d1f100735.tar.bz2
cleanup windows frontend documentation comments and spelling
Diffstat (limited to 'frontends/windows/filetype.c')
-rw-r--r--frontends/windows/filetype.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/frontends/windows/filetype.c b/frontends/windows/filetype.c
index ed07dd5fc..4e7f2f425 100644
--- a/frontends/windows/filetype.c
+++ b/frontends/windows/filetype.c
@@ -16,6 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * \file Fetch operation implementation for win32
+ */
+
#include <stdlib.h>
#include <string.h>
@@ -26,7 +30,10 @@
#include "windows/filetype.h"
/**
- * filetype -- determine the MIME type of a local file
+ * determine the MIME type of a local file.
+ *
+ * \param unix_path The unix style path to the file.
+ * \return The mime type of the file.
*/
static const char *fetch_filetype(const char *unix_path)
{
@@ -52,6 +59,7 @@ static const char *fetch_filetype(const char *unix_path)
return "text/html";
}
+/** win32 fetch operation table */
static struct gui_fetch_table fetch_table = {
.filetype = fetch_filetype,
};