X-Git-Url: http://git.scottworley.com/tl-append/blobdiff_plain/d522116b5fdc09e3f83fe4f88515dec52a3e0462..refs/heads/master:/common.h?ds=sidebyside diff --git a/common.h b/common.h index e442b2c..2aecf2e 100644 --- a/common.h +++ b/common.h @@ -1,5 +1,26 @@ -extern const char *FILENAME; +/* + * tl-append: time-logger appending shell + * Copyright (C) 2023 Scott Worley + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include + +extern const char *const FILENAME; void die(const char *message); void die_err(const char *message); + +char *encode_time(time_t t);