Add mg_next_query_string_entry_n() and mg_url_decode_n()

Move to mg_util.h so encode and decode are next ot each other.

Pull out mg_next_list_entry_n() for advanced use cases.

Add unit tests.
This commit is contained in:
Deomid Ryabkov committed 2020-10-24 22:53:50 +01:00
1 parent 9fe1c93c9b
commit be64f81eee
13 files changed
+424 -156

No files matched your search

+1 -1
View File
@@ -21,4 +21,4 @@ $ tools/amalgam.py --prefix=MG --public-header=mongoose.h $(cat mongoose.c.manif
The same applies to `mongoose.h`, except `--public-header` should be omitted during amalgamation.
`tools/amalgam.sh` can be used to assemble `mongoose.c` and `mongoose.h`.
`tools/amalgam.py` can be used to assemble `mongoose.c` and `mongoose.h`.