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
web-add.h@130:9a5b8fe308f1, 2019-09-24 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Sep 24 18:16:47 2019 +0000
- Revision:
- 130:9a5b8fe308f1
- Parent:
- 119:794e5985d6c8
- Child:
- 147:ea6f647725a1
Added http
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 109:3e82f62c7e1f | 1 | #include <stdint.h> |
| andrewboyson | 109:3e82f62c7e1f | 2 | #include <stdbool.h> |
| andrewboyson | 109:3e82f62c7e1f | 3 | |
| andrewboyson | 119:794e5985d6c8 | 4 | extern void WebAddNavItem (int highlight, const char* href, const char* title); |
| andrewboyson | 109:3e82f62c7e1f | 5 | extern void WebAddNav (int page); |
| andrewboyson | 109:3e82f62c7e1f | 6 | extern void WebAddHeader (const char* title, const char* style, const char* script); |
| andrewboyson | 109:3e82f62c7e1f | 7 | extern void WebAddH1 (const char* pageName); |
| andrewboyson | 109:3e82f62c7e1f | 8 | extern void WebAddH2 (const char* text); |
| andrewboyson | 109:3e82f62c7e1f | 9 | extern void WebAddEnd (void); |
| andrewboyson | 109:3e82f62c7e1f | 10 | |
| andrewboyson | 119:794e5985d6c8 | 11 | extern void WebAddLabelledText (const char* label, const char* text); |
| andrewboyson | 119:794e5985d6c8 | 12 | extern void WebAddLabelledPrefixSuffix(const char* label, const char* prefix, const char* text, const char* suffix); |
| andrewboyson | 119:794e5985d6c8 | 13 | extern void WebAddLabelledMac (const char* label, const char* mac); |
| andrewboyson | 119:794e5985d6c8 | 14 | extern void WebAddLabelledIp4 (const char* label, uint32_t ip); |
| andrewboyson | 119:794e5985d6c8 | 15 | extern void WebAddLabelledIp6 (const char* label, const char* ip); |
| andrewboyson | 119:794e5985d6c8 | 16 | extern void WebAddLabelledOnOff (const char* label, bool value); |
| andrewboyson | 119:794e5985d6c8 | 17 | extern void WebAddLabelledLed (const char* label, bool value); |
| andrewboyson | 119:794e5985d6c8 | 18 | extern void WebAddLabelledInt (const char* label, int value); |
| andrewboyson | 109:3e82f62c7e1f | 19 | |
| andrewboyson | 119:794e5985d6c8 | 20 | extern void WebAddInputText (const char* label, float inputwidth, const char* value, const char* action, const char* name); |
| andrewboyson | 119:794e5985d6c8 | 21 | extern void WebAddInputInt (const char* label, float inputwidth, int value, const char* action, const char* name); |
| andrewboyson | 119:794e5985d6c8 | 22 | extern void WebAddInputButton (const char* label, const char* value, const char* action, const char* name); |
| andrewboyson | 109:3e82f62c7e1f | 23 | |
| andrewboyson | 119:794e5985d6c8 | 24 | extern void WebAddAjaxLed (const char* label, const char* id); |
| andrewboyson | 119:794e5985d6c8 | 25 | extern void WebAddAjaxLabelled (const char* label, const char* id); |
| andrewboyson | 119:794e5985d6c8 | 26 | extern void WebAddAjaxLabelledSuffix (const char* label, const char* id, const char* suffix); |
| andrewboyson | 119:794e5985d6c8 | 27 | extern void WebAddAjaxInputToggle (const char* label, const char* id, const char* name); |
| andrewboyson | 119:794e5985d6c8 | 28 | extern void WebAddAjaxInput (const char* label, float inputwidth, const char* id, const char* name); |
| andrewboyson | 119:794e5985d6c8 | 29 | extern void WebAddAjaxInputSuffix (const char* label, float inputwidth, const char* id, const char* name, const char* suffix); |
| andrewboyson | 119:794e5985d6c8 | 30 | extern void WebAddAjaxInputLabelId (const char* labelId, float inputwidth, const char* id, const char* name); |