summaryrefslogtreecommitdiffstats
path: root/source/cWebAdmin.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cWebAdmin.h')
-rw-r--r--source/cWebAdmin.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/source/cWebAdmin.h b/source/cWebAdmin.h
index da60a5492..3be9426ad 100644
--- a/source/cWebAdmin.h
+++ b/source/cWebAdmin.h
@@ -4,16 +4,25 @@
#include "cSocket.h"
class cStringMap;
-//tolua_begin
-struct HTTPRequest
-{
- std::string Method;
- std::string Path;
- cStringMap* Params;
- cStringMap* PostParams;
- std::string Username;
-};
-//tolua_end
+
+struct HTTPFormData //tolua_export
+{ //tolua_export
+ std::string Name; //tolua_export
+ std::string Value; //tolua_export
+ std::string Type; //tolua_export
+};//tolua_export
+
+struct HTTPRequest //tolua_export
+{ //tolua_export
+ typedef std::map< std::string, std::string > StringStringMap;
+ typedef std::map< std::string, HTTPFormData > FormDataMap;
+ std::string Method; //tolua_export
+ std::string Path; //tolua_export
+ StringStringMap Params; // >> EXPORTED IN MANUALBINDINGS <<
+ StringStringMap PostParams; // >> EXPORTED IN MANUALBINDINGS <<
+ std::string Username; //tolua_export
+ FormDataMap FormData; // >> EXPORTED IN MANUALBINDINGS <<
+}; //tolua_export
struct lua_State;
class cEvent;