From 44cb17317c40fa9d39b3402f0826006f20387be5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 6 Jan 2019 07:20:08 +0100 Subject: Implement simple setting of link state and IP addresses --- src/device.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/device.h') 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); -- cgit v1.2.3