5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2006 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 SILCMESSAGE_I_H
21 #define SILCMESSAGE_I_H
23 #ifndef SILCMESSAGE_I_H
24 #error "Do not include this header directly"
27 /* The SILC_MESSAGE_FLAG_SIGNED Payload */
28 typedef struct SilcMessageSignedPayloadStruct {
29 unsigned char *pk_data;
30 unsigned char *sign_data;
34 } *SilcMessageSignedPayload;
36 /* Message Payload structure. */
37 struct SilcMessagePayloadObject {
41 struct SilcMessageSignedPayloadStruct sig;
42 SilcMessageFlags flags;
46 unsigned int allocated : 1;
49 #endif /* SILCMESSAGE_I_H */