X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilc%2Fsilc.h;fp=apps%2Fsilc%2Fsilc.h;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=b03ce9da5dc665a6f8e2cd5e917b04995cb81ced;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/silc/silc.h b/apps/silc/silc.h deleted file mode 100644 index b03ce9da..00000000 --- a/apps/silc/silc.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - - silc.h - - Author: Pekka Riikonen - - Copyright (C) 1997 - 2000 Pekka Riikonen - - 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; either version 2 of the License, or - (at your option) any later version. - - 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. - -*/ - -#ifndef SILC_H -#define SILC_H - -/* Default client configuration file. This can be overridden at the - compilation time. Otherwise, use default. This can be overridden on - command line as well. */ -#ifndef SILC_CLIENT_CONFIG_FILE -#define SILC_CLIENT_CONFIG_FILE "/etc/silc/silc.conf" -#endif - -/* Default user configuration file. This file is searched from users' - home directory. This may override global configuration settings. */ -#define SILC_CLIENT_HOME_CONFIG_FILE ".silcrc" - -/* Default public and private key file names */ -#define SILC_CLIENT_PUBLIC_KEY_NAME "public_key.pub" -#define SILC_CLIENT_PRIVATE_KEY_NAME "private_key.prv" - -/* Default key expiration time, one year. */ -#define SILC_CLIENT_KEY_EXPIRES 365 - -/* Default settings for creating key pair */ -#define SILC_CLIENT_DEF_PKCS "rsa" -#define SILC_CLIENT_DEF_PKCS_LEN 1024 - -/* XXX This is entirely temporary structure until UI is written again. */ -typedef struct { - /* Input buffer that holds the characters user types. This is - used only to store the typed chars for a while. */ - SilcBuffer input_buffer; - - /* The SILC client screen object */ - SilcScreen screen; - - /* Current physical window */ - void *current_win; - - SilcClientConnection conn; - - /* Configuration object */ - SilcClientConfig config; - -#ifdef SILC_SIM - /* SIM (SILC Module) table */ - SilcSimContext **sim; - SilcUInt32 sim_count; -#endif - - /* The allocated client */ - SilcClient client; -} *SilcClientInternal; - -/* Macros */ - -#ifndef CTRL -#define CTRL(x) ((x) & 0x1f) /* Ctrl+x */ -#endif - -#endif