Initial revision
[silc.git] / apps / silcd / silcd.h
1 /*
2
3   silcd.h
4
5   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6
7   Copyright (C) 1997 - 2000 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #ifndef SILCD_H
22 #define SILCD_H
23
24 /* Default server configuration file. This can be overridden at the
25    compilation time. Otherwise, use default. This can be overridden on
26    command line as well. */
27 #ifndef SILC_SERVER_CONFIG_FILE
28 #define SILC_SERVER_CONFIG_FILE "/etc/silc/silcd.conf\0"
29 #endif
30
31 void usage();
32
33 char file_public_key[100];       /* server public key */
34 char file_private_key[100];      /* server private key */
35
36 #define PUBLICKEY_NAME "/silc_host_public"
37 #define PRIVATEKEY_NAME "/silc_host_private"
38
39 #define SERVER_KEY_EXPIRATION_DAYS 180
40 int key_expires;
41
42 #endif