summaryrefslogtreecommitdiff
path: root/include/disfluid/cache_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/disfluid/cache_entry.h')
-rw-r--r--include/disfluid/cache_entry.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/disfluid/cache_entry.h b/include/disfluid/cache_entry.h
index dddb92d..7f44357 100644
--- a/include/disfluid/cache_entry.h
+++ b/include/disfluid/cache_entry.h
@@ -360,6 +360,30 @@ extern "C"
# define DISFLUID_CACHE_ENTRY_FREE(ptr) \
{ free (ptr); ptr = NULL; }
+ /**
+ * disfluid_cache_entry_describe_request_date:
+ * @entry: (type DisfluidCacheEntry): the entry to describe.
+ * @description: (out): a short phrase stating the request date.
+ *
+ * Returns: 0 on success, or a negative error code.
+ */
+ DISFLUID_NODISCARD DISFLUID_API extern int
+ disfluid_cache_entry_describe_request_date (const struct
+ disfluid_cache_entry *entry,
+ char **description);
+
+ /**
+ * disfluid_cache_entry_describe_response_date:
+ * @entry: (type DisfluidCacheEntry): the entry to describe.
+ * @description: (out): a short phrase stating the response date.
+ *
+ * Returns: 0 on success, or a negative error code.
+ */
+ DISFLUID_NODISCARD DISFLUID_API extern int
+ disfluid_cache_entry_describe_response_date (const struct
+ disfluid_cache_entry *entry,
+ char **description);
+
# ifdef __cplusplus
}
# endif /* __cplusplus */