Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
base/net-trace/web-trace-query.c@130:9a5b8fe308f1, 2019-09-24 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Sep 24 18:16:47 2019 +0000
- Revision:
- 130:9a5b8fe308f1
- Parent:
- 110:8ab752842d25
- Child:
- 152:edbf676b08ca
Added http
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 3:b58328ca6e70 | 1 | #include "http.h" |
| andrewboyson | 7:fd8c2c5eeea7 | 2 | #include "settings.h" |
| andrewboyson | 3:b58328ca6e70 | 3 | |
| andrewboyson | 103:91194cc19bbb | 4 | void WebTraceQuery(char* pQuery) |
| andrewboyson | 3:b58328ca6e70 | 5 | { |
| andrewboyson | 3:b58328ca6e70 | 6 | while (pQuery) |
| andrewboyson | 3:b58328ca6e70 | 7 | { |
| andrewboyson | 3:b58328ca6e70 | 8 | char* pName; |
| andrewboyson | 3:b58328ca6e70 | 9 | char* pValue; |
| andrewboyson | 34:30124e188ae1 | 10 | pQuery = HttpQuerySplit(pQuery, &pName, &pValue); |
| andrewboyson | 3:b58328ca6e70 | 11 | |
| andrewboyson | 33:68406cbde3e1 | 12 | if (HttpSameStr(pName, "chg-send-dns-ip4" )) ChgDnsSendRequestsViaIp4(); |
| andrewboyson | 33:68406cbde3e1 | 13 | if (HttpSameStr(pName, "chg-send-ntp-ip4" )) ChgNtpSendRequestsViaIp4(); |
| andrewboyson | 33:68406cbde3e1 | 14 | if (HttpSameStr(pName, "chg-send-tftp-ip4" )) ChgTftpSendRequestsViaIp4(); |
| andrewboyson | 33:68406cbde3e1 | 15 | if (HttpSameStr(pName, "set-trace-net-host" )) SetTraceNetHost(pValue); |
| andrewboyson | 33:68406cbde3e1 | 16 | if (HttpSameStr(pName, "chg-trace-net-stack" )) ChgTraceNetStack(); |
| andrewboyson | 33:68406cbde3e1 | 17 | if (HttpSameStr(pName, "chg-trace-net-newline" )) ChgTraceNetNewLine(); |
| andrewboyson | 33:68406cbde3e1 | 18 | if (HttpSameStr(pName, "chg-trace-net-verbose" )) ChgTraceNetVerbose(); |
| andrewboyson | 33:68406cbde3e1 | 19 | if (HttpSameStr(pName, "chg-trace-link" )) ChgTraceLink(); |
| andrewboyson | 33:68406cbde3e1 | 20 | if (HttpSameStr(pName, "chg-trace-dns-name" )) ChgTraceDnsName(); |
| andrewboyson | 33:68406cbde3e1 | 21 | if (HttpSameStr(pName, "chg-trace-dns-query" )) ChgTraceDnsQuery(); |
| andrewboyson | 33:68406cbde3e1 | 22 | if (HttpSameStr(pName, "chg-trace-dns-reply" )) ChgTraceDnsReply(); |
| andrewboyson | 33:68406cbde3e1 | 23 | if (HttpSameStr(pName, "chg-trace-dns-server" )) ChgTraceDnsServer(); |
| andrewboyson | 33:68406cbde3e1 | 24 | if (HttpSameStr(pName, "chg-trace-ntp" )) ChgTraceNtp(); |
| andrewboyson | 33:68406cbde3e1 | 25 | if (HttpSameStr(pName, "chg-trace-dhcp" )) ChgTraceDhcp(); |
| andrewboyson | 33:68406cbde3e1 | 26 | if (HttpSameStr(pName, "chg-trace-ns-recv-sol" )) ChgTraceNsRecvSol(); |
| andrewboyson | 33:68406cbde3e1 | 27 | if (HttpSameStr(pName, "chg-trace-ns-recv-adv" )) ChgTraceNsRecvAdv(); |
| andrewboyson | 33:68406cbde3e1 | 28 | if (HttpSameStr(pName, "chg-trace-ns-send-sol" )) ChgTraceNsSendSol(); |
| andrewboyson | 33:68406cbde3e1 | 29 | if (HttpSameStr(pName, "chg-trace-nr4" )) ChgTraceNr4(); |
| andrewboyson | 33:68406cbde3e1 | 30 | if (HttpSameStr(pName, "chg-trace-nr6" )) ChgTraceNr6(); |
| andrewboyson | 33:68406cbde3e1 | 31 | if (HttpSameStr(pName, "chg-trace-ntp-client" )) ChgTraceNtpClient(); |
| andrewboyson | 33:68406cbde3e1 | 32 | if (HttpSameStr(pName, "chg-trace-sync" )) ChgTraceSync(); |
| andrewboyson | 33:68406cbde3e1 | 33 | if (HttpSameStr(pName, "chg-trace-echo4" )) ChgTraceEcho4(); |
| andrewboyson | 33:68406cbde3e1 | 34 | if (HttpSameStr(pName, "chg-trace-echo6" )) ChgTraceEcho6(); |
| andrewboyson | 33:68406cbde3e1 | 35 | if (HttpSameStr(pName, "chg-trace-dest6" )) ChgTraceDest6(); |
| andrewboyson | 33:68406cbde3e1 | 36 | if (HttpSameStr(pName, "chg-trace-ra" )) ChgTraceRa(); |
| andrewboyson | 33:68406cbde3e1 | 37 | if (HttpSameStr(pName, "chg-trace-rs" )) ChgTraceRs(); |
| andrewboyson | 33:68406cbde3e1 | 38 | if (HttpSameStr(pName, "chg-trace-ar4" )) ChgTraceAr4(); |
| andrewboyson | 33:68406cbde3e1 | 39 | if (HttpSameStr(pName, "chg-trace-ar6" )) ChgTraceAr6(); |
| andrewboyson | 33:68406cbde3e1 | 40 | if (HttpSameStr(pName, "chg-trace-arp" )) ChgTraceArp(); |
| andrewboyson | 33:68406cbde3e1 | 41 | if (HttpSameStr(pName, "chg-trace-ip4" )) ChgTraceIp4(); |
| andrewboyson | 33:68406cbde3e1 | 42 | if (HttpSameStr(pName, "chg-trace-ip6" )) ChgTraceIp6(); |
| andrewboyson | 33:68406cbde3e1 | 43 | if (HttpSameStr(pName, "chg-trace-udp" )) ChgTraceUdp(); |
| andrewboyson | 33:68406cbde3e1 | 44 | if (HttpSameStr(pName, "chg-trace-tcp" )) ChgTraceTcp(); |
| andrewboyson | 33:68406cbde3e1 | 45 | if (HttpSameStr(pName, "chg-trace-http" )) ChgTraceHttp(); |
| andrewboyson | 33:68406cbde3e1 | 46 | if (HttpSameStr(pName, "chg-trace-tftp" )) ChgTraceTftp(); |
| andrewboyson | 3:b58328ca6e70 | 47 | } |
| andrewboyson | 3:b58328ca6e70 | 48 | } |
| andrewboyson | 3:b58328ca6e70 | 49 |