mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
nhttpd add helper for json,xml outputs
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1674 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: e19eaf7289
Author: yjogol <yjogol2@online.de>
Date: 2011-09-08 (Thu, 08 Sep 2011)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -40,4 +40,13 @@ bool nocase_compare (char c1, char c2);
|
||||
std::string timeString(time_t time);
|
||||
bool write_to_file(std::string filename, std::string content);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// JSON Helpers
|
||||
//-----------------------------------------------------------------------------
|
||||
std::string json_out_quote_convert(std::string _str);
|
||||
std::string json_out_pair(std::string _key, std::string _value);
|
||||
std::string json_out_success(std::string _result);
|
||||
std::string json_out_error(std::string _error);
|
||||
std::string json_convert_string(std::string s);
|
||||
|
||||
#endif /* __yhttpd_helper_h__ */
|
||||
|
Reference in New Issue
Block a user