vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessenger / SMRemoteTargetApp.h
blob9fa1f7d361a4f2b93d522937fee0f5e6bd273c7e
1 // SMRemoteTargetApp.h
3 #ifndef SM_REMOTE_TARGET_APP_H
4 #define SM_REMOTE_TARGET_APP_H
6 #include <Messenger.h>
8 enum {
9 SMRT_INIT = 'init',
10 SMRT_QUIT = 'quit',
11 SMRT_GET_READY = 'gtrd',
12 SMRT_DELIVERY_SUCCESS_REQUEST = 'dsrq',
13 SMRT_DELIVERY_SUCCESS_REPLY = 'dsre',
16 struct smrt_init {
17 port_id port;
18 BMessenger messenger;
21 struct smrt_delivery_success {
22 bool success;
25 struct smrt_get_ready {
26 bigtime_t unblock_time;
27 bigtime_t reply_delay;
30 #endif // SM_REMOTE_TARGET_APP_H