Changeset 0fe6b0d in network-demos for http/shttpd_ext.c


Ignore:
Timestamp:
Nov 23, 2009, 2:31:53 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch
Children:
81f6c2e
Parents:
6ecabe8
Message:

2009-11-23 Joel Sherrill <joel.sherrill@…>

  • Makefile, goahead_index.html, init.c, shttpd_ext.c, shttpd_index.html: Add Mongoose HTTPD support.
  • mongoose_ext.c, mongoose_index.html: New files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • http/shttpd_ext.c

    r6ecabe8 r0fe6b0d  
    3131
    3232  if ( !strcmp( query, "cpuuse_report" ) ) {
     33
     34    shttpd_printf( arg, "<pre>" );
    3335    rtems_cpu_usage_report_with_plugin(
    3436      arg,
    3537      (rtems_printk_plugin_t) shttpd_printf
    3638    );
     39    shttpd_printf( arg, "</pre>" );
    3740  } else if ( !strcmp( query, "cpuuse_reset" ) ) {
    3841    rtems_cpu_usage_reset();
     
    4447    );
    4548  } else if ( !strcmp( query, "stackuse_report" ) ) {
     49    shttpd_printf( arg, "<pre>" );
    4650    rtems_stack_checker_report_usage_with_plugin(
    4751      arg,
    4852      (rtems_printk_plugin_t) shttpd_printf
    4953    );
     54    shttpd_printf( arg, "</pre>" );
    5055  } else {
    5156    shttpd_printf(
Note: See TracChangeset for help on using the changeset viewer.