diff scid/theme.h @ 40:752bb1cd2dd8

themes: improve status page
author David Demelier <markand@malikania.fr>
date Sun, 07 Aug 2022 08:43:32 +0200
parents 1d0ddf9e6efd
children 00b9af607524
line wrap: on
line diff
--- a/scid/theme.h	Sun Aug 07 08:42:04 2022 +0200
+++ b/scid/theme.h	Sun Aug 07 08:43:32 2022 +0200
@@ -109,12 +109,13 @@
  * }
  * ```
  *
- * \param status the status code
+ * \param status the status code (e.g. 404)
+ * \param message the status message (e.g. Not found)
  * \return a newly allocated rendered string
  * \note You must free the return value
  */
 char *
-theme_page_status(enum khttp status);
+theme_page_status(int status, const char *msg);
 
 /**
  * Cleanup theme resources.