28 #define MAX_DRIVERS 10 33 #include <linux/limits.h> 70 while (i < PATH_MAX && str[j] !=
'\0') {
static const char * key[]
Definition: docker-driver-test.c:55
void(* free)(void)
Definition: generic.h:52
int(* get_total)(const char *key, char *buffer)
Definition: generic.h:50
static void generic_strip_string(char *str, char ch)
Remove the word <ch> in string.
Definition: generic.h:67
name
Definition: setup.py:13
int generic_driver_init(const char *name, void *object)
This is a generic initialization function that performs initialization of driver corresponding to the...
Definition: generic.c:71
int(* runner)(void)
Definition: generic.h:47
This structure contains the driver's command set.
Definition: generic.h:46
int(* get_interval)(const char *key, char *buffer)
Definition: generic.h:48
int get_generic_driver_index(const char *name)
Get the index of the name based on an associated table.
Definition: generic.c:50