Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / silc / core / clientutil.h
1 /*
2
3   client.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 CLIENTUTIL_H
22 #define CLIENTUTIL_H
23
24 #include "signals.h"
25
26 /* Prototypes */
27 void silc_client_list_ciphers();
28 void silc_client_list_hash_funcs();
29 void silc_client_list_hmacs();
30 void silc_client_list_pkcs();
31 int silc_client_check_silc_dir();
32 int silc_client_load_keys(SilcClient client);
33
34 #ifdef SILC_PLUGIN
35 typedef struct {
36   char *old, *passphrase, *file, *pkcs;
37   int bits;
38 } CREATE_KEY_REC;
39
40 void create_key_passphrase(const char *answer, CREATE_KEY_REC *rec);
41 void change_private_key_passphrase(const char *answer, CREATE_KEY_REC *rec);
42 #endif
43
44 #endif