http: Move web server to core and use flags.

This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
This commit is contained in:
Unknown W. Brackets committed 2018-06-07 16:28:01 -07:00
1 parent 042256337a
commit 3a8a2ff933
10 files changed
+329 -204

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
// Copyright (c) 2014- PPSSPP Project.
// This program 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, version 2.0 or later versions.
// This program 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 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
enum class WebServerFlags {
DISCS = 1,
ALL = 1,
};
bool StartWebServer(WebServerFlags flags);
bool StopWebServer(WebServerFlags flags);
bool WebServerStopping(WebServerFlags flags);
bool WebServerStopped(WebServerFlags flags);