summaryrefslogtreecommitdiffstats
path: root/src/device-common.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2019-06-01 12:30:14 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2019-06-01 12:30:14 +0200
commit8b5af11ebe1211861b422cc6737219c28594eecd (patch)
tree9f91fe143c5d2c8f48d1419e4b0accf07eced354 /src/device-common.h
parentf43788c9473480e127118ec0e614b9faa7eea2e2 (diff)
downloadneco-8b5af11ebe1211861b422cc6737219c28594eecd.tar
neco-8b5af11ebe1211861b422cc6737219c28594eecd.zip
device: move more common functions
Diffstat (limited to 'src/device-common.h')
-rw-r--r--src/device-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device-common.h b/src/device-common.h
index ff27961..398c5a1 100644
--- a/src/device-common.h
+++ b/src/device-common.h
@@ -29,3 +29,6 @@ typedef struct _device_common {
} device_common_t;
bool device_common_process_config(device_common_t *device, struct json_object *config);
+
+void device_common_init(device_common_t *device, int ifindex);
+void device_common_release(device_common_t *device, int ifindex);