Changes in uspace/lib/c/generic/ns.c [7b616e2:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ns.c
r7b616e2 rb7fd2a0 46 46 static async_sess_t *sess_ns = NULL; 47 47 48 int service_register(service_t service)48 errno_t service_register(service_t service) 49 49 { 50 sysarg_t retval;50 errno_t retval; 51 51 ipc_call_t answer; 52 52 … … 57 57 async_exch_t *exch = async_exchange_begin(sess); 58 58 aid_t req = async_send_1(exch, NS_REGISTER, service, &answer); 59 int rc = async_connect_to_me(exch, 0, service, 0);59 errno_t rc = async_connect_to_me(exch, 0, service, 0); 60 60 61 61 async_exchange_end(exch); … … 123 123 124 124 125 int ns_ping(void)125 errno_t ns_ping(void) 126 126 { 127 127 async_sess_t *sess = ns_session_get(); … … 130 130 131 131 async_exch_t *exch = async_exchange_begin(sess); 132 int rc = async_req_0_0(exch, NS_PING);132 errno_t rc = async_req_0_0(exch, NS_PING); 133 133 async_exchange_end(exch); 134 134 … … 136 136 } 137 137 138 int ns_intro(task_id_t id)138 errno_t ns_intro(task_id_t id) 139 139 { 140 140 async_exch_t *exch; … … 144 144 145 145 exch = async_exchange_begin(sess); 146 int rc = async_req_2_0(exch, NS_ID_INTRO, LOWER32(id), UPPER32(id));146 errno_t rc = async_req_2_0(exch, NS_ID_INTRO, LOWER32(id), UPPER32(id)); 147 147 async_exchange_end(exch); 148 148
Note:
See TracChangeset
for help on using the changeset viewer.