BPicture: Fix archive constructor.
[haiku.git] / src / kits / app / link_message.h
blobdc7f7ed59f0518dcd95c3956a0aa1e3f830541cb
1 /*
2 * Copyright 2005, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Axel Dörfler
7 */
8 #ifndef _LINK_MESSAGE_H_
9 #define _LINK_MESSAGE_H_
12 #include <SupportDefs.h>
15 static const int32 kLinkCode = '_PTL';
17 static const size_t kInitialBufferSize = 2048;
18 static const size_t kMaxBufferSize = 65536;
19 // anything beyond that should be sent with a different mechanism
21 struct message_header {
22 int32 size;
23 uint32 code;
24 uint32 flags;
27 static const uint32 kNeedsReply = 0x01;
29 #endif /* _LINK_MESSAGE_H_ */