11 lines
401 B
C
11 lines
401 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef MARS_GATEWAY_AUTO_H
|
|
#define MARS_GATEWAY_AUTO_H
|
|
#include <json-c/json.h>
|
|
#include <stdint.h>
|
|
/* Routes are ip -4 -j route show table all objects. Network byte order. */
|
|
int ga_free(json_object *routes,uint32_t ip);
|
|
uint32_t ga_choose(json_object *routes);
|
|
json_object *ga_detect(const char *conf,json_object *current,char *err,size_t n);
|
|
#endif
|