mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
Fix AP configuration on CC3200
Factor out MG task for clarity and ease of reuse. PUBLISHED_FROM=18f1aedd3c227b43a49f59a67076905917dd6cab
This commit is contained in:
1 parent
8296e0f485
commit
5e31914dc1
5 files changed
+122
-39
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Cesanta Software Limited
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#ifndef CS_MONGOOSE_EXAMPLES_CC3200_MG_TASK_H_
|
||||
#define CS_MONGOOSE_EXAMPLES_CC3200_MG_TASK_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
typedef void (*mg_init_cb)(struct mg_mgr *mgr);
|
||||
bool mg_start_task(int priority, int stask_size, mg_init_cb mg_init);
|
||||
|
||||
void mg_run_in_task(void (*cb)(struct mg_mgr *mgr, void *arg), void *cb_arg);
|
||||
|
||||
#endif /* CS_MONGOOSE_EXAMPLES_CC3200_MG_TASK_H_ */
|
||||
Reference in new issue
Block a user