mirror of
https://github.com/nasa/trick.git
synced 2025-01-13 16:30:18 +00:00
95c6659733
* Incorporate Webserver into Trick, so one only has to include HttpServer.sm * Tweaks in default index.html file * Rename HTTPServer.sm to WebServer.sm * Rename http_server to WebServer * Add --retry to curl invocations in HttpServer makefile. * Fix #include in VariableServerVariable.hh * Include cleanup and curl tweaks in the hopes of making Jenkins happy. * Doh! problem in makefile masked by preinstalled mongoose in usr/local/lib * DIE Make Bug DIE * Fix include in WebServer.sm * WebServer.sm constructor name * Don't SWIG mongoose.h * Compile with -std=c++11 * Attempt to fix race condition in makefile * makefie tweek * Fix trick library name problem for Centos and Redhat
22 lines
525 B
C++
22 lines
525 B
C++
/*************************************************************************
|
|
PURPOSE: (Represent Websocket variable server connection.)
|
|
LIBRARY DEPENDENCIES:
|
|
( (../src/WSSession.o))
|
|
**************************************************************************/
|
|
#ifndef SIMPLEJSON_HH
|
|
#define SIMPLEJSON_HH
|
|
|
|
#include <vector>
|
|
|
|
class Member {
|
|
public:
|
|
const char* key;
|
|
const char* valText;
|
|
int type;
|
|
Member(const char *k, const char *v, int t);
|
|
};
|
|
|
|
std::vector<Member*> parseJSON( const char *json_s);
|
|
|
|
#endif
|