summaryrefslogtreecommitdiff
path: root/src/history.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/history.c
parentbde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff)
Use Doxygen comments for C files
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/history.c b/src/history.c
index 15ab19db..de77b5c9 100644
--- a/src/history.c
+++ b/src/history.c
@@ -9,7 +9,7 @@
* (at your option) any later version.
*/
-/*
+/** @file
* Linear history (it also provides indexes for the navigation stack)
*/
@@ -30,7 +30,7 @@ static int history_size = 0; /* [1 based] */
static int history_size_max = 16;
-/*
+/**
* Debug procedure.
*/
void History_show()
@@ -43,7 +43,7 @@ void History_show()
MSG(" }\n");
}
-/*
+/**
* Add a new H_Item at the end of the history list
* (taking care of not making a duplicate entry)
*/
@@ -74,7 +74,7 @@ int a_History_add_url(DilloUrl *url)
return idx;
}
-/*
+/**
* Return the DilloUrl field (by index)
*/
const DilloUrl *a_History_get_url(int idx)
@@ -87,7 +87,7 @@ const DilloUrl *a_History_get_url(int idx)
return history[idx].url;
}
-/*
+/**
* Return the title field (by index)
* ('force' returns URL_STR when there's no title)
*/
@@ -103,7 +103,7 @@ const char *a_History_get_title(int idx, int force)
return NULL;
}
-/*
+/**
* Return the title field (by url)
* ('force' returns URL_STR when there's no title)
*/
@@ -124,7 +124,7 @@ const char *a_History_get_title_by_url(const DilloUrl *url, int force)
return NULL;
}
-/*
+/**
* Set the page-title for a given URL
*/
void a_History_set_title_by_url(const DilloUrl *url, const char *title)
@@ -146,7 +146,7 @@ void a_History_set_title_by_url(const DilloUrl *url, const char *title)
}
-/*
+/**
* Free all the memory used by this module
*/
void a_History_freeall()