aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
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/cache.h
parentbde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff)
Use Doxygen comments for C files
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cache.h b/src/cache.h
index 833e4394..72ed2196 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -37,23 +37,23 @@ extern "C" {
typedef struct CacheClient CacheClient_t;
-/*
+/**
* Callback type for cache clients
*/
typedef void (*CA_Callback_t)(int Op, CacheClient_t *Client);
-/*
+/**
* Data structure for cache clients.
*/
struct CacheClient {
- int Key; /* Primary Key for this client */
- const DilloUrl *Url; /* Pointer to a cache entry Url */
- int Version; /* Dicache version of this Url (0 if not used) */
- void *Buf; /* Pointer to cache-data */
- uint_t BufSize; /* Valid size of cache-data */
- CA_Callback_t Callback; /* Client function */
- void *CbData; /* Client function data */
- void *Web; /* Pointer to the Web structure of our client */
+ int Key; /**< Primary Key for this client */
+ const DilloUrl *Url; /**< Pointer to a cache entry Url */
+ int Version; /**< Dicache version of this Url (0 if not used) */
+ void *Buf; /**< Pointer to cache-data */
+ uint_t BufSize; /**< Valid size of cache-data */
+ CA_Callback_t Callback; /**< Client function */
+ void *CbData; /**< Client function data */
+ void *Web; /**< Pointer to the Web structure of our client */
};
/*