aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKodexky <kodexky@gmail.com>2014-12-11 23:53:19 -0430
committerCraig Robbins <kde.psych@gmail.com>2014-12-30 00:30:28 +1000
commita79a116ac8ca0ebdf79bdbbc9e67643334fc6ae6 (patch)
tree7dcbde99e771d0e8cf274fa75fa9d6c605ad8549 /misc
parent62feade05da387cd6b230e7a0edf558c6fd7c099 (diff)
Center status text for better visibility.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions
neral Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef L_HTTP_H_ #define L_HTTP_H_ #include "lua_api/l_base.h" #include "config.h" struct HTTPFetchRequest; struct HTTPFetchResult; class ModApiHttp : public ModApiBase { private: #if USE_CURL // Helpers for HTTP fetch functions static void read_http_fetch_request(lua_State *L, HTTPFetchRequest &req); static void push_http_fetch_result(lua_State *L, HTTPFetchResult &res, bool completed = true); // http_fetch_async({url=, timeout=, post_data=}) static int l_http_fetch_async(lua_State *L); // http_fetch_async_get(handle) static int l_http_fetch_async_get(lua_State *L); // request_http_api() static int l_request_http_api(lua_State *L); #endif public: static void Initialize(lua_State *L, int top); }; #endif /* L_HTTP_H_ */