blob: 2a644d492859c82eeecb2eef111edc1a873b6ab7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* Copyright (c) 2012, Jacob Appelbaum
* Copyright (c) 2012, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file tor-time.h
* \brief The main header for our clock helper.
**/
#ifndef _TORDATE_H
#define _TORDATE_H
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <time.h>
/** The current version of tor-time. */
#define tlsdate_version "0.1"
/** This is where we store parsed commandline options. */
typedef struct {
int verbose;
int ca_racket;
int help;
time_t manual_time;
char *host;
char *port;
} tlsdate_options_t;
#endif
|