diff options
author | Arne Kappen <arne.kappen@hhi.fraunhofer.de> | 2020-12-09 16:01:24 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-31 01:19:55 +0100 |
commit | 80bf9d74884693cf74914edafe2a0b5e5ed45ada (patch) | |
tree | 7a20c555ca6ff463a4e0ad75300b91dcfff597ac /extdev.h | |
parent | b22f83d752d4d53e120bbbcb089ec2d980cbd957 (diff) | |
download | netifd-80bf9d74884693cf74914edafe2a0b5e5ed45ada.tar.gz |
extdev: add support for external device handlers
This allows to integrate external daemons that configure network devices with
netifd. At startup, netifd generates device handler stubs from descriptions in
/lib/netifd/extdev-config via the mechanism in handler.c. These are then added
to the list of device handlers. Device handlers stubs act as relays forwarding
calls against the device handler interface to the external daemon.
Signed-off-by: Arne Kappen <arne.kappen@hhi.fraunhofer.de>
Diffstat (limited to 'extdev.h')
-rw-r--r-- | extdev.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extdev.h b/extdev.h new file mode 100644 index 0000000..a86080a --- /dev/null +++ b/extdev.h @@ -0,0 +1,20 @@ +/* + * netifd - network interface daemon + * Copyright (C) 2015 Arne Kappen <arne.kappen@hhi.fraunhofer.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +#ifndef __UBUSDEV_H_ +#define __UBUSDEV_H_ + +void extdev_init(void); + + +#endif |