Mercurial > paster
diff page-new.h @ 78:9bfe5ce3cc45
pasterd: rework themes
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 16 Mar 2023 20:45:59 +0100 |
parents | 1a98bc0daa49 |
children | 52029a52a385 |
line wrap: on
line diff
--- a/page-new.h Thu Mar 16 15:05:26 2023 +0100 +++ b/page-new.h Thu Mar 16 20:45:59 2023 +0100 @@ -2,11 +2,11 @@ * page-new.h -- page /new * * Copyright (c) 2020-2023 David Demelier <markand@malikania.fr> - * + * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. - * + * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR @@ -19,11 +19,12 @@ #ifndef PASTER_PAGE_NEW_H #define PASTER_PAGE_NEW_H +#include <jansson.h> + struct kreq; -struct paste; void -page_new_render(struct kreq *, const struct paste *); +page_new_render(struct kreq *, json_t *); void page_new(struct kreq *);