silcclient: auto-negotiation of private message key using SKE over SILCnet
[silc.git] / lib / silcclient / client_prvmsg.h
1 /*
2
3   client_prvmsg.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2006 - 2014 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; version 2 of the License.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19
20 #ifndef CLIENT_PRVMSG_H
21 #define CLIENT_PRVMSG_H
22
23 SILC_FSM_STATE(silc_client_private_message);
24 SILC_FSM_STATE(silc_client_private_message_error);
25 SILC_FSM_STATE(silc_client_private_message_key);
26
27 SilcBool
28 silc_client_autoneg_private_message_key(SilcClient client,
29                                         SilcClientConnection conn,
30                                         SilcClientEntry client_entry,
31                                         SilcPacket initiator_packet,
32                                         SilcMessageFlags flags,
33                                         SilcHash hash,
34                                         unsigned char *data,
35                                         SilcUInt32 data_len);
36
37 #endif /* CLIENT_PRVMSG_H */