… | |
… | |
125 | typedef callback<const char *()> run_script_cb; |
125 | typedef callback<const char *()> run_script_cb; |
126 | |
126 | |
127 | // run a shell script (or actually an external program). |
127 | // run a shell script (or actually an external program). |
128 | pid_t run_script (const run_script_cb &cb, bool wait); |
128 | pid_t run_script (const run_script_cb &cb, bool wait); |
129 | |
129 | |
|
|
130 | void hexdump (const char *header, void *data, int len); |
|
|
131 | |
130 | #if ENABLE_HTTP_PROXY |
132 | #if ENABLE_HTTP_PROXY |
131 | u8 *base64_encode (const u8 *data, unsigned int len); |
133 | u8 *base64_encode (const u8 *data, unsigned int len); |
132 | #endif |
134 | #endif |
133 | |
135 | |
134 | /*****************************************************************************/ |
136 | /*****************************************************************************/ |