efd69da009aeb114480966b3c8bb7450cb6cd2bd
[silc.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 char *silc_client_get_input(const char *prompt);
28 void silc_client_list_ciphers();
29 void silc_client_list_hash_funcs();
30 void silc_client_list_hmacs();
31 void silc_client_list_pkcs();
32 char *silc_client_create_identifier();
33 int silc_client_create_key_pair(char *pkcs_name, int bits,
34                                 char *public_key, char *private_key,
35                                 char *identifier, 
36                                 SilcPublicKey *ret_pub_key,
37                                 SilcPrivateKey *ret_prv_key);
38 int silc_client_check_silc_dir();
39 int silc_client_load_keys(SilcClient client);
40 int silc_client_show_key(char *keyfile);
41
42 #endif