Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/ipc.h

    r5b0cf63 r01c3bb4  
    3434
    3535#if ((defined(LIBC_ASYNC_H_)) && (!defined(LIBC_ASYNC_C_)))
    36 #error Do not intermix low-level IPC interface and async framework
     36        #error Do not intermix low-level IPC interface and async framework
    3737#endif
    3838
     
    4646#include <abi/cap.h>
    4747
    48 typedef void (*ipc_async_callback_t)(void *, errno_t, ipc_call_t *);
     48typedef void (*ipc_async_callback_t)(void *, int, ipc_call_t *);
    4949
    50 extern errno_t ipc_wait_cycle(ipc_call_t *, sysarg_t, unsigned int);
     50extern cap_handle_t ipc_wait_cycle(ipc_call_t *, sysarg_t, unsigned int);
    5151extern void ipc_poke(void);
    5252
     
    5454        ipc_wait_for_call_timeout(data, SYNCH_NO_TIMEOUT);
    5555
    56 extern errno_t ipc_wait_for_call_timeout(ipc_call_t *, sysarg_t);
    57 extern errno_t ipc_trywait_for_call(ipc_call_t *);
     56extern cap_handle_t ipc_wait_for_call_timeout(ipc_call_t *, sysarg_t);
     57extern cap_handle_t ipc_trywait_for_call(ipc_call_t *);
    5858
    5959/*
     
    7878            (arg5))
    7979
    80 extern errno_t ipc_answer_fast(cap_handle_t, errno_t, sysarg_t, sysarg_t,
     80extern sysarg_t ipc_answer_fast(cap_handle_t, sysarg_t, sysarg_t, sysarg_t,
    8181    sysarg_t, sysarg_t);
    82 extern errno_t ipc_answer_slow(cap_handle_t, errno_t, sysarg_t, sysarg_t,
     82extern sysarg_t ipc_answer_slow(cap_handle_t, sysarg_t, sysarg_t, sysarg_t,
    8383    sysarg_t, sysarg_t, sysarg_t);
    8484
     
    115115    sysarg_t, sysarg_t, sysarg_t, void *, ipc_async_callback_t);
    116116
    117 extern errno_t ipc_hangup(cap_handle_t);
     117extern int ipc_hangup(cap_handle_t);
    118118
    119 extern errno_t ipc_forward_fast(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,
     119extern int ipc_forward_fast(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,
    120120    sysarg_t, unsigned int);
    121 extern errno_t ipc_forward_slow(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,
     121extern int ipc_forward_slow(cap_handle_t, cap_handle_t, sysarg_t, sysarg_t,
    122122    sysarg_t, sysarg_t, sysarg_t, sysarg_t, unsigned int);
    123123
    124 extern errno_t ipc_connect_kbox(task_id_t, cap_handle_t *);
     124extern int ipc_connect_kbox(task_id_t);
    125125
    126126#endif
Note: See TracChangeset for help on using the changeset viewer.