mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-01 05:52:32 +07:00
19 lines
302 B
C
19 lines
302 B
C
// SPDX-FileCopyrightText: 2026 Cesanta Software Limited
|
|
// SPDX-License-Identifier: GPL-2.0-only or commercial
|
|
|
|
#include "mongoose.h"
|
|
|
|
int main(void) {
|
|
struct mg_mgr mgr;
|
|
|
|
mg_mgr_init(&mgr);
|
|
mg_dash_init(&mgr);
|
|
|
|
for (;;) {
|
|
mg_mgr_poll(&mgr, 10);
|
|
mg_dash_poll(&mgr);
|
|
}
|
|
|
|
return 0;
|
|
}
|