Initial revision
[silc.git] / apps / silc / 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 /* Prototypes */
25 void silc_say(SilcClient client, char *msg, ...);
26 void silc_print(SilcClient client, char *msg, ...);
27 char *silc_get_mail_path();
28 int silc_get_number_of_emails();
29 char *silc_get_username();
30 char *silc_get_real_name();
31 int silc_client_time_til_next_min();
32 char *silc_client_ask_passphrase(SilcClient client);
33 char *silc_client_get_input(const char *prompt);
34 char *silc_client_get_passphrase(const char *prompt);
35 void silc_client_list_ciphers();
36 void silc_client_list_hash_funcs();
37 void silc_client_list_pkcs();
38 void silc_client_create_key_pair(char *pkcs_name, int bits);
39
40 #endif