summaryrefslogtreecommitdiffstats
path: root/src/device-bridge.c
blob: f973dbf418f2e50baaecf4d0ba3b37f374d8d0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "device.h"

static device_t * bridge_process_config(const char *name, const ini_file_t *config) {
	printf("Bridge: %s\n", name);
	return NULL;
}

device_type_t device_type_bridge = {
	.process_config = bridge_process_config,
};

__attribute__((constructor))
static void bridge_constructor(void) {
	register_device_type("bridge", &device_type_bridge);
}