conndev.c File Reference

Connection handling of calls from virtual device (implementation). More...

#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>"


Detailed Description

Connection handling of calls from virtual device (implementation).

Definition in file conndev.c.


Generated on Thu Jun 2 07:45:52 2011 for HelenOS/USB by  doxygen 1.4.7