xref: /dflybsd-src/usr.bin/dsynth/html.c (revision ea37671df32972e5ab85505aad1eaaf6a307b013)
1*ea37671dSMatthew Dillon /*
2*ea37671dSMatthew Dillon  * Copyright (c) 2019 The DragonFly Project.  All rights reserved.
3*ea37671dSMatthew Dillon  *
4*ea37671dSMatthew Dillon  * This code is derived from software contributed to The DragonFly Project
5*ea37671dSMatthew Dillon  * by Matthew Dillon <dillon@backplane.com>
6*ea37671dSMatthew Dillon  *
7*ea37671dSMatthew Dillon  * This code uses concepts and configuration based on 'synth', by
8*ea37671dSMatthew Dillon  * John R. Marino <draco@marino.st>, which was written in ada.
9*ea37671dSMatthew Dillon  *
10*ea37671dSMatthew Dillon  * Redistribution and use in source and binary forms, with or without
11*ea37671dSMatthew Dillon  * modification, are permitted provided that the following conditions
12*ea37671dSMatthew Dillon  * are met:
13*ea37671dSMatthew Dillon  *
14*ea37671dSMatthew Dillon  * 1. Redistributions of source code must retain the above copyright
15*ea37671dSMatthew Dillon  *    notice, this list of conditions and the following disclaimer.
16*ea37671dSMatthew Dillon  * 2. Redistributions in binary form must reproduce the above copyright
17*ea37671dSMatthew Dillon  *    notice, this list of conditions and the following disclaimer in
18*ea37671dSMatthew Dillon  *    the documentation and/or other materials provided with the
19*ea37671dSMatthew Dillon  *    distribution.
20*ea37671dSMatthew Dillon  * 3. Neither the name of The DragonFly Project nor the names of its
21*ea37671dSMatthew Dillon  *    contributors may be used to endorse or promote products derived
22*ea37671dSMatthew Dillon  *    from this software without specific, prior written permission.
23*ea37671dSMatthew Dillon  *
24*ea37671dSMatthew Dillon  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25*ea37671dSMatthew Dillon  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26*ea37671dSMatthew Dillon  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
27*ea37671dSMatthew Dillon  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
28*ea37671dSMatthew Dillon  * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
29*ea37671dSMatthew Dillon  * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
30*ea37671dSMatthew Dillon  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31*ea37671dSMatthew Dillon  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32*ea37671dSMatthew Dillon  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33*ea37671dSMatthew Dillon  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
34*ea37671dSMatthew Dillon  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35*ea37671dSMatthew Dillon  * SUCH DAMAGE.
36*ea37671dSMatthew Dillon  */
37*ea37671dSMatthew Dillon #include "dsynth.h"
38*ea37671dSMatthew Dillon 
39*ea37671dSMatthew Dillon static void
40*ea37671dSMatthew Dillon HtmlInit(void)
41*ea37671dSMatthew Dillon {
42*ea37671dSMatthew Dillon }
43*ea37671dSMatthew Dillon 
44*ea37671dSMatthew Dillon static void
45*ea37671dSMatthew Dillon HtmlDone(void)
46*ea37671dSMatthew Dillon {
47*ea37671dSMatthew Dillon }
48*ea37671dSMatthew Dillon 
49*ea37671dSMatthew Dillon static void
50*ea37671dSMatthew Dillon HtmlReset(void)
51*ea37671dSMatthew Dillon {
52*ea37671dSMatthew Dillon }
53*ea37671dSMatthew Dillon 
54*ea37671dSMatthew Dillon static void
55*ea37671dSMatthew Dillon HtmlUpdate(worker_t *work __unused)
56*ea37671dSMatthew Dillon {
57*ea37671dSMatthew Dillon }
58*ea37671dSMatthew Dillon 
59*ea37671dSMatthew Dillon static void
60*ea37671dSMatthew Dillon HtmlUpdateTop(topinfo_t *info __unused)
61*ea37671dSMatthew Dillon {
62*ea37671dSMatthew Dillon }
63*ea37671dSMatthew Dillon 
64*ea37671dSMatthew Dillon static void
65*ea37671dSMatthew Dillon HtmlUpdateLogs(void)
66*ea37671dSMatthew Dillon {
67*ea37671dSMatthew Dillon }
68*ea37671dSMatthew Dillon 
69*ea37671dSMatthew Dillon static void
70*ea37671dSMatthew Dillon HtmlSync(void)
71*ea37671dSMatthew Dillon {
72*ea37671dSMatthew Dillon }
73*ea37671dSMatthew Dillon 
74*ea37671dSMatthew Dillon runstats_t HtmlRunStats = {
75*ea37671dSMatthew Dillon 	.init = HtmlInit,
76*ea37671dSMatthew Dillon 	.done = HtmlDone,
77*ea37671dSMatthew Dillon 	.reset = HtmlReset,
78*ea37671dSMatthew Dillon 	.update = HtmlUpdate,
79*ea37671dSMatthew Dillon 	.updateTop = HtmlUpdateTop,
80*ea37671dSMatthew Dillon 	.updateLogs = HtmlUpdateLogs,
81*ea37671dSMatthew Dillon 	.sync = HtmlSync
82*ea37671dSMatthew Dillon };
83