]> git.scottworley.com Git - tl-append/blame - common.h
License: GPL 3
[tl-append] / common.h
CommitLineData
ef591a4f
SW
1/*
2 * tl-append: time-logger appending shell
3 * Copyright (C) 2023 Scott Worley <scottworley@scottworley.com>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
bab98a3a
SW
18#include <time.h>
19
0c5417d5 20extern const char *const FILENAME;
d522116b
SW
21
22void die(const char *message);
23
24void die_err(const char *message);
bab98a3a 25
9b76e9d2 26char *encode_time(time_t t);