summaryrefslogtreecommitdiff
path: root/controller/SqliteNetworkController.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-16 17:12:29 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-16 17:12:29 -0700
commit69ceb7e730a1fe4e2d0f82c7d29875bd796468ea (patch)
treee754adc8d6f867d86d50d4277350a9b50c8a52d2 /controller/SqliteNetworkController.hpp
parentcf51961d523222815cde064d88955aee88352eb5 (diff)
downloadinfinitytier-69ceb7e730a1fe4e2d0f82c7d29875bd796468ea.tar.gz
infinitytier-69ceb7e730a1fe4e2d0f82c7d29875bd796468ea.zip
Basic controller JSON API seems to be working.
Diffstat (limited to 'controller/SqliteNetworkController.hpp')
-rw-r--r--controller/SqliteNetworkController.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/controller/SqliteNetworkController.hpp b/controller/SqliteNetworkController.hpp
index a58741b5..5c92cc0b 100644
--- a/controller/SqliteNetworkController.hpp
+++ b/controller/SqliteNetworkController.hpp
@@ -80,6 +80,14 @@ public:
std::string &responseContentType);
private:
+ unsigned int _doCPGet(
+ const std::vector<std::string> &path,
+ const std::map<std::string,std::string> &urlArgs,
+ const std::map<std::string,std::string> &headers,
+ const std::string &body,
+ std::string &responseBody,
+ std::string &responseContentType);
+
std::string _dbPath;
sqlite3 *_db;