… | |
… | |
110 | }; |
110 | }; |
111 | |
111 | |
112 | typedef callback0<const char *> run_script_cb; |
112 | typedef callback0<const char *> run_script_cb; |
113 | |
113 | |
114 | // run a shell script (or actually an external program). |
114 | // run a shell script (or actually an external program). |
115 | void run_script (const run_script_cb &cb, bool wait); |
115 | bool run_script (const run_script_cb &cb, bool wait); |
116 | |
116 | |
117 | #if ENABLE_HTTP_PROXY |
117 | #if ENABLE_HTTP_PROXY |
118 | u8 *base64_encode (const u8 *data, unsigned int len); |
118 | u8 *base64_encode (const u8 *data, unsigned int len); |
119 | #endif |
119 | #endif |
120 | |
120 | |