blob: ca390d40f15bd2dfa27d3210c47d3437bb1fe99f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* SPDX-License-Identifier: MIT-0 */
#ifndef OUTPUT_H
#define OUTPUT_H
#include <wchar.h>
#include "deco.h"
#define ASC 0x2197 /* Unicode North East Arrow */
#define LVL 0x2192 /* Unicode Rightwards Arrow */
#define DEC 0x2198 /* Unicode South East Arrow */
#define SWI 0x21BB /* Clockwise Open Circle Arrow */
#define LTR 0x2113 /* Script Small L */
/* functions */
void print_planhead(void);
void print_planline(wchar_t sign, double depth, double time, double runtime, const gas_t *gas);
void print_planfoot(const decostate_t *ds);
void print_disclaimer(void);
int scan_gas(gas_t *gas, char *str);
void format_gas(char *buf, size_t buflen, const gas_t *gas);
#endif /* end of include guard: OUTPUT_H */
|