X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt-args.h;h=5a1b3cfe67f822657e51b054b71749989a58cd8e;hp=7c18acde62878beb244004a16eedbcf9b390d1aa;hb=95898262b4ce4a2a3d36f70a4e6cc8188decc142;hpb=2b99e82a84be5e2f626b4a43eb7fd82254a7ea87 diff --git a/src/ttt-args.h b/src/ttt-args.h index 7c18acd..5a1b3cf 100644 --- a/src/ttt-args.h +++ b/src/ttt-args.h @@ -22,20 +22,21 @@ #ifndef TTT_ARGS_H #define TTT_ARGS_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "ttt.h" #define TTT_ARGS_HOST_DEFAULT "localhost" #define TTT_ARGS_PORT_DEFAULT "5334" /* NULL means to just log to stderr. */ #define TTT_ARGS_LOG_FILE_DEFAULT NULL +#define TTT_ARGS_PID_FILE_DEFAULT "/var/run/ttt-server.pid" typedef struct ttt_args { char *host; char *port; char *log_file; + ttt_bool_t detach; + char *pid_file; } ttt_args_t; int