diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-01-06 07:20:08 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-01-06 07:20:08 +0100 |
commit | 44cb17317c40fa9d39b3402f0826006f20387be5 (patch) | |
tree | 54e9d8c49ec41b2d7fd953457ca51545182a779e /src/device.h | |
parent | b4bdc797028a3789bb5e0c68bc428bfd54bd200e (diff) | |
download | neco-44cb17317c40fa9d39b3402f0826006f20387be5.tar neco-44cb17317c40fa9d39b3402f0826006f20387be5.zip |
Implement simple setting of link state and IP addresses
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/device.h b/src/device.h index f437021..33acfbb 100644 --- a/src/device.h +++ b/src/device.h @@ -16,7 +16,11 @@ typedef struct _device { struct _device_type { struct avl_node node; device_t * (*process_config)(const char *name, const ini_file_t *config); - void (*free_device)(device_t *device); + void (*free)(device_t *device); + + void (*init)(device_t *device); + void (*update)(device_t *device); + void (*release)(device_t *device); }; void register_device_type(const char *name, device_type_t *device_type); |