-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathucode.h
More file actions
29 lines (24 loc) · 868 Bytes
/
ucode.h
File metadata and controls
29 lines (24 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* netifd - network interface daemon
* Copyright (C) 2025 Felix Fietkau <nbd@nbd.name>
*
* 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 __NETIFD_UCODE_H
#define __NETIFD_UCODE_H
#include <stdbool.h>
#include <ucode/vm.h>
extern uc_vm_t vm;
void netifd_ucode_config_load(bool start);
void netifd_ucode_check_network_enabled(void);
void netifd_ucode_hotplug_event(const char *name, bool add);
void netifd_ucode_init(void);
void netifd_ucode_free(void);
#endif