#include <assert.h>
#include <async.h>
#include <stdio.h>
#include <errno.h>
#include <str_error.h>
#include <ddf/driver.h>
#include <ddf/log.h>
Go to the source code of this file.
Defines | |
#define | NAME "test2" |
Functions | |
int | main (int argc, char *argv[]) |
Main entry point. | |
static int | postponed_birth (void *arg) |
Add child devices after some sleep. | |
static int | register_fun_verbose (ddf_dev_t *parent, const char *message, const char *name, const char *match_id, int match_score) |
Register child and inform user about it. | |
static int | test2_add_device (ddf_dev_t *dev) |
Variables | |
static driver_ops_t | driver_ops |
static driver_t | test2_driver |
Definition in file test2.c.
static int postponed_birth | ( | void * | arg | ) | [static] |
static int register_fun_verbose | ( | ddf_dev_t * | parent, | |
const char * | message, | |||
const char * | name, | |||
const char * | match_id, | |||
int | match_score | |||
) | [static] |