blob: eb17e168ff646ecf30e58549468ab587821543ea (
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
|
/* SPDX-License-Identifier: MIT-0 */
#ifndef OUTPUT_H
#define OUTPUT_H
#include "deco.h"
#define ASC "\xe2\x86\x97" /* Unicode North East Arrow */
#define LVL "\xe2\x86\x92" /* Unicode Rightwards Arrow */
#define DEC "\xe2\x86\x98" /* Unicode South East Arrow */
#define SWI "\xe2\x86\xBB" /* Clockwise Open Circle Arrow */
#define LTR "\xe2\x84\x93" /* Script Small L */
/* functions */
void print_planhead(void);
void print_planline(char *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 */
|