mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Consolidate timestamp implementation in one file
This commit is contained in:
parent
a85cfcf3ef
commit
ba2d49d2f7
10 changed files with 202 additions and 139 deletions
|
|
@ -26,20 +26,9 @@
|
|||
#include <limits.h>
|
||||
#include <termios.h>
|
||||
#include <sys/param.h>
|
||||
#include "timestamp.h"
|
||||
#include "alert.h"
|
||||
|
||||
enum timestamp_t
|
||||
{
|
||||
TIMESTAMP_NONE,
|
||||
TIMESTAMP_24HOUR,
|
||||
TIMESTAMP_24HOUR_START,
|
||||
TIMESTAMP_24HOUR_DELTA,
|
||||
TIMESTAMP_ISO8601,
|
||||
TIMESTAMP_END,
|
||||
};
|
||||
|
||||
enum timestamp_t timestamp_option_parse(const char *arg);
|
||||
|
||||
/* Options */
|
||||
struct option_t
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue