Changes in uspace/drv/vhc/conndev.c [0b31409:bc1c6fb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/conndev.c
r0b31409 rbc1c6fb 76 76 /** Default handler for IPC methods not handled by DDF. 77 77 * 78 * @param devDevice handling the call.78 * @param fun Device handling the call. 79 79 * @param icallid Call id. 80 80 * @param icall Call data. 81 81 */ 82 void default_connection_handler(d evice_t *dev,82 void default_connection_handler(ddf_fun_t *fun, 83 83 ipc_callid_t icallid, ipc_call_t *icall) 84 84 { … … 90 90 = virtdev_add_device(callback, (sysarg_t)fibril_get_id()); 91 91 if (!dev) { 92 ipc_answer_0(icallid, EEXISTS);93 ipc_hangup(callback);92 async_answer_0(icallid, EEXISTS); 93 async_hangup(callback); 94 94 return; 95 95 } 96 ipc_answer_0(icallid, EOK);96 async_answer_0(icallid, EOK); 97 97 98 98 char devname[DEVICE_NAME_MAXLENGTH + 1]; … … 105 105 } 106 106 107 ipc_answer_0(icallid, EINVAL);107 async_answer_0(icallid, EINVAL); 108 108 } 109 109 110 110 /** Callback for DDF when client disconnects. 111 111 * 112 * @param d Devicethe client was connected to.112 * @param fun Device function the client was connected to. 113 113 */ 114 void on_client_close(d evice_t *d)114 void on_client_close(ddf_fun_t *fun) 115 115 { 116 116 /*
Note:
See TracChangeset
for help on using the changeset viewer.