1 /* 2 * Generic interface to platform specific networking code 3 * 4 * Copyright (C) 2016-2018 Antonio Quartulli <a@unstable.cc> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 8 * as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program (see the file COPYING included with this 17 * distribution); if not, write to the Free Software Foundation, Inc., 18 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20 21 22 #ifndef NETWORKING_IP_H_ 23 #define NETWORKING_IP_H_ 24 25 #include "env_set.h" 26 27 typedef char openvpn_net_iface_t; 28 29 struct openvpn_net_ctx 30 { 31 struct env_set *es; 32 struct gc_arena gc; 33 }; 34 35 typedef struct openvpn_net_ctx openvpn_net_ctx_t; 36 37 #endif /* NETWORKING_IP_H_ */ 38