]>
Commit | Line | Data |
---|---|---|
ecb229be | 1 | /* Copyright (c) 2008, 2009, 2010, 2011, 2012, 2014 Nicira, Inc. |
064af421 | 2 | * |
a14bc59f BP |
3 | * Licensed under the Apache License, Version 2.0 (the "License"); |
4 | * you may not use this file except in compliance with the License. | |
5 | * You may obtain a copy of the License at: | |
064af421 | 6 | * |
a14bc59f | 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
064af421 | 8 | * |
a14bc59f BP |
9 | * Unless required by applicable law or agreed to in writing, software |
10 | * distributed under the License is distributed on an "AS IS" BASIS, | |
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 | * See the License for the specific language governing permissions and | |
13 | * limitations under the License. | |
064af421 BP |
14 | */ |
15 | ||
16 | #ifndef VSWITCHD_BRIDGE_H | |
17 | #define VSWITCHD_BRIDGE_H 1 | |
18 | ||
fe13ccdc AZ |
19 | #include <stdbool.h> |
20 | ||
0d085684 BP |
21 | struct simap; |
22 | ||
c5187f17 | 23 | void bridge_init(const char *remote); |
fe13ccdc | 24 | void bridge_exit(bool delete_datapath); |
ee45ad81 | 25 | |
c5187f17 | 26 | void bridge_run(void); |
064af421 | 27 | void bridge_wait(void); |
064af421 | 28 | |
0d085684 BP |
29 | void bridge_get_memory_usage(struct simap *usage); |
30 | ||
064af421 | 31 | #endif /* bridge.h */ |