Mercurial > sci
comparison scid/page-workers.h @ 47:e8f24896b484
scid: add /workers page
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 16 Aug 2022 18:29:08 +0200 |
parents | |
children | 71cd8447e3a4 |
comparison
equal
deleted
inserted
replaced
46:16f1c72d1635 | 47:e8f24896b484 |
---|---|
1 /* | |
2 * page-workers.h -- page /workers/<name> route | |
3 * | |
4 * Copyright (c) 2021-2022 David Demelier <markand@malikania.fr> | |
5 * | |
6 * Permission to use, copy, modify, and/or distribute this software for any | |
7 * purpose with or without fee is hereby granted, provided that the above | |
8 * copyright notice and this permission notice appear in all copies. | |
9 * | |
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
17 */ | |
18 | |
19 #ifndef SCI_PAGE_WORKERS_H | |
20 #define SCI_PAGE_WORKERS_H | |
21 | |
22 /** | |
23 * \file page-workers.h | |
24 * \brief Page /workers/id route. | |
25 * | |
26 * This module does not log messages. | |
27 */ | |
28 | |
29 struct kreq; | |
30 | |
31 /** | |
32 * Run the page. | |
33 * | |
34 * \pre r != NULL | |
35 * \param r the request | |
36 */ | |
37 void | |
38 page_workers(struct kreq *r); | |
39 | |
40 #endif /* !SCI_PAGE_WORKERS_H */ |