aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-12-18 19:53:51 +0100
committerStapleButter <thetotalworm@gmail.com>2017-12-18 19:53:51 +0100
commit07685a80a66df97041afe86c0870a72471469f0e (patch)
tree2e38e5da5d61776df2137b1b061300597a03cb59
parent4ec2d109f75aaaf732abce96a55aeb4f603f787d (diff)
add base for wifi AP
-rw-r--r--melonDS.cbp12
-rw-r--r--src/WifiAP.cpp30
-rw-r--r--src/WifiAP.h33
3 files changed, 75 insertions, 0 deletions
diff --git a/melonDS.cbp b/melonDS.cbp
index c1f9a4c..44eb6a3 100644
--- a/melonDS.cbp
+++ b/melonDS.cbp
@@ -139,6 +139,8 @@
<Unit filename="src/SPU.h" />
<Unit filename="src/Wifi.cpp" />
<Unit filename="src/Wifi.h" />
+ <Unit filename="src/WifiAP.cpp" />
+ <Unit filename="src/WifiAP.h" />
<Unit filename="src/libui_sdl/DlgEmuSettings.cpp" />
<Unit filename="src/libui_sdl/DlgEmuSettings.h" />
<Unit filename="src/libui_sdl/DlgInputConfig.cpp" />
@@ -230,10 +232,20 @@
<Unit filename="src/libui_sdl/libui/windows/winutil.cpp" />
<Unit filename="src/libui_sdl/main.cpp" />
<Unit filename="src/melon_fopen.h" />
+ <Unit filename="src/pcap/bluetooth.h" />
+ <Unit filename="src/pcap/bpf.h" />
+ <Unit filename="src/pcap/can_socketcan.h" />
<Unit filename="src/pcap/compiler-tests.h" />
+ <Unit filename="src/pcap/dlt.h" />
<Unit filename="src/pcap/funcattrs.h" />
+ <Unit filename="src/pcap/ipnet.h" />
+ <Unit filename="src/pcap/namedb.h" />
+ <Unit filename="src/pcap/nflog.h" />
<Unit filename="src/pcap/pcap-inttypes.h" />
<Unit filename="src/pcap/pcap.h" />
+ <Unit filename="src/pcap/sll.h" />
+ <Unit filename="src/pcap/usb.h" />
+ <Unit filename="src/pcap/vlan.h" />
<Unit filename="src/types.h" />
<Unit filename="src/version.h" />
<Unit filename="xp.manifest" />
diff --git a/src/WifiAP.cpp b/src/WifiAP.cpp
new file mode 100644
index 0000000..e459497
--- /dev/null
+++ b/src/WifiAP.cpp
@@ -0,0 +1,30 @@
+/*
+ Copyright 2016-2017 StapleButter
+
+ This file is part of melonDS.
+
+ melonDS 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.
+
+ melonDS 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 melonDS. If not, see http://www.gnu.org/licenses/.
+*/
+
+#include <stdio.h>
+#include <string.h>
+#include "Wifi.h"
+#include "WifiAP.h"
+
+
+namespace WifiAP
+{
+
+//
+
+}
diff --git a/src/WifiAP.h b/src/WifiAP.h
new file mode 100644
index 0000000..27f497c
--- /dev/null
+++ b/src/WifiAP.h
@@ -0,0 +1,33 @@
+/*
+ Copyright 2016-2017 StapleButter
+
+ This file is part of melonDS.
+
+ melonDS 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.
+
+ melonDS 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 melonDS. If not, see http://www.gnu.org/licenses/.
+*/
+
+#ifndef WIFIAP_H
+#define WIFIAP_H
+
+namespace WifiAP
+{
+
+bool Init();
+void DeInit();
+void Reset();
+
+//
+
+}
+
+#endif