Change int into status_t, and other changes for better BeOS type compatiblitly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@975 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#define PORT_FLAG_USE_USER_MEMCPY 0x80000000
|
||||
|
||||
int port_init(kernel_args *ka);
|
||||
status_t port_init(kernel_args *ka);
|
||||
int delete_owned_ports(team_id owner);
|
||||
|
||||
// temp: test
|
||||
@@ -20,25 +20,25 @@ int port_test_thread_func(void* arg);
|
||||
|
||||
// user-level API
|
||||
port_id user_create_port(int32 queue_length, const char *name);
|
||||
int user_close_port(port_id id);
|
||||
int user_delete_port(port_id id);
|
||||
status_t user_close_port(port_id id);
|
||||
status_t user_delete_port(port_id id);
|
||||
port_id user_find_port(const char *port_name);
|
||||
int user_get_port_info(port_id id, struct port_info *info);
|
||||
int user_get_next_port_info(team_id team,
|
||||
uint32 *cookie,
|
||||
status_t user_get_port_info(port_id id, struct port_info *info);
|
||||
status_t user_get_next_port_info(team_id team,
|
||||
int32 *cookie,
|
||||
struct port_info *info);
|
||||
ssize_t user_port_buffer_size_etc(port_id port,
|
||||
uint32 flags,
|
||||
bigtime_t timeout);
|
||||
int32 user_port_count(port_id port);
|
||||
ssize_t user_read_port_etc(port_id port,
|
||||
ssize_t user_port_count(port_id port);
|
||||
status_t user_read_port_etc(port_id port,
|
||||
int32 *msg_code,
|
||||
void *msg_buffer,
|
||||
size_t buffer_size,
|
||||
uint32 flags,
|
||||
bigtime_t timeout);
|
||||
int user_set_port_owner(port_id port, team_id team);
|
||||
int user_write_port_etc(port_id port,
|
||||
status_t user_set_port_owner(port_id port, team_id team);
|
||||
status_t user_write_port_etc(port_id port,
|
||||
int32 msg_code,
|
||||
void *msg_buffer,
|
||||
size_t buffer_size,
|
||||
|
||||
Reference in New Issue
Block a user