summaryrefslogtreecommitdiff
path: root/src/IO/mime.c
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-09 17:35:19 +0100
committerrodarima <rodarima@gmail.com>2024-03-09 18:43:51 +0100
commit4c56214b8c2e130d3709bdca2513aef20b7b0fab (patch)
treeb8cd0c6dafb5850ba116221f6f39a62e84983aa5 /src/IO/mime.c
parentbde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff)
Use Doxygen comments for C files
Diffstat (limited to 'src/IO/mime.c')
-rw-r--r--src/IO/mime.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/IO/mime.c b/src/IO/mime.c
index 19311b06..9d5e6738 100644
--- a/src/IO/mime.c
+++ b/src/IO/mime.c
@@ -29,8 +29,8 @@ static int MimeMajItemsSize = 0, MimeMajItemsMax = 8;
static MimeItem_t *MimeMajItems = NULL;
-/*
- * Add a specific MIME type (as "image/png") to our viewer list
+/**
+ * Add a specific MIME type (as "image/png") to our viewer list.
* 'Key' is the content-type string that identifies the MIME type
* 'Method' is the function that handles it
*/
@@ -43,8 +43,8 @@ static int Mime_add_minor_type(const char *Key, Viewer_t Method)
return 0;
}
-/*
- * Add a major MIME type (as "text") to our viewer list
+/**
+ * Add a major MIME type (as "text") to our viewer list.
* 'Key' is the content-type string that identifies the MIME type
* 'Method' is the function that handles it
*/
@@ -57,8 +57,8 @@ static int Mime_add_major_type(const char *Key, Viewer_t Method)
return 0;
}
-/*
- * Search the list of specific MIME viewers, for a Method that matches 'Key'
+/**
+ * Search the list of specific MIME viewers for a Method that matches 'Key'.
* 'Key' is the content-type string that identifies the MIME type
*/
static Viewer_t Mime_minor_type_fetch(const char *Key, uint_t Size)
@@ -73,8 +73,8 @@ static Viewer_t Mime_minor_type_fetch(const char *Key, uint_t Size)
return NULL;
}
-/*
- * Search the list of major MIME viewers, for a Method that matches 'Key'
+/**
+ * Search the list of major MIME viewers for a Method that matches 'Key'.
* 'Key' is the content-type string that identifies the MIME type
*/
static Viewer_t Mime_major_type_fetch(const char *Key, uint_t Size)
@@ -90,7 +90,7 @@ static Viewer_t Mime_major_type_fetch(const char *Key, uint_t Size)
}
-/*
+/**
* Initializes Mime module and, sets the supported Mime types.
*/
void a_Mime_init()
@@ -115,7 +115,7 @@ void a_Mime_init()
}
-/*
+/**
* Get the handler for the MIME type.
*
* Return Value: