HttpServer Library for "mbed-os" which added a snapshot handler.
Dependents: GR-PEACH-webcam GR-Boards_WebCamera GR-Boards_WebCamera GR-Boards_WebCamera
Fork of HttpServer_snapshot by
Diff: Handler/SnapshotHandler.h
- Revision:
- 14:d3dc6ad09790
- Parent:
- 13:d3571c244759
- Child:
- 15:371fbad587ed
--- a/Handler/SnapshotHandler.h Wed Jun 07 05:53:36 2017 +0000 +++ b/Handler/SnapshotHandler.h Fri Jun 09 13:26:14 2017 +0000 @@ -36,7 +36,7 @@ callback_func_req = fptr; } - static void attach_req(int(*fptr)(const char* rootPath, const char ** pp_data)) { + static void attach_req(int(*fptr)(const char* rootPath, const char* path, const char ** pp_data)) { callback_func_req2 = fptr; } @@ -53,7 +53,7 @@ private: static int (*callback_func_req)(const char ** pp_data); - static int (*callback_func_req2)(const char* rootPath, const char ** pp_data); + static int (*callback_func_req2)(const char* rootPath, const char* path, const char ** pp_data); static Semaphore req_sem; const char * send_data_buf; int send_size;