diff options
Diffstat (limited to 'frontends/windows/filetype.c')
-rw-r--r-- | frontends/windows/filetype.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/frontends/windows/filetype.c b/frontends/windows/filetype.c index ed07dd5fc..a5fd9e95e 100644 --- a/frontends/windows/filetype.c +++ b/frontends/windows/filetype.c @@ -16,6 +16,11 @@ * 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,12 +31,15 @@ #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) { int l; - LOG("unix path %s", unix_path); + NSLOG(netsurf, INFO, "unix path %s", unix_path); l = strlen(unix_path); if (2 < l && strcasecmp(unix_path + l - 3, "css") == 0) return "text/css"; @@ -52,6 +60,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, }; |