You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/03/13 23:58:17 UTC

[2/4] incubator-mynewt-site git commit: added syntax highlighting to os_core docs

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/newt/newt_linux/index.html
----------------------------------------------------------------------
diff --git a/newt/newt_linux/index.html b/newt/newt_linux/index.html
index a367f75..ae8950e 100644
--- a/newt/newt_linux/index.html
+++ b/newt/newt_linux/index.html
@@ -408,19 +408,19 @@
 <ul>
 <li>Download the <em>newt</em> tool repository by using Go to copy the directory (currently the ASF incubator directory). Be patient as it may take a minute or two. Check the directories installed.</li>
 </ul>
-<pre><code class="no-highlight">        $ go get git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt
+<pre><code class="no-highlight">        $ go get mynewt.apache.org/newt/...
         $ ls
          bin    pkg    src
         $ ls src
-        git-wip-us.apache.org   github.com      gopkg.in
+        github.com      golang.org      gopkg.in     mynewt.apache.org
 </code></pre>
 
 <ul>
 <li>Check that newt is in place.</li>
 </ul>
-<pre><code class="no-highlight">        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt 
-        Godeps          README.md       coding_style.txt    newt.go
-        LICENSE         cli             design.txt
+<pre><code class="no-highlight">        $ ls $GOPATH/src/mynewt.apache.org/newt
+        DISCLAIMER  NOTICE      newt        newtvm      viper
+        LICENSE     README.md   newtmgr     util        yaml
 </code></pre>
 
 <h4 id="3-build-the-newt-tool">3. Build the newt tool<a class="headerlink" href="#3-build-the-newt-tool" title="Permanent link">&para;</a></h4>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/newt/newt_mac/index.html
----------------------------------------------------------------------
diff --git a/newt/newt_mac/index.html b/newt/newt_mac/index.html
index 7b64659..297420c 100644
--- a/newt/newt_mac/index.html
+++ b/newt/newt_mac/index.html
@@ -432,9 +432,9 @@
 <ul>
 <li>Check that newt.go is in place.</li>
 </ul>
-<pre><code class="no-highlight">        $ ls $GOPATH/src/git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt  
-        Godeps          README.md       coding_style.txt    newt.go
-        LICENSE         cli             design.txt
+<pre><code class="no-highlight">        $ ls $GOPATH/src/mynewt.apache.org/newt
+        DISCLAIMER  NOTICE      newt        newtvm      viper
+        LICENSE     README.md   newtmgr     util        yaml
 </code></pre>
 
 <h4 id="4-build-the-newt-tool">4. Build the Newt tool<a class="headerlink" href="#4-build-the-newt-tool" title="Permanent link">&para;</a></h4>
@@ -443,7 +443,6 @@
 </ul>
 <pre><code class="no-highlight">        $ cd $GOPATH/src/mynewt.apache.org/newt/newt
         $ go install
-        $
         $ ls &quot;$GOPATH&quot;/bin/
         newt newtmgr newtvm
 </code></pre>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/callout/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/callout/index.html b/os/core_os/callout/callout/index.html
index 5cee161..93f8824 100644
--- a/os/core_os/callout/callout/index.html
+++ b/os/core_os/callout/callout/index.html
@@ -691,14 +691,13 @@
 <p>Time unit when arming the timer is OS ticks. This rate of this ticker depends on the platform this is running on. You should use OS define <em>OS_TICKS_PER_SEC</em> to convert wallclock time to OS  ticks.</p>
 <p>Callout timer fires out just once. For periodic timer type of operation you need to rearm it once it fires.</p>
 <h3 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h3>
-<pre><code class="no-highlight">struct os_callout {
+<pre><code>struct os_callout {
     struct os_event c_ev;
     struct os_eventq *c_evq;
     uint32_t c_ticks;
     TAILQ_ENTRY(os_callout) c_next;
 };
 </code></pre>
-
 <table>
 <thead>
 <tr>
@@ -725,13 +724,12 @@
 </tr>
 </tbody>
 </table>
-<pre><code class="no-highlight">struct os_callout_func {
+<pre><code>struct os_callout_func {
     struct os_callout cf_c;
     os_callout_func_t cf_func;
     void *cf_arg;
 };
 </code></pre>
-
 <table>
 <thead>
 <tr>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/os_callout_func_init/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/os_callout_func_init/index.html b/os/core_os/callout/os_callout_func_init/index.html
index 696c2cb..3e68ba2 100644
--- a/os/core_os/callout/os_callout_func_init/index.html
+++ b/os/core_os/callout/os_callout_func_init/index.html
@@ -737,9 +737,8 @@
                         </div>
                         
                             <h2 id="os_callout_func_init"><font color="#F2853F" style="font-size:24pt"> os_callout_func_init </font><a class="headerlink" href="#os_callout_func_init" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_callout_func_init(struct os_callout_func *cf, struct os_eventq *evq, os_callout_func_t timo_func, void *ev_arg)
+<pre><code>void os_callout_func_init(struct os_callout_func *cf, struct os_eventq *evq, os_callout_func_t timo_func, void *ev_arg)
 </code></pre>
-
 <p>Initializes the given <em>struct os_callout_func</em>. Data structure is filled in with elements given as argument.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -774,16 +773,15 @@
 <p>The same notes as with <em>os_callout_init()</em>.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">struct os_callout_func g_native_cputimer;
+<pre><code>struct os_callout_func g_native_cputimer;
 struct os_eventq g_native_cputime_evq;
 void native_cputimer_cb(void *arg);
 
     /* Initialize the callout function */
     os_callout_func_init(&amp;g_native_cputimer,
-                         &amp;g_native_cputime_evq,
-                         native_cputimer_cb,
-                         NULL);
-
+                     &amp;g_native_cputime_evq,
+                     native_cputimer_cb,
+                     NULL);
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/os_callout_init/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/os_callout_init/index.html b/os/core_os/callout/os_callout_init/index.html
index 0dde7ee..a607269 100644
--- a/os/core_os/callout/os_callout_init/index.html
+++ b/os/core_os/callout/os_callout_init/index.html
@@ -737,9 +737,8 @@
                         </div>
                         
                             <h2 id="os_callout_init"><font color="#F2853F" style="font-size:24pt">os_callout_init </font><a class="headerlink" href="#os_callout_init" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_callout_init(struct os_callout *c, struct os_eventq *evq, void *ev_arg)
+<pre><code>void os_callout_init(struct os_callout *c, struct os_eventq *evq, void *ev_arg)
 </code></pre>
-
 <p>Initializes <em>struct os_callout</em>. Event type will be set to <em>OS_EVENT_T_TIMER</em>.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -771,12 +770,12 @@
 Or if the timer has already fired, it will mess up the event queue where the callout was delivered to.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">struct os_eventq my_evq;
+<pre><code>struct os_eventq my_evq;
 struct os_callout my_callouts[8];
 
     for (i = 0; i &lt; 8; i++) {
         os_callout_init(&amp;my_callouts[i], &amp;my_evq, (void *)i);
-    }
+}
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/os_callout_queued/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/os_callout_queued/index.html b/os/core_os/callout/os_callout_queued/index.html
index 0e84abf..a99c3f2 100644
--- a/os/core_os/callout/os_callout_queued/index.html
+++ b/os/core_os/callout/os_callout_queued/index.html
@@ -737,9 +737,8 @@
                         </div>
                         
                             <h2 id="os_callout_queued"><font color="#F2853F" style="font-size:24pt">os_callout_queued</font><a class="headerlink" href="#os_callout_queued" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_callout_queued(struct os_callout *c)
+<pre><code>int os_callout_queued(struct os_callout *c)
 </code></pre>
-
 <p>Tells whether the callout has been armed or not.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -759,11 +758,6 @@
 <h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
 <p>0: timer is not armed
 non-zero: timer is armed</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
-<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">&lt;Insert the code snippet here&gt;
-</code></pre>
                         
                         <div class="row">
                             <footer>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/os_callout_reset/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/os_callout_reset/index.html b/os/core_os/callout/os_callout_reset/index.html
index 2eaf22b..24864e1 100644
--- a/os/core_os/callout/os_callout_reset/index.html
+++ b/os/core_os/callout/os_callout_reset/index.html
@@ -737,9 +737,8 @@
                         </div>
                         
                             <h2 id="os_callout_reset"><font color="#F2853F" style="font-size:24pt"> os_callout_reset </font><a class="headerlink" href="#os_callout_reset" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_callout_reset(struct os_callout *c, int32_t timo)
+<pre><code>void os_callout_reset(struct os_callout *c, int32_t timo)
 </code></pre>
-
 <p>Resets the callout to happen <em>timo</em> in OS ticks.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -765,8 +764,8 @@
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">    /* Re-start the timer (run every 50 msecs) */
-    os_callout_reset(&amp;g_bletest_timer.cf_c, OS_TICKS_PER_SEC / 20);
+<pre><code>/* Re-start the timer (run every 50 msecs) */
+os_callout_reset(&amp;g_bletest_timer.cf_c, OS_TICKS_PER_SEC / 20);
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/callout/os_callout_stop/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/callout/os_callout_stop/index.html b/os/core_os/callout/os_callout_stop/index.html
index e9c26af..da7b8be 100644
--- a/os/core_os/callout/os_callout_stop/index.html
+++ b/os/core_os/callout/os_callout_stop/index.html
@@ -737,9 +737,8 @@
                         </div>
                         
                             <h2 id="os_callout_stop"><font color="#F2853F" style="font-size:24pt"> os_callout_stop </font><a class="headerlink" href="#os_callout_stop" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_callout_stop(struct os_callout *c)
+<pre><code>void os_callout_stop(struct os_callout *c)
 </code></pre>
-
 <p>Disarms a timer.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -758,10 +757,8 @@
 </table>
 <h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">&para;</a></h4>
 <p>N/A</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">struct os_callout_func g_native_cputimer;
+<pre><code>struct os_callout_func g_native_cputimer;
 
      os_callout_stop(&amp;g_native_cputimer.cf_c);
 </code></pre>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/context_switch/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/context_switch/index.html b/os/core_os/context_switch/context_switch/index.html
index d5b7e37..c7845a1 100644
--- a/os/core_os/context_switch/context_switch/index.html
+++ b/os/core_os/context_switch/context_switch/index.html
@@ -691,7 +691,6 @@
 <p>Tasks which are either <em>running</em> or <em>ready to run</em> are kept in linked list <code>g_os_run_list</code>. This list is ordered by priority.</p>
 <p>Tasks which are <em>sleeping</em> are kept in linked list <code>g_os_sleep_list</code>.</p>
 <p>Scheduler has a CPU architecture specific component; this code is responsible for swapping in the task which should be <em>running</em>. This process is called context switch. During context switching the state of the CPU (e.g. registers) for the currently <em>running</em> task is stored and the new task is swapped in.</p>
-<h2 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h2>
 <h2 id="list-of-functions">List of Functions<a class="headerlink" href="#list-of-functions" title="Permanent link">&para;</a></h2>
 <p>The functions available in context_switch are:</p>
 <ul>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_arch_ctx_sw/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_arch_ctx_sw/index.html b/os/core_os/context_switch/os_arch_ctx_sw/index.html
index ff96bf9..8780e77 100644
--- a/os/core_os/context_switch/os_arch_ctx_sw/index.html
+++ b/os/core_os/context_switch/os_arch_ctx_sw/index.html
@@ -797,9 +797,7 @@
                         </div>
                         
                             <h2 id="os_arch_ctx_sw"><font color="#F2853F" style="font-size:24pt"> os_arch_ctx_sw </font><a class="headerlink" href="#os_arch_ctx_sw" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_arch_ctx_sw(struct os_task *next_t)
-</code></pre>
-
+<p>void os_arch_ctx_sw(struct os_task *next_t)</p>
 <p>Change the state of task pointed by <em>next_t</em> to be <em>running</em>.</p>
 <h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">&para;</a></h4>
 <table>
@@ -822,23 +820,23 @@
 <p>This would get called from another task's context.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
-os_sched(struct os_task *next_t)
-{
-    os_sr_t sr;
+<pre><code class="c">void
+    os_sched(struct os_task *next_t)
+    {
+        os_sr_t sr;
 
-    OS_ENTER_CRITICAL(sr);
+        OS_ENTER_CRITICAL(sr);
 
-    if (!next_t) {
-        next_t = os_sched_next_task();
-    }
+        if (!next_t) {
+            next_t = os_sched_next_task();
+        }
 
-    if (next_t != g_current_task) {
-        os_arch_ctx_sw(next_t);
-    }
+        if (next_t != g_current_task) {
+            os_arch_ctx_sw(next_t);
+        }
 
-    OS_EXIT_CRITICAL(sr);
-}
+        OS_EXIT_CRITICAL(sr);
+    }
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched/index.html b/os/core_os/context_switch/os_sched/index.html
index b066394..f54f1f1 100644
--- a/os/core_os/context_switch/os_sched/index.html
+++ b/os/core_os/context_switch/os_sched/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched"><font color="#F2853F" style="font-size:24pt"> os_sched </font><a class="headerlink" href="#os_sched" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_sched(struct os_task *next_t)
+<pre><code class="c">void os_sched(struct os_task *next_t)
 </code></pre>
 
 <p>Performs context switch if needed. If <em>next_t</em> is set, that task will be made <em>running</em>. If <em>next_t</em> is NULL, highest priority <em>ready to run</em> is swapped in. This function can be called when new tasks were made <em>ready to run</em> or if the current task is moved to <em>sleeping</em> state.</p>
@@ -823,7 +823,7 @@
 <p>Interrupts must be disabled when calling this.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">os_error_t
+<pre><code class="c">os_error_t
 os_mutex_release(struct os_mutex *mu)
 {
     ...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
index b6cae67..19e485d 100644
--- a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
+++ b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_ctx_sw_hook"><font color="#F2853F" style="font-size:24pt"> os_sched_ctx_sw_hook </font><a class="headerlink" href="#os_sched_ctx_sw_hook" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_sched_ctx_sw_hook(struct os_task *next_t)
+<pre><code class="c">void os_sched_ctx_sw_hook(struct os_task *next_t)
 </code></pre>
 
 <p>Performs task accounting when context switching.</p>
@@ -809,7 +809,7 @@
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_arch_ctx_sw(struct os_task *t)
 {
     os_sched_ctx_sw_hook(t);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_get_current_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_get_current_task/index.html b/os/core_os/context_switch/os_sched_get_current_task/index.html
index 572d66a..e6d21ae 100644
--- a/os/core_os/context_switch/os_sched_get_current_task/index.html
+++ b/os/core_os/context_switch/os_sched_get_current_task/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_get_current_task"><font color="#F2853F" style="font-size:24pt"> os_sched_get_current_task </font><a class="headerlink" href="#os_sched_get_current_task" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_task *os_sched_get_current_task(void)
+<pre><code class="c">struct os_task *os_sched_get_current_task(void)
 </code></pre>
 
 <p>Returns the pointer to task which is currently <em>running</em>.</p>
@@ -808,7 +808,7 @@
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_time_delay(int32_t osticks)
 {
     os_sr_t sr;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_insert/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_insert/index.html b/os/core_os/context_switch/os_sched_insert/index.html
index 4f27542..e1849e5 100644
--- a/os/core_os/context_switch/os_sched_insert/index.html
+++ b/os/core_os/context_switch/os_sched_insert/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_insert"><font color="#F2853F" style="font-size:24pt"> os_sched_insert </font><a class="headerlink" href="#os_sched_insert" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">os_error_t
+<pre><code class="c">os_error_t
 os_sched_insert(struct os_task *t)
 </code></pre>
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_next_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_next_task/index.html b/os/core_os/context_switch/os_sched_next_task/index.html
index 338280f..c85c28a 100644
--- a/os/core_os/context_switch/os_sched_next_task/index.html
+++ b/os/core_os/context_switch/os_sched_next_task/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_next_task"><font color="#F2853F" style="font-size:24pt"> os_sched_next_task </font><a class="headerlink" href="#os_sched_next_task" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_task *os_sched_next_task(void)
+<pre><code class="c">struct os_task *os_sched_next_task(void)
 </code></pre>
 
 <p>Returns the pointer to highest priority task from the list which are <em>ready to run</em>.</p>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_os_timer_exp/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_os_timer_exp/index.html b/os/core_os/context_switch/os_sched_os_timer_exp/index.html
index b9c994d..d0def16 100644
--- a/os/core_os/context_switch/os_sched_os_timer_exp/index.html
+++ b/os/core_os/context_switch/os_sched_os_timer_exp/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_os_timer_exp"><font color="#F2853F" style="font-size:24pt"> os_sched_os_timer_exp </font><a class="headerlink" href="#os_sched_os_timer_exp" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_sched_os_timer_exp(void)
+<pre><code class="c">void os_sched_os_timer_exp(void)
 </code></pre>
 
 <p>Inform scheduler that OS time has moved forward, and it should inspect tasks which are <em>sleeping</em> to check whether they should be moved to <em>g_run_list</em> or not.</p>
@@ -809,7 +809,7 @@
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 timer_handler(void)
 {
     os_time_tick();

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_resort/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_resort/index.html b/os/core_os/context_switch/os_sched_resort/index.html
index de14802..4e18441 100644
--- a/os/core_os/context_switch/os_sched_resort/index.html
+++ b/os/core_os/context_switch/os_sched_resort/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_resort"><font color="#F2853F" style="font-size:24pt"> os_sched_resort </font><a class="headerlink" href="#os_sched_resort" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_sched_resort(struct os_task *t)
+<pre><code class="c">void os_sched_resort(struct os_task *t)
 </code></pre>
 
 <p>Inform scheduler that the priority of the task <em>t</em> has changed (e.g. in order to avoid priority inversion), and the <em>ready to run</em> list should be re-sorted.</p>
@@ -822,7 +822,7 @@
 <p><em>t</em> must be <em>ready to run</em> before calling this.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">os_error_t
+<pre><code class="c">os_error_t
 os_mutex_pend(struct os_mutex *mu, uint32_t timeout)
 {
     ....

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_set_current_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_set_current_task/index.html b/os/core_os/context_switch/os_sched_set_current_task/index.html
index deda51c..4692e6e 100644
--- a/os/core_os/context_switch/os_sched_set_current_task/index.html
+++ b/os/core_os/context_switch/os_sched_set_current_task/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_set_current_task"><font color="#F2853F" style="font-size:24pt"> os_sched_set_current_task </font><a class="headerlink" href="#os_sched_set_current_task" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void 
+<pre><code class="c">void 
 os_sched_set_current_task(struct os_task *t)
 </code></pre>
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_sleep/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_sleep/index.html b/os/core_os/context_switch/os_sched_sleep/index.html
index 197085a..14d66b5 100644
--- a/os/core_os/context_switch/os_sched_sleep/index.html
+++ b/os/core_os/context_switch/os_sched_sleep/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_sleep"><font color="#F2853F" style="font-size:24pt"> os_sched_sleep </font><a class="headerlink" href="#os_sched_sleep" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int
+<pre><code class="c">int
 os_sched_sleep(struct os_task *t, os_time_t nticks)
 </code></pre>
 
@@ -829,7 +829,7 @@ os_sched_sleep(struct os_task *t, os_time_t nticks)
 <p>Must be called with interrupts disabled.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">struct os_event *
+<pre><code class="c">struct os_event *
 os_eventq_get(struct os_eventq *evq)
 {
     struct os_event *ev;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/context_switch/os_sched_wakeup/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_wakeup/index.html b/os/core_os/context_switch/os_sched_wakeup/index.html
index f0df8ab..007ec85 100644
--- a/os/core_os/context_switch/os_sched_wakeup/index.html
+++ b/os/core_os/context_switch/os_sched_wakeup/index.html
@@ -797,7 +797,7 @@
                         </div>
                         
                             <h2 id="os_sched_wakeup"><font color="#F2853F" style="font-size:24pt"> os_sched_wakeup </font><a class="headerlink" href="#os_sched_wakeup" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int
+<pre><code class="c">int
 os_sched_wakeup(struct os_task *t)
 </code></pre>
 
@@ -822,7 +822,7 @@ os_sched_wakeup(struct os_task *t)
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_eventq_put(struct os_eventq *evq, struct os_event *ev)
 {
     ....

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/event_queue/event_queue/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/event_queue/index.html b/os/core_os/event_queue/event_queue/index.html
index 5573d25..aefe2b8 100644
--- a/os/core_os/event_queue/event_queue/index.html
+++ b/os/core_os/event_queue/event_queue/index.html
@@ -693,7 +693,7 @@ Processing task would then act according to event type.</p>
 <p>It is assumed that there is only one task consuming events from an event queue. Only one task should be sleeping on a particular <em>os_eventq</em> at a time.</p>
 <p>Note that os_callout subsystem assumes that event queue is used as the wakeup mechanism.</p>
 <h3 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h3>
-<pre><code class="no-highlight">struct os_event {
+<pre><code class="c">struct os_event {
     uint8_t ev_queued;
     uint8_t ev_type;
     void *ev_arg;
@@ -727,7 +727,7 @@ Processing task would then act according to event type.</p>
 </tr>
 </tbody>
 </table>
-<pre><code class="no-highlight">struct os_eventq {
+<pre><code class="c">struct os_eventq {
     struct os_task *evq_task;
     STAILQ_HEAD(, os_event) evq_list;
 };

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/event_queue/os_eventq_get/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_get/index.html b/os/core_os/event_queue/os_eventq_get/index.html
index 9682416..cafb621 100644
--- a/os/core_os/event_queue/os_eventq_get/index.html
+++ b/os/core_os/event_queue/os_eventq_get/index.html
@@ -727,7 +727,7 @@
                         </div>
                         
                             <h2 id="os_eventq_get"><font color="#F2853F" style="font-size:24pt"> os_eventq_get</font><a class="headerlink" href="#os_eventq_get" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_eventq_get(struct os_eventq *evq)
 </code></pre>
 
@@ -752,7 +752,7 @@ os_eventq_get(struct os_eventq *evq)
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p>Main loop of an example task.</p>
-<pre><code class="no-highlight">    while (1) {
+<pre><code class="c">    while (1) {
         ev = os_eventq_get(&amp;task1_evq);
         assert(ev);
         if (ev-&gt;ev_type == CONS_EV_TYPE) {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/event_queue/os_eventq_init/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_init/index.html b/os/core_os/event_queue/os_eventq_init/index.html
index 2ec4d09..b864e83 100644
--- a/os/core_os/event_queue/os_eventq_init/index.html
+++ b/os/core_os/event_queue/os_eventq_init/index.html
@@ -727,7 +727,7 @@
                         </div>
                         
                             <h2 id="os_eventq_init"><font color="F2853F" style="font-size:24pt"> os_eventq_init</font><a class="headerlink" href="#os_eventq_init" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">   void
+<pre><code class="c">   void
     os_eventq_init(struct os_eventq *evq)
 </code></pre>
 
@@ -754,7 +754,7 @@
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here>
 This initializes event queue used by newtmgr task.</p>
-<pre><code class="no-highlight">struct os_eventq g_nmgr_evq;
+<pre><code class="c">struct os_eventq g_nmgr_evq;
 
 int
 nmgr_task_init(uint8_t prio, os_stack_t *stack_ptr, uint16_t stack_len)

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/event_queue/os_eventq_put/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_put/index.html b/os/core_os/event_queue/os_eventq_put/index.html
index 7a01184..07bd755 100644
--- a/os/core_os/event_queue/os_eventq_put/index.html
+++ b/os/core_os/event_queue/os_eventq_put/index.html
@@ -727,7 +727,7 @@
                         </div>
                         
                             <h2 id="os_eventq_put"><font color="#F2853F" style="font-size:24pt"> os_eventq_put</font><a class="headerlink" href="#os_eventq_put" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_eventq_put(struct os_eventq *evq, struct os_event *ev)
 </code></pre>
 
@@ -756,7 +756,7 @@ os_eventq_put(struct os_eventq *evq, struct os_event *ev)
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here>
 This is used to pass info about an event to a task handling it.</p>
-<pre><code class="no-highlight">    /* Get an event structure off the queue */
+<pre><code class="c">    /* Get an event structure off the queue */
     ev = (struct os_event *)os_memblock_get(&amp;g_hci_os_event_pool);
     if (!ev) {
         err = os_memblock_put(&amp;g_hci_cmd_pool, hci_ev);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/event_queue/os_eventq_remove/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/event_queue/os_eventq_remove/index.html b/os/core_os/event_queue/os_eventq_remove/index.html
index e2ab1cb..197bb7b 100644
--- a/os/core_os/event_queue/os_eventq_remove/index.html
+++ b/os/core_os/event_queue/os_eventq_remove/index.html
@@ -727,7 +727,7 @@
                         </div>
                         
                             <h2 id="os_eventq_remove"><font color="#F2853F" style="font-size:24pt"> os_eventq_remove</font><a class="headerlink" href="#os_eventq_remove" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 os_eventq_remove(struct os_eventq *evq, struct os_event *ev)
 </code></pre>
 
@@ -757,7 +757,7 @@ os_eventq_remove(struct os_eventq *evq, struct os_event *ev)
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here>
 This is from os_callout_stop(). User wants to stop a callout from getting passed to a task. If the event has already been queued, then remove it before it is seen.</p>
-<pre><code class="no-highlight">    if (c-&gt;c_evq) {
+<pre><code class="c">    if (c-&gt;c_evq) {
         os_eventq_remove(c-&gt;c_evq, &amp;c-&gt;c_ev);
     }
 </code></pre>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/heap/os_free/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/os_free/index.html b/os/core_os/heap/os_free/index.html
index 7531cfe..5e59a80 100644
--- a/os/core_os/heap/os_free/index.html
+++ b/os/core_os/heap/os_free/index.html
@@ -717,7 +717,7 @@
                         </div>
                         
                             <h2 id="os_free"><font color="F2853F" style="font-size:24pt">os_free</font><a class="headerlink" href="#os_free" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_free(void *mem)
+<pre><code class="c">void os_free(void *mem)
 </code></pre>
 
 <p>Frees previously allocated memory back to the heap.</p>
@@ -742,7 +742,7 @@
 <p>Calls C-library <em>free()</em> behind the covers.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">   os_free(info);
+<pre><code class="c">   os_free(info);
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/heap/os_malloc/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/os_malloc/index.html b/os/core_os/heap/os_malloc/index.html
index 0e12eed..6a22043 100644
--- a/os/core_os/heap/os_malloc/index.html
+++ b/os/core_os/heap/os_malloc/index.html
@@ -717,7 +717,7 @@
                         </div>
                         
                             <h2 id="os_malloc"><font color="F2853F" style="font-size:24pt"> os_malloc</font><a class="headerlink" href="#os_malloc" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void *os_malloc(size_t size)
+<pre><code class="c">void *os_malloc(size_t size)
 </code></pre>
 
 <p>Allocates <em>size</em> number of bytes from heap and returns a pointer to it.</p>
@@ -744,7 +744,7 @@ NULL: not enough memory available.</p>
 Depending on which C-library you use, you might have to do the heap setup differently. Most often <em>malloc()</em> implementation will maintain a list of allocated and then freed memory blocks. If user asks for memory which cannot be satisfied from free list, they'll call platform's <em>sbrk()</em>, which then tries to grow the heap.</p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">    info = (struct os_task_info *) os_malloc(
+<pre><code class="c">    info = (struct os_task_info *) os_malloc(
             sizeof(struct os_task_info) * tcount);
     if (!info) {
         rc = -1;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/heap/os_realloc/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/heap/os_realloc/index.html b/os/core_os/heap/os_realloc/index.html
index 51f647b..020c8f8 100644
--- a/os/core_os/heap/os_realloc/index.html
+++ b/os/core_os/heap/os_realloc/index.html
@@ -717,7 +717,7 @@
                         </div>
                         
                             <h2 id="os_realloc"><font color="F2853F" style="font-size:24pt">os_realloc</font><a class="headerlink" href="#os_realloc" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void *os_realloc(void *ptr, size_t size)
+<pre><code class="c">void *os_realloc(void *ptr, size_t size)
 </code></pre>
 
 <p>Tries to resize previously allocated memory block, and returns pointer to resized memory.
@@ -747,7 +747,7 @@ ptr: pointer to new start of memory block</p>
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">&lt;Insert the code snippet here&gt;
+<pre><code class="c">&lt;Insert the code snippet here&gt;
 </code></pre>
                         
                         <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_DATA/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_DATA/index.html b/os/core_os/mbuf/OS_MBUF_DATA/index.html
index ccfa8be..1a2746c 100644
--- a/os/core_os/mbuf/OS_MBUF_DATA/index.html
+++ b/os/core_os/mbuf/OS_MBUF_DATA/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_data"><font color="#F2853F" style="font-size:24pt">OS_MBUF_DATA</font><a class="headerlink" href="#os_mbuf_data" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_DATA(__om, __type)
+<pre><code class="c">OS_MBUF_DATA(__om, __type)
 </code></pre>
 
 <p>Macro used to cast the data pointer of an mbuf to a given type.</p>
@@ -980,7 +980,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om
+<pre><code class="c">    struct os_mbuf *om
     uint8_t *rxbuf;
 
     rxbuf = OS_MBUF_DATA(om, uint8_t *);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_LEADINGSPACE/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_LEADINGSPACE/index.html b/os/core_os/mbuf/OS_MBUF_LEADINGSPACE/index.html
index 291f914..86e8465 100644
--- a/os/core_os/mbuf/OS_MBUF_LEADINGSPACE/index.html
+++ b/os/core_os/mbuf/OS_MBUF_LEADINGSPACE/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_leadingspace"><font color="#F2853F" style="font-size:24pt">OS_MBUF_LEADINGSPACE</font><a class="headerlink" href="#os_mbuf_leadingspace" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_LEADINGSPACE(__om)
+<pre><code class="c">OS_MBUF_LEADINGSPACE(__om)
 </code></pre>
 
 <p>Macro used to get the amount of leading space in an mbuf (in bytes).</p>
@@ -979,7 +979,7 @@
 <p>This macro works on both normal mbufs and packet header mbufs. The amount of leading space is the number of bytes between the current om_data pointer of the mbuf and the start of the mbuf user data buffer.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint8_t *dptr;
+<pre><code class="c">    uint8_t *dptr;
     uint16_t space;
     struct os_mbuf *om;
     struct my_data_struct my_data;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_PKTHDR/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_PKTHDR/index.html b/os/core_os/mbuf/OS_MBUF_PKTHDR/index.html
index a37ff90..a91f76d 100644
--- a/os/core_os/mbuf/OS_MBUF_PKTHDR/index.html
+++ b/os/core_os/mbuf/OS_MBUF_PKTHDR/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_pkthdr"><font color="#F2853F" style="font-size:24pt">OS_MBUF_PKTHDR</font><a class="headerlink" href="#os_mbuf_pkthdr" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_PKTHDR(__om)
+<pre><code class="c">OS_MBUF_PKTHDR(__om)
 </code></pre>
 
 <p>Macro used to get a pointer to the os mbuf packet header of an mbuf.</p>
@@ -976,7 +976,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">int
+<pre><code class="c">int
 does_packet_have_data(struct os_mbuf *om)
 {
     struct os_mbuf_pkthdr *hdr;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_PKTHDR_TO_MBUF/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_PKTHDR_TO_MBUF/index.html b/os/core_os/mbuf/OS_MBUF_PKTHDR_TO_MBUF/index.html
index d2708b2..7a752e2 100644
--- a/os/core_os/mbuf/OS_MBUF_PKTHDR_TO_MBUF/index.html
+++ b/os/core_os/mbuf/OS_MBUF_PKTHDR_TO_MBUF/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_pkthdr_to_mbuf"><font color="#F2853F" style="font-size:24pt">OS_MBUF_PKTHDR_TO_MBUF</font><a class="headerlink" href="#os_mbuf_pkthdr_to_mbuf" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_PKTHDR_TO_MBUF(__hdr)
+<pre><code class="c">OS_MBUF_PKTHDR_TO_MBUF(__hdr)
 </code></pre>
 
 <p>Macro used to get a pointer to the mbuf given a pointer to the os mbuf packet header</p>
@@ -976,7 +976,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om;
+<pre><code class="c">    struct os_mbuf *om;
     struct os_mbuf_pkthdr *hdr;
 
     om = OS_MBUF_PKTHDR_TO_MBUF(hdr);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_PKTLEN/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_PKTLEN/index.html b/os/core_os/mbuf/OS_MBUF_PKTLEN/index.html
index 56a3436..a79553d 100644
--- a/os/core_os/mbuf/OS_MBUF_PKTLEN/index.html
+++ b/os/core_os/mbuf/OS_MBUF_PKTLEN/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_pktlen"><font color="#F2853F" style="font-size:24pt">OS_MBUF_PKTLEN</font><a class="headerlink" href="#os_mbuf_pktlen" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_PKTLEN(__om)
+<pre><code class="c">OS_MBUF_PKTLEN(__om)
 </code></pre>
 
 <p>Macro used to get the length of an entire mbuf chain.</p>
@@ -976,7 +976,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t pktlen;
+<pre><code class="c">    uint16_t pktlen;
     struct os_mbuf *om;
 
     /* Check if there is any data in the mbuf chain */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_TRAILINGSPACE/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_TRAILINGSPACE/index.html b/os/core_os/mbuf/OS_MBUF_TRAILINGSPACE/index.html
index 499c06a..f18ea80 100644
--- a/os/core_os/mbuf/OS_MBUF_TRAILINGSPACE/index.html
+++ b/os/core_os/mbuf/OS_MBUF_TRAILINGSPACE/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_trailingspace"><font color="#F2853F" style="font-size:24pt">OS_MBUF_TRAILINGSPACE</font><a class="headerlink" href="#os_mbuf_trailingspace" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_TRAILINGSPACE(__om)
+<pre><code class="c">OS_MBUF_TRAILINGSPACE(__om)
 </code></pre>
 
 <p>Macro used to get the amount of trailing space in an mbuf (in bytes).</p>
@@ -979,7 +979,7 @@
 <p>This macro works on both normal mbufs and packet header mbufs. The amount of trailing space is the number of bytes between the current om_data pointer of the mbuf and the end of the mbuf.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t space;
+<pre><code class="c">    uint16_t space;
     struct os_mbuf *om;
     struct my_data_struct my_data;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_USRHDR/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_USRHDR/index.html b/os/core_os/mbuf/OS_MBUF_USRHDR/index.html
index 6564d92..8708a39 100644
--- a/os/core_os/mbuf/OS_MBUF_USRHDR/index.html
+++ b/os/core_os/mbuf/OS_MBUF_USRHDR/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_usrhdr"><font color="#F2853F" style="font-size:24pt">OS_MBUF_USRHDR</font><a class="headerlink" href="#os_mbuf_usrhdr" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_USRHDR(__om)
+<pre><code class="c">OS_MBUF_USRHDR(__om)
 </code></pre>
 
 <p>Macro used to get a pointer to the user packet header of an mbuf.</p>
@@ -976,7 +976,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om
+<pre><code class="c">    struct os_mbuf *om
     struct user_header *hdr;
 
     hdr = OS_MBUF_USRHDR(om);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/OS_MBUF_USRHDR_LEN/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/OS_MBUF_USRHDR_LEN/index.html b/os/core_os/mbuf/OS_MBUF_USRHDR_LEN/index.html
index 3df7298..6ad50a6 100644
--- a/os/core_os/mbuf/OS_MBUF_USRHDR_LEN/index.html
+++ b/os/core_os/mbuf/OS_MBUF_USRHDR_LEN/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_usrhdr_len"><font color="#F2853F" style="font-size:24pt">OS_MBUF_USRHDR_LEN</font><a class="headerlink" href="#os_mbuf_usrhdr_len" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MBUF_USRHDR_LEN(__om)
+<pre><code class="c">OS_MBUF_USRHDR_LEN(__om)
 </code></pre>
 
 <p>Macro used to retrieve the length of the user packet header in an mbuf.</p>
@@ -976,7 +976,7 @@
 </table>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t user_length;
+<pre><code class="c">    uint16_t user_length;
     struct os_mbuf *om
     struct user_header *hdr;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/mbuf/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/mbuf/index.html b/os/core_os/mbuf/mbuf/index.html
index 1adcbef..4f3f455 100644
--- a/os/core_os/mbuf/mbuf/index.html
+++ b/os/core_os/mbuf/mbuf/index.html
@@ -743,7 +743,7 @@
 <p>Mbufs are collected into "mbuf pools" much like memory blocks. The mbuf pool itself contains a pointer to a memory pool. The memory blocks in this memory pool are the actual mbufs; both normal and packet header mbufs. Thus, the memory block (and corresponding memory pool) must be sized correctly. In other words, the memory blocks which make up the memory pool used by the mbuf pool must be at least: sizeof(struct os_mbuf) + sizeof(struct os_mbuf_pkthdr) + sizeof(struct user_defined_header) + desired minimum data buffer length. For example, if the developer wants mbufs to contain at least 64 bytes of user data and they have a user header of 12 bytes, the size of the memory block would be (at least): 64 + 12 + 16 + 8, or 100 bytes. Yes, this is a fair amount of overhead. However, the flexibility provided by the mbuf library usually outweighs overhead concerns.</p>
 <h3 id="create-mbuf-pool">Create mbuf pool<a class="headerlink" href="#create-mbuf-pool" title="Permanent link">&para;</a></h3>
 <p>Creating an mbuf pool is fairly simple: create a memory pool and then create the mbuf pool using that memory pool. Once the developer has determined the size of the user data needed per mbuf (this is based on the application/networking stack and is outside the scope of this discussion) and the size of the user header (if any), the memory blocks can be sized. In the example shown below, the application requires 64 bytes of user data per mbuf and also allocates a user header (called struct user_hdr). Note that we do not show the user header data structure as there really is no need; all we need to do is to account for it when creating the memory pool. In the example, we use the macro <em>MBUF_PKTHDR_OVERHEAD</em> to denote the amount of packet header overhead per mbuf and <em>MBUF_MEMBLOCK_OVERHEAD</em> to denote the total amount of overhead required per memory block. The macro <em>MBUF_BUF_SIZE</em> is used to denote the amount of payload that the application requires (aligned on 
 a 32-bit boundary in this case). All this leads to the total memory block size required, denoted by the macro <em>MBUF_MEMBLOCK_OVERHEAD</em>.</p>
-<pre><code class="no-highlight">
+<pre><code class="c">
 #define MBUF_PKTHDR_OVERHEAD    sizeof(struct os_mbuf_pkthdr) + sizeof(struct user_hdr)
 #define MBUF_MEMBLOCK_OVERHEAD  sizeof(struct os_mbuf) + MBUF_PKTHDR_OVERHEAD
 
@@ -776,7 +776,7 @@ create_mbuf_pool(void)
 <h3 id="using-mbufs">Using mbufs<a class="headerlink" href="#using-mbufs" title="Permanent link">&para;</a></h3>
 <p>The following examples illustrate typical mbuf usage. There are two basic mbuf allocation API: <code>os_mbuf_get()</code> and <code>os_mbuf_get_pkthdr()</code>. The first API obtains a normal mbuf whereas the latter obtains a packet header mbuf. Typically, application developers use <code>os_mbuf_get_pkthdr()</code> and rarely, if ever, need to call <code>os_mbuf_get()</code> as the rest of the mbuf API (e.g. <code>os_mbuf_append()</code>, <code>os_mbuf_copyinto()</code>, etc.) typically deal with allocating and chaining mbufs. It is recommended to use the provided API to copy data into/out of mbuf chains and/or manipulate mbufs.</p>
 <p>In <code>example1</code>, the developer creates a packet and then sends the packet to a networking interface. The code sample also provides an example of copying data out of an mbuf as well as use of the "pullup" api (another very common mbuf api).</p>
-<pre><code class="no-highlight">
+<pre><code class="c">
 void
 mbuf_usage_example1(uint8_t *mydata, int mydata_length)
 {
@@ -807,7 +807,7 @@ mbuf_usage_example1(uint8_t *mydata, int mydata_length)
 <p>Another common pitfall occurs around endianness. A network protocol may be little endian or big endian; it all depends on the protocol specification. Processors also have an endianness; this means that the developer has to be careful that the processor endianness and the protocol endianness are handled correctly. In <code>example2</code>, some common networking functions are used: <code>ntohs()</code> and <code>ntohl()</code>. These are shorthand for "network order to host order, short" and "network order to host order, long". Basically, these functions convert data of a certain size (i.e. 16 bits, 32 bits, etc) to the endianness of the host. Network byte order is big-endian (most significant byte first), so these functions convert big-endian byte order to host order (thus, the implementation of these functions is host dependent). Note that the BLE networking stack "on the air" format is least signigicant byte first (i.e. little endian), so a "bletoh" function would have to take 
 little endian format and convert to host format.</p>
 <p>A long story short: the developer must take care when copying structure data to/from mbufs and flat buffers!</p>
 <p>A final note: these examples assume the same mbuf struture and definitions used in the first example. </p>
-<pre><code class="no-highlight">void
+<pre><code class="c">void
 mbuf_usage_example2(struct mbuf *rxpkt)
 {
     int rc;
@@ -848,7 +848,7 @@ mbuf_usage_example2(struct mbuf *rxpkt)
 
 <p><br></p>
 <h3 id="data-structures">Data Structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h3>
-<pre><code class="no-highlight">struct os_mbuf_pool {
+<pre><code class="c">struct os_mbuf_pool {
     uint16_t omp_databuf_len;
     uint16_t omp_mbuf_count;
     struct os_mempool *omp_pool;
@@ -883,7 +883,7 @@ mbuf_usage_example2(struct mbuf *rxpkt)
 </tbody>
 </table>
 <p><br></p>
-<pre><code class="no-highlight">struct os_mbuf_pkthdr {
+<pre><code class="c">struct os_mbuf_pkthdr {
     uint16_t omp_len;
     uint16_t omp_flags;
     STAILQ_ENTRY(os_mbuf_pkthdr) omp_next;
@@ -913,7 +913,7 @@ mbuf_usage_example2(struct mbuf *rxpkt)
 </tbody>
 </table>
 <p><br></p>
-<pre><code class="no-highlight">struct os_mbuf {
+<pre><code class="c">struct os_mbuf {
     uint8_t *om_data;
     uint8_t om_flags;
     uint8_t om_pkthdr_len;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_adj/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_adj/index.html b/os/core_os/mbuf/os_mbuf_adj/index.html
index 3cd93f8..9f92f36 100644
--- a/os/core_os/mbuf/os_mbuf_adj/index.html
+++ b/os/core_os/mbuf/os_mbuf_adj/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_adj"><font color="#F2853F" style="font-size:24pt"> os_mbuf_adj</font><a class="headerlink" href="#os_mbuf_adj" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_mbuf_adj(struct os_mbuf *mp, int req_len);
+<pre><code class="c">void os_mbuf_adj(struct os_mbuf *mp, int req_len);
 </code></pre>
 
 <p>Trims <em>req_len</em> bytes from either the head (if positive) or tail (if negative) of an mbuf chain. Adjusts the packet length of the mbuf chain if <em>mp</em> points to a packet header mbuf. When trimming from the head, no mbufs are freed. When trimming from the tail, any mbufs of zero length left at the end of the chain are freed.</p>
@@ -983,7 +983,7 @@
 <p>None</p>
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t pktlen;
+<pre><code class="c">    uint16_t pktlen;
     struct os_mbuf *om;
     struct my_pkt_header hdr;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_append/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_append/index.html b/os/core_os/mbuf/os_mbuf_append/index.html
index 5b415ab..9c9c336 100644
--- a/os/core_os/mbuf/os_mbuf_append/index.html
+++ b/os/core_os/mbuf/os_mbuf_append/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_append"><font color="#F2853F" style="font-size:24pt"> os_mbuf_append</font><a class="headerlink" href="#os_mbuf_append" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_append(struct os_mbuf *om, const void *data,  uint16_t len)
+<pre><code class="c">int os_mbuf_append(struct os_mbuf *om, const void *data,  uint16_t len)
 </code></pre>
 
 <p>Appends a data buffer of length <em>len</em> to the end of an mbuf chain, adjusting packet length if <em>om</em> is a packet header mbuf. If not enough trailing space exists at the end of the mbuf chain, mbufs are allocated to hold the data.</p>
@@ -994,7 +994,7 @@ OS_EINVAL: <em>om</em> was NULL on entry.</p>
 <p>If any mbufs are allocated, they are allocated from the same pool as <em>om</em></p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int rc;
+<pre><code class="c">    int rc;
     uint16_t pktlen;
     struct os_mbuf *om;
     struct my_data_struct my_data;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_concat/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_concat/index.html b/os/core_os/mbuf/os_mbuf_concat/index.html
index ededbed..6247325 100644
--- a/os/core_os/mbuf/os_mbuf_concat/index.html
+++ b/os/core_os/mbuf/os_mbuf_concat/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_concat"><font color="#F2853F" style="font-size:24pt"> os_mbuf_concat</font><a class="headerlink" href="#os_mbuf_concat" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void os_mbuf_concat(struct os_mbuf *first, struct os_mbuf *second)
+<pre><code class="c">void os_mbuf_concat(struct os_mbuf *first, struct os_mbuf *second)
 </code></pre>
 
 <p>Attaches a second mbuf chain onto the end of the first. If the first chain contains a packet header, the header's length is updated.  If the second chain has a packet header, its header is cleared.</p>
@@ -986,7 +986,7 @@
 <p>No data is copied or moved nor are any mbufs freed.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t pktlen1;
+<pre><code class="c">    uint16_t pktlen1;
     uint16_t pktlen2;
     struct os_mbuf *pkt1;
     struct os_mbuf *pkt2;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_copydata/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_copydata/index.html b/os/core_os/mbuf/os_mbuf_copydata/index.html
index d48b2d5..7e8df4e 100644
--- a/os/core_os/mbuf/os_mbuf_copydata/index.html
+++ b/os/core_os/mbuf/os_mbuf_copydata/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_copydata"><font color="#F2853F" style="font-size:24pt"> os_mbuf_copydata</font><a class="headerlink" href="#os_mbuf_copydata" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_copydata(const struct os_mbuf *m, int off, int len, void *dst)
+<pre><code class="c">int os_mbuf_copydata(const struct os_mbuf *m, int off, int len, void *dst)
 </code></pre>
 
 <p>Copy data from an mbuf chain starting <em>off</em> bytes from the beginning, continuing for <em>len</em> bytes, into the indicated buffer.</p>
@@ -992,7 +992,7 @@
 -1: The mbuf does not contain enough data</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int rc;
+<pre><code class="c">    int rc;
     struct os_mbuf *om;
     struct my_hdr_1 my_hdr1;    
     struct my_hdr_2 my_hdr2;    

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_copyinto/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_copyinto/index.html b/os/core_os/mbuf/os_mbuf_copyinto/index.html
index 132625f..dae2e55 100644
--- a/os/core_os/mbuf/os_mbuf_copyinto/index.html
+++ b/os/core_os/mbuf/os_mbuf_copyinto/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_copyinto"><font color="#F2853F" style="font-size:24pt"> os_mbuf_copyinto</font><a class="headerlink" href="#os_mbuf_copyinto" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_copyinto(struct os_mbuf *om, int off, const void *src, int len);
+<pre><code class="c">int os_mbuf_copyinto(struct os_mbuf *om, int off, const void *src, int len);
 </code></pre>
 
 <p>Copies the contents of a flat buffer into an mbuf chain, starting at the specified destination offset.  If the mbuf is too small for the source data, it is extended as necessary.  If the destination mbuf contains a packet header, the header length is updated.</p>
@@ -992,7 +992,7 @@
 All other values indicate an error.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int rc;
+<pre><code class="c">    int rc;
     uint16_t pktlen;
     struct os_mbuf *om;
     struct my_data_struct my_data;  

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_dup/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_dup/index.html b/os/core_os/mbuf/os_mbuf_dup/index.html
index 79473aa..824e3d2 100644
--- a/os/core_os/mbuf/os_mbuf_dup/index.html
+++ b/os/core_os/mbuf/os_mbuf_dup/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_dup"><font color="#F2853F" style="font-size:24pt"> os_mbuf_dup</font><a class="headerlink" href="#os_mbuf_dup" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_dup(struct os_mbuf *om)
+<pre><code class="c">struct os_mbuf *os_mbuf_dup(struct os_mbuf *om)
 </code></pre>
 
 <p>Duplicate a chain of mbufs.  Return the start of the duplicated chain.</p>
@@ -979,7 +979,7 @@
 <p>Pointer to the duplicated chain or NULL if not enough mbufs were available to duplicate the chain.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om;
+<pre><code class="c">    struct os_mbuf *om;
     struct os_mbuf *new_om;
 
     /* Make a copy of om, returning -1 if not able to duplicate om */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_extend/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_extend/index.html b/os/core_os/mbuf/os_mbuf_extend/index.html
index 302ef8a..f2d3687 100644
--- a/os/core_os/mbuf/os_mbuf_extend/index.html
+++ b/os/core_os/mbuf/os_mbuf_extend/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_extend"><font color="#F2853F" style="font-size:24pt"> os_mbuf_extend</font><a class="headerlink" href="#os_mbuf_extend" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void *os_mbuf_extend(struct os_mbuf *om, uint16_t len);
+<pre><code class="c">void *os_mbuf_extend(struct os_mbuf *om, uint16_t len);
 </code></pre>
 
 <p>Increases the length of an mbuf chain by the specified amount.  If there is not sufficient room in the last buffer, a new buffer is allocated and appended to the chain.  It is an error to request more data than can fit in a single buffer.</p>
@@ -984,7 +984,7 @@
 <p>Returns NULL if extension fails due to insufficient mbufs or <em>len</em> too large.
 <br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint8_t *dptr;
+<pre><code class="c">    uint8_t *dptr;
     struct os_mbuf *om;
     struct my_data_struct my_data;  
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_free_chain/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_free_chain/index.html b/os/core_os/mbuf/os_mbuf_free_chain/index.html
index 3709595..138deb5 100644
--- a/os/core_os/mbuf/os_mbuf_free_chain/index.html
+++ b/os/core_os/mbuf/os_mbuf_free_chain/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_free_chain"><font color="#F2853F" style="font-size:24pt"> os_mbuf_free_chain</font><a class="headerlink" href="#os_mbuf_free_chain" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_free_chain(struct os_mbuf *om);
+<pre><code class="c">int os_mbuf_free_chain(struct os_mbuf *om);
 </code></pre>
 
 <p>Frees a chain of mbufs</p>
@@ -983,7 +983,7 @@ Any other value indicates error</p>
 <p>Note that for each mbuf in the chain, <code>os_mbuf_free()</code> is called.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int rc;
+<pre><code class="c">    int rc;
     struct os_mbuf *om;
 
     /* Free mbuf chain */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_get/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_get/index.html b/os/core_os/mbuf/os_mbuf_get/index.html
index ce6c90e..e5aa36a 100644
--- a/os/core_os/mbuf/os_mbuf_get/index.html
+++ b/os/core_os/mbuf/os_mbuf_get/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_get"><font color="#F2853F" style="font-size:24pt">os_mbuf_get</font><a class="headerlink" href="#os_mbuf_get" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_get(struct os_mbuf_pool *omp, uint16_t leadingspace)
+<pre><code class="c">struct os_mbuf *os_mbuf_get(struct os_mbuf_pool *omp, uint16_t leadingspace)
 </code></pre>
 
 <p>Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized prior to being returned. The <em>leadingspace</em> parameter allows the user to specify the amount of leading space in the allocated mbuf.</p>
@@ -986,7 +986,7 @@
 <p>In most typical applications, the application developer does not need to call <code>os_mbuf_get()</code>; the other API will do this automatically. However, this API is provided for convenience as mbufs can also be a simple way to allocate temporary chunks of memory.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om;
+<pre><code class="c">    struct os_mbuf *om;
 
     /* Get an mbuf */
     om = os_mbuf_get(&amp;g_mbuf_pool, 0);

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_get_pkthdr/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_get_pkthdr/index.html b/os/core_os/mbuf/os_mbuf_get_pkthdr/index.html
index d073948..c47d6f2 100644
--- a/os/core_os/mbuf/os_mbuf_get_pkthdr/index.html
+++ b/os/core_os/mbuf/os_mbuf_get_pkthdr/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_get_pkthdr"><font color="#F2853F" style="font-size:24pt">os_mbuf_get_pkthdr</font><a class="headerlink" href="#os_mbuf_get_pkthdr" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_get_pkthdr(struct os_mbuf_pool *omp, uint8_t pkthdr_len);
+<pre><code class="c">struct os_mbuf *os_mbuf_get_pkthdr(struct os_mbuf_pool *omp, uint8_t pkthdr_len);
 </code></pre>
 
 <p>Allocates a packet header mbuf from the mbuf pool pointed to by <em>omp</em>. Adds a user header of length <em>pkthdr_len</em> to packet header mbuf.</p>
@@ -986,7 +986,7 @@
 <p>The packet header mbuf returned will have its data pointer incremented by the sizeof(struct os_mbuf_pkthdr) as well as the amount of user header data (i.e. <em>pkthdr_len</em>). In other words, the data pointer is offset from the start of the mbuf by: sizeof(struct os_mbuf) + sizeof(struct os_mbuf_pkthdr) + pkthdr_len. The <code>om_pkthdr_len</code> element in the allocated mbuf is set to: sizeof(struct os_mbuf_pkthdr) + pkthdr_len.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om;
+<pre><code class="c">    struct os_mbuf *om;
     struct my_user_header my_hdr;
 
     /* Get a packet header mbuf with a user header in it */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_memcmp/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_memcmp/index.html b/os/core_os/mbuf/os_mbuf_memcmp/index.html
index ca012dc..9a7c6d1 100644
--- a/os/core_os/mbuf/os_mbuf_memcmp/index.html
+++ b/os/core_os/mbuf/os_mbuf_memcmp/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_memcmp"><font color="#F2853F" style="font-size:24pt">os_mbuf_memcmp</font><a class="headerlink" href="#os_mbuf_memcmp" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_memcmp(const struct os_mbuf *om, int off, const void *data, int len)
+<pre><code class="c">int os_mbuf_memcmp(const struct os_mbuf *om, int off, const void *data, int len)
 </code></pre>
 
 <p>Performs a memory compare of the specified region of an mbuf chain against a flat buffer.</p>
@@ -994,7 +994,7 @@
 <p>This function will compare bytes starting from <em>off</em> bytes from the start of the mbuf chain with a data buffer.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int rc;
+<pre><code class="c">    int rc;
     struct os_mbuf *om;
     uint8_t my_data_buffer[32];
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_off/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_off/index.html b/os/core_os/mbuf/os_mbuf_off/index.html
index c206c02..82c530f 100644
--- a/os/core_os/mbuf/os_mbuf_off/index.html
+++ b/os/core_os/mbuf/os_mbuf_off/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_off"><font color="#F2853F" style="font-size:24pt">os_mbuf_off</font><a class="headerlink" href="#os_mbuf_off" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_off(struct os_mbuf *om, int off, int *out_off)
+<pre><code class="c">struct os_mbuf *os_mbuf_off(struct os_mbuf *om, int off, int *out_off)
 </code></pre>
 
 <p>Given an offset in the packet (i.e. user data byte offset in the mbuf chain), return the mbuf and the offset in that mbuf where byte 'off' is located. Note that the offset is 'returned' in <em>out_off</em>.</p>
@@ -991,7 +991,7 @@
 <p>While this api is provided to the user, other API are expected to be used by the applciation developer (i.e. <code>os_mbuf_append()</code> or <code>os_mbuf_copyinto()</code>).
 <br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    int relative_offset;
+<pre><code class="c">    int relative_offset;
     uint16_t pktlen;
     struct os_mbuf *om;
     struct os_mbuf *tmp;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_pool_init/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_pool_init/index.html b/os/core_os/mbuf/os_mbuf_pool_init/index.html
index 521ed27..64a728e 100644
--- a/os/core_os/mbuf/os_mbuf_pool_init/index.html
+++ b/os/core_os/mbuf/os_mbuf_pool_init/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_pool_init"><font color="#F2853F" style="font-size:24pt">os_mbuf_pool_init</font><a class="headerlink" href="#os_mbuf_pool_init" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">int os_mbuf_pool_init(struct os_mbuf_pool *omp, struct os_mempool *mp, uint16_t buf_len, 
+<pre><code class="c">int os_mbuf_pool_init(struct os_mbuf_pool *omp, struct os_mempool *mp, uint16_t buf_len, 
                       uint16_t nbufs)
 </code></pre>
 
@@ -995,7 +995,7 @@
 <p>The parameter <em>buf_len</em> is the total size of the memory block. This must accommodate the os_mbuf structure, the os_mbuf_pkthdr structure, any user headers plus the desired amount of user data.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">#define MBUF_PKTHDR_OVERHEAD    sizeof(struct os_mbuf_pkthdr) + sizeof(struct user_hdr)
+<pre><code class="c">#define MBUF_PKTHDR_OVERHEAD    sizeof(struct os_mbuf_pkthdr) + sizeof(struct user_hdr)
 #define MBUF_MEMBLOCK_OVERHEAD  sizeof(struct os_mbuf) + MBUF_PKTHDR_OVERHEAD
 
 #define MBUF_NUM_MBUFS      (32)

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_prepend/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_prepend/index.html b/os/core_os/mbuf/os_mbuf_prepend/index.html
index 27d67eb..2e30b5a 100644
--- a/os/core_os/mbuf/os_mbuf_prepend/index.html
+++ b/os/core_os/mbuf/os_mbuf_prepend/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_prepend"><font color="#F2853F" style="font-size:24pt">os_mbuf_prepend</font><a class="headerlink" href="#os_mbuf_prepend" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_prepend(struct os_mbuf *om, int len)
+<pre><code class="c">struct os_mbuf *os_mbuf_prepend(struct os_mbuf *om, int len)
 </code></pre>
 
 <p>Increases the length of an mbuf chain by adding data to the front.  If there is insufficient room in the leading mbuf, additional mbufs are allocated and prepended as necessary.  If this function fails to allocate an mbuf, the entire chain is freed.</p>
@@ -986,7 +986,7 @@
 <p>If <em>om</em> is a packet header mbuf, the total length of the packet is adjusted by <em>len</em>. Note that the returned mbuf may not point to <em>om</em> if insufficient leading space was available in <em>om</em>.</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    uint16_t pktlen;
+<pre><code class="c">    uint16_t pktlen;
     struct os_mbuf *om;
     struct os_mbuf *tmp;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/mbuf/os_mbuf_pullup/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/mbuf/os_mbuf_pullup/index.html b/os/core_os/mbuf/os_mbuf_pullup/index.html
index 32e698b..1833600 100644
--- a/os/core_os/mbuf/os_mbuf_pullup/index.html
+++ b/os/core_os/mbuf/os_mbuf_pullup/index.html
@@ -954,7 +954,7 @@
                         </div>
                         
                             <h2 id="os_mbuf_pullup"><font color="#F2853F" style="font-size:24pt">os_mbuf_pullup</font><a class="headerlink" href="#os_mbuf_pullup" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">struct os_mbuf *os_mbuf_pullup(struct os_mbuf *om, uint16_t len)
+<pre><code class="c">struct os_mbuf *os_mbuf_pullup(struct os_mbuf *om, uint16_t len)
 </code></pre>
 
 <p>Rearrange an mbuf chain so that len bytes are contiguous, and in the data area of an mbuf (so that OS_MBUF_DATA() will  work on a structure of size len.)  Returns the resulting mbuf chain on success, free's it and returns NULL on failure.</p>
@@ -987,7 +987,7 @@
 <p>The mbuf that is being pulled up into does not need to be a packet header mbuf; it can be a normal mbuf. The user should note that the maximum pullup length does depend on the type of mbuf being pulled up into (a packet header or normal mbuf).</p>
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
-<pre><code class="no-highlight">    struct os_mbuf *om;
+<pre><code class="c">    struct os_mbuf *om;
     struct os_mbuf *tmp;
     struct my_header_struct my_header;
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/memory_pool/OS_MEMPOOL_BYTES/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/memory_pool/OS_MEMPOOL_BYTES/index.html b/os/core_os/memory_pool/OS_MEMPOOL_BYTES/index.html
index cf542fb..58057cb 100644
--- a/os/core_os/memory_pool/OS_MEMPOOL_BYTES/index.html
+++ b/os/core_os/memory_pool/OS_MEMPOOL_BYTES/index.html
@@ -737,7 +737,7 @@
                         </div>
                         
                             <h2 id="os_mempool_bytes"><font color="#F2853F" style="font-size:24pt">OS_MEMPOOL_BYTES</font><a class="headerlink" href="#os_mempool_bytes" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MEMPOOL_BYTES(n,blksize)
+<pre><code class="c">OS_MEMPOOL_BYTES(n,blksize)
 </code></pre>
 
 <p>Calculates how many bytes of memory is used by <em>n</em> number of elements, when individual element size is <em>blksize</em> bytes.</p>
@@ -769,7 +769,7 @@
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p>Here we allocate memory to be used as a pool.</p>
-<pre><code class="no-highlight">    void *nffs_file_mem;
+<pre><code class="c">    void *nffs_file_mem;
 
     nffs_file_mem = malloc(OS_MEMPOOL_BYTES(nffs_config.nc_num_files, sizeof (struct nffs_file)));
     if (nffs_file_mem == NULL) {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/memory_pool/OS_MEMPOOL_SIZE/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/memory_pool/OS_MEMPOOL_SIZE/index.html b/os/core_os/memory_pool/OS_MEMPOOL_SIZE/index.html
index cd2eab6..b9da59d 100644
--- a/os/core_os/memory_pool/OS_MEMPOOL_SIZE/index.html
+++ b/os/core_os/memory_pool/OS_MEMPOOL_SIZE/index.html
@@ -737,7 +737,7 @@
                         </div>
                         
                             <h2 id="os_mempool_size"><font color="#F2853F" style="font-size:24pt">OS_MEMPOOL_SIZE</font><a class="headerlink" href="#os_mempool_size" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">OS_MEMPOOL_SIZE(n,blksize)
+<pre><code class="c">OS_MEMPOOL_SIZE(n,blksize)
 </code></pre>
 
 <p>Calculates the number of os_membuf_t elements used by <em>n</em> blocks of size <em>blksize</em> bytes.</p>
@@ -771,7 +771,7 @@
 <p><br></p>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p>Here we define a memory buffer to be used by a memory pool using OS_MEMPOOL_SIZE</p>
-<pre><code class="no-highlight">#define NUM_BLOCKS      (16)
+<pre><code class="c">#define NUM_BLOCKS      (16)
 #define BLOCK_SIZE      (32)
 
 os_membuf_t my_pool_memory[OS_MEMPOOL_SIZE(NUM_BLOCKS, BLOCK_SIZE)]

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/memory_pool/memory_pool/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/memory_pool/memory_pool/index.html b/os/core_os/memory_pool/memory_pool/index.html
index 5708ade..9db1948 100644
--- a/os/core_os/memory_pool/memory_pool/index.html
+++ b/os/core_os/memory_pool/memory_pool/index.html
@@ -684,30 +684,30 @@
 <p>A memory pool is a collection of fixed sized elements called memory blocks. Generally, memory pools are used when the developer wants to allocate a certain amount of memory to a given feature. Unlike the heap, where a code module is at the mercy of other code modules to insure there is sufficient memory, memory pools can insure sufficient memory allocation.</p>
 <h3 id="description">Description<a class="headerlink" href="#description" title="Permanent link">&para;</a></h3>
 <p>In order to create a memory pool the developer needs to do a few things. The first task is to define the memory pool itself. This is a data structure which contains information about the pool itself (i.e. number of blocks, size of the blocks, etc).</p>
-<pre><code class="no-highlight">struct os_mempool my_pool;
+<pre><code class="c">struct os_mempool my_pool;
 </code></pre>
 
 <p><br>
 The next order of business is to allocate the memory used by the memory pool. This memory can either be statically allocated (i.e. a global variable) or dynamically allocated (i.e. from the heap). When determining the amount of memory required for the memory pool, simply multiplying the number of blocks by the size of each block is not sufficient as the OS may have alignment requirements. The alignment size definition is named <code>OS_ALIGNMENT</code> and can be found in os_arch.h as it is architecture specific. The memory block alignment is usually for efficiency but may be due to other reasons. Generally, blocks are aligned on 32-bit boundaries. Note that memory blocks must also be of sufficient size to hold a list pointer as this is needed to chain memory blocks on the free list.</p>
 <p>In order to simplify this for the user two macros have been provided: <code>OS_MEMPOOL_BYTES(n, blksize)</code> and <code>OS_MEMPOOL_SIZE(n, blksize)</code>. The first macro returns the number of bytes needed for the memory pool while the second returns the number of <code>os_membuf_t</code> elements required by the memory pool. The <code>os_membuf_t</code> type is used to guarantee that the memory buffer used by the memory pool is aligned on the correct boundary. </p>
 <p>Here are some examples. Note that if a custom malloc implementation is used it must guarantee that the memory buffer used by the pool is allocated on the correct boundary (i.e. OS_ALIGNMENT).</p>
-<pre><code class="no-highlight">void *my_memory_buffer;
+<pre><code class="c">void *my_memory_buffer;
 my_memory_buffer = malloc(OS_MEMPOOL_BYTES(NUM_BLOCKS, BLOCK_SIZE));
 </code></pre>
 
-<pre><code class="no-highlight">os_membuf_t my_memory_buffer[OS_MEMPOOL_SIZE(NUM_BLOCKS, BLOCK_SIZE)];
+<pre><code class="c">os_membuf_t my_memory_buffer[OS_MEMPOOL_SIZE(NUM_BLOCKS, BLOCK_SIZE)];
 </code></pre>
 
 <p><br>
 Now that the memory pool has been defined as well as the memory required for the memory blocks which make up the pool the user needs to initialize the memory pool by calling <code>os_mempool_init</code>.</p>
-<pre><code class="no-highlight">os_mempool_init(&amp;my_pool, NUM_BLOCKS, BLOCK_SIZE, my_memory_buffer,
+<pre><code class="c">os_mempool_init(&amp;my_pool, NUM_BLOCKS, BLOCK_SIZE, my_memory_buffer,
                          &quot;MyPool&quot;);
 </code></pre>
 
 <p><br>
 Once the memory pool has been initialized the developer can allocate memory blocks from the pool by calling <code>os_memblock_get</code>. When the memory block is no longer needed the memory can be freed by calling <code>os_memblock_put</code>. </p>
 <h3 id="data-structures">Data structures<a class="headerlink" href="#data-structures" title="Permanent link">&para;</a></h3>
-<pre><code class="no-highlight">struct os_mempool {
+<pre><code class="c">struct os_mempool {
     int mp_block_size;
     int mp_num_blocks;
     int mp_num_free;

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/1fd93d7e/os/core_os/memory_pool/os_memblock_get/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/memory_pool/os_memblock_get/index.html b/os/core_os/memory_pool/os_memblock_get/index.html
index 8a341e1..db57415 100644
--- a/os/core_os/memory_pool/os_memblock_get/index.html
+++ b/os/core_os/memory_pool/os_memblock_get/index.html
@@ -737,7 +737,7 @@
                         </div>
                         
                             <h2 id="os_memblock_get"><font color="#F2853F" style="font-size:24pt"> os_memblock_get</font><a class="headerlink" href="#os_memblock_get" title="Permanent link">&para;</a></h2>
-<pre><code class="no-highlight">void *os_memblock_get(struct os_mempool *mp)
+<pre><code class="c">void *os_memblock_get(struct os_mempool *mp)
 </code></pre>
 
 <p>Allocate an element from the memory pool. If succesful, you'll get a pointer to allocated element. If there are no elements available, you'll get NULL as response.</p>
@@ -762,7 +762,7 @@
 <h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">&para;</a></h4>
 <h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">&para;</a></h4>
 <p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">    struct nffs_file *file;
+<pre><code class="c">    struct nffs_file *file;
 
     file = os_memblock_get(&amp;nffs_file_pool);
     if (file != NULL) {