-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathnatcap_server.h
36 lines (30 loc) · 1.11 KB
/
natcap_server.h
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
30
31
32
33
34
35
36
/*
* Author: Chen Minqiang <[email protected]>
* Date : Sun, 05 Jun 2016 16:24:37 +0800
*
* This file is part of the natcap.
*
* natcap is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* natcap 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.
*
* You should have received a copy of the GNU General Public License
* along with natcap; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef _NATCAP_SERVER_H_
#define _NATCAP_SERVER_H_
extern unsigned int server_flow_stop;
extern unsigned int user_mark_natcap_mask;
extern int dns_server_node_add(__be32 ip);
extern void dns_server_node_clean(void);
int natcap_server_init(void);
void natcap_server_exit(void);
extern char *auth_http_redirect_url;
#endif /* _NATCAP_SERVER_H_ */