Added experimental public API get_port_message_info_etc(). It is similar
to port_buffer_size_etc(), but returns the info through a structure, which also identifies the sender (uid, gid, team ID) of the message. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25003 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -55,6 +55,9 @@ status_t _user_write_port_etc(port_id port, int32 msgCode,
|
||||
status_t _user_writev_port_etc(port_id id, int32 msgCode,
|
||||
const iovec *msgVecs, size_t vecCount,
|
||||
size_t bufferSize, uint32 flags, bigtime_t timeout);
|
||||
status_t _user_get_port_message_info_etc(port_id port,
|
||||
port_message_info *info, size_t infoSize, uint32 flags,
|
||||
bigtime_t timeout);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -318,6 +318,9 @@ extern status_t _kern_write_port_etc(port_id port, int32 msgCode, const void *m
|
||||
extern status_t _kern_writev_port_etc(port_id id, int32 msgCode,
|
||||
const struct iovec *msgVecs, size_t vecCount,
|
||||
size_t bufferSize, uint32 flags, bigtime_t timeout);
|
||||
extern status_t _kern_get_port_message_info_etc(port_id port,
|
||||
port_message_info *info, size_t infoSize, uint32 flags,
|
||||
bigtime_t timeout);
|
||||
|
||||
// debug support functions
|
||||
extern void _kern_debugger(const char *message);
|
||||
|
||||
Reference in New Issue
Block a user