5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 1997 - 2002 Pekka Riikonen
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.
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.
20 #ifndef SILCCHANNEL_I_H
21 #define SILCCHANNEL_I_H
24 #error "Do not include internal header file directly"
27 /******************************************************************************
31 ******************************************************************************/
33 /* Channel Message Payload structure. Contents of this structure is parsed
35 struct SilcChannelPayloadStruct {
36 unsigned char *channel_name;
37 unsigned char *channel_id;
44 /******************************************************************************
48 ******************************************************************************/
50 /* Channel Key Payload structrue. Channel keys are parsed from SILC
51 packets into this structure. */
52 struct SilcChannelKeyPayloadStruct {
54 unsigned char *cipher;
57 SilcUInt16 cipher_len;
61 #endif /* SILCCHANNEL_I_H */