btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / mail / MailPrivate.h
blob9363899a1cdcdd720aaa16c7ef8fc8d9be5e5176
1 /*
2 * Copyright 2011-2012, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef MAIL_PRIVATE_H
6 #define MAIL_PRIVATE_H
9 #include <Message.h>
10 #include <Path.h>
13 namespace BPrivate {
16 #define B_MAIL_DAEMON_SIGNATURE "application/x-vnd.Be-POST"
19 // mail daemon & protocol message constants
20 const uint32 kMsgCheckAndSend = 'mbth';
21 const uint32 kMsgCheckMessage = 'mnow';
22 const uint32 kMsgSendMessages = 'msnd';
23 const uint32 kMsgSettingsUpdated = 'mrrs';
24 const uint32 kMsgAccountsChanged = 'macc';
25 const uint32 kMsgCountNewMessages = 'mnum';
26 const uint32 kMsgMarkMessageAsRead = 'mmar';
27 const uint32 kMsgFetchBody = 'mfeb';
28 const uint32 kMsgSyncMessages = '&SyM';
31 BPath default_mail_directory();
32 BPath default_mail_in_directory();
33 BPath default_mail_out_directory();
36 status_t WriteMessageFile(const BMessage& archive, const BPath& path,
37 const char* name);
40 } // namespace BPrivate
43 #endif // MAIL_PRIVATE_H