#include <assert.h>
#include <errno.h>
#include <ddf/driver.h>
#include <usbvirt/ipc.h>
#include "conn.h"
Go to the source code of this file.
Defines | |
| #define | PLUGGED_DEVICE_NAME_MAXLEN 256 |
Functions | |
| void | default_connection_handler (ddf_fun_t *fun, ipc_callid_t icallid, ipc_call_t *icall) |
| Default handler for IPC methods not handled by DDF. | |
| void | on_client_close (ddf_fun_t *fun) |
| Callback when client disconnects. | |
| static void | receive_device_name (int phone) |
| Receive device name. | |
Variables | |
| static fibril_local uintptr_t | plugged_device_handle = 0 |
| static fibril_local char | plugged_device_name [PLUGGED_DEVICE_NAME_MAXLEN+1] = "<unknown>" |
Definition in file conndev.c.
1.4.7