devman.c File Reference

#include <str.h>
#include <stdio.h>
#include <ipc/services.h>
#include <ipc/devman.h>
#include <devman.h>
#include <async.h>
#include <fibril_synch.h>
#include <errno.h>
#include <malloc.h>
#include <bool.h>
#include <adt/list.h>

Go to the source code of this file.

Functions

int devman_add_device_to_class (devman_handle_t devman_handle, const char *class_name)
int devman_add_function (const char *name, fun_type_t ftype, match_id_list_t *match_ids, devman_handle_t devh, devman_handle_t *funh)
 Add function to a device.
int devman_device_connect (devman_handle_t handle, unsigned int flags)
int devman_device_get_handle (const char *pathname, devman_handle_t *handle, unsigned int flags)
int devman_device_get_handle_by_class (const char *classname, const char *devname, devman_handle_t *handle, unsigned int flags)
int devman_driver_register (const char *name, async_client_conn_t conn)
 Register running driver with device manager.
int devman_get_device_path (devman_handle_t handle, char *path, size_t path_size)
int devman_get_phone (devman_interface_t iface, unsigned int flags)
void devman_hangup_phone (devman_interface_t iface)
int devman_parent_device_connect (devman_handle_t handle, unsigned int flags)
static int devman_send_match_id (int phone, match_id_t *match_id)
static int devman_send_match_ids (int phone, match_id_list_t *match_ids)

Variables

static int devman_phone_client = -1
static int devman_phone_driver = -1


Detailed Description

Definition in file devman.c.


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