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
query-ajax-trace.c
- Committer:
- andrewboyson
- Date:
- 2018-01-31
- Revision:
- 4:7737c5cfdf30
- Parent:
- 3:b58328ca6e70
- Child:
- 7:fd8c2c5eeea7
File content as of revision 4:7737c5cfdf30:
#include <string.h> #include "http.h" #include "trace.h" void QueryAjaxTrace(char* pQuery) { while (pQuery) { char* pName; char* pValue; pQuery = HttpSplitQuery(pQuery, &pName, &pValue); if (strcmp(pName, "trace-chg-log-uart" ) == 0) TraceChgLogUart(); if (strcmp(pName, "trace-hex-net-host" ) == 0) TraceParseNetHost(pValue); if (strcmp(pName, "trace-chg-net-stack" ) == 0) TraceChgNetStack(); if (strcmp(pName, "trace-chg-net-newline" ) == 0) TraceChgNetNewLine(); if (strcmp(pName, "trace-chg-net-verbose" ) == 0) TraceChgNetVerbose(); if (strcmp(pName, "trace-chg-link" ) == 0) TraceChgLink(); if (strcmp(pName, "trace-chg-dns-name" ) == 0) TraceChgDnsName(); if (strcmp(pName, "trace-chg-dns-query" ) == 0) TraceChgDnsQuery(); if (strcmp(pName, "trace-chg-dns-reply" ) == 0) TraceChgDnsReply(); if (strcmp(pName, "trace-chg-dns-server" ) == 0) TraceChgDnsServer(); if (strcmp(pName, "trace-chg-ntp" ) == 0) TraceChgNtp(); if (strcmp(pName, "trace-chg-dhcp" ) == 0) TraceChgDhcp(); if (strcmp(pName, "trace-chg-ns-recv-sol" ) == 0) TraceChgNsRecvSol(); if (strcmp(pName, "trace-chg-ns-recv-adv" ) == 0) TraceChgNsRecvAdv(); if (strcmp(pName, "trace-chg-ns-send-sol" ) == 0) TraceChgNsSendSol(); if (strcmp(pName, "trace-chg-nr4" ) == 0) TraceChgNr4(); if (strcmp(pName, "trace-chg-nr6" ) == 0) TraceChgNr6(); if (strcmp(pName, "trace-chg-ntp-client" ) == 0) TraceChgNtpClient(); if (strcmp(pName, "trace-chg-sync" ) == 0) TraceChgSync(); if (strcmp(pName, "trace-chg-echo4" ) == 0) TraceChgEcho4(); if (strcmp(pName, "trace-chg-echo6" ) == 0) TraceChgEcho6(); if (strcmp(pName, "trace-chg-dest6" ) == 0) TraceChgDest6(); if (strcmp(pName, "trace-chg-ra" ) == 0) TraceChgRa(); if (strcmp(pName, "trace-chg-rs" ) == 0) TraceChgRs(); if (strcmp(pName, "trace-chg-ar4" ) == 0) TraceChgAr4(); if (strcmp(pName, "trace-chg-ar6" ) == 0) TraceChgAr6(); if (strcmp(pName, "trace-chg-arp" ) == 0) TraceChgArp(); if (strcmp(pName, "trace-chg-ip4" ) == 0) TraceChgIp4(); if (strcmp(pName, "trace-chg-ip6" ) == 0) TraceChgIp6(); if (strcmp(pName, "trace-chg-udp" ) == 0) TraceChgUdp(); if (strcmp(pName, "trace-chg-tcp" ) == 0) TraceChgTcp(); if (strcmp(pName, "trace-chg-http" ) == 0) TraceChgHttp(); if (strcmp(pName, "trace-chg-tftp" ) == 0) TraceChgTftp(); } }