mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 21:20:12 +00:00
Add CONFIG key defines
This commit is contained in:
parent
71c5db1128
commit
9204bc1836
@ -5,8 +5,48 @@
|
||||
#ifndef WIHOTSPOT_H_PROP_H
|
||||
#define WIHOTSPOT_H_PROP_H
|
||||
|
||||
|
||||
#define CHANNEL "CHANNEL"
|
||||
#define GATEWAY "GATEWAY"
|
||||
#define WPA_VERSION "WPA_VERSION"
|
||||
#define ETC_HOSTS "ETC_HOSTS"
|
||||
#define DHCP_DNS "DHCP_DNS"
|
||||
#define NO_DNS "NO_DNS"
|
||||
#define NO_DNSMASQ "NO_DNSMASQ"
|
||||
#define HIDDEN "HIDDEN"
|
||||
#define MAC_FILTER "MAC_FILTER"
|
||||
#define MAC_FILTER_ACCEP "MAC_FILTER_ACCEPT"
|
||||
#define ISOLATE_CLIENTS "ISOLATE_CLIENTS"
|
||||
#define SHARE_METHOD "SHARE_METHOD"
|
||||
#define IEEE80211N "IEEE80211N"
|
||||
#define IEEE80211AC "IEEE80211AC"
|
||||
#define HT_CAPAB "HT_CAPAB"
|
||||
#define VHT_CAPAB "VHT_CAPAB"
|
||||
#define DRIVER "DRIVER"
|
||||
#define NO_VIRT "NO_VIRT"
|
||||
#define COUNTRY "COUNTRY"
|
||||
#define FREQ_BAND "FREQ_BAND"
|
||||
#define NEW_MACADDR "NEW_MACADDR"
|
||||
#define DAEMONIZE "DAEMONIZE"
|
||||
#define NO_HAVEGED "NO_HAVEGED"
|
||||
#define WIFI_IFACE "WIFI_IFACE"
|
||||
#define INTERNET_IFACE "INTERNET_IFACE"
|
||||
#define SSID "SSID"
|
||||
#define PASSPHRASE "PASSPHRASE"
|
||||
#define USE_PSK "USE_PSK"
|
||||
|
||||
#define CONFIG_FILE "wh.config"
|
||||
|
||||
static int parse_output(char *);
|
||||
char * build_command(char*, char*,char*, char*);
|
||||
int startShell(char*);
|
||||
|
||||
char *build_command(char *, char *, char *, char *);
|
||||
|
||||
int startShell(char *);
|
||||
|
||||
int create_config(char *);
|
||||
|
||||
int init_read_wh_config(void);
|
||||
|
||||
const char *print_test();
|
||||
|
||||
#endif //WIHOTSPOT_H_PROP_H
|
||||
|
Loading…
Reference in New Issue
Block a user