\section{aversive\_\-10-03-12/projects/example2/main.c File Reference}
\label{example2_2main_8c}\index{aversive\_\-10-03-12/projects/example2/main.c@{aversive\_\-10-03-12/projects/example2/main.c}}
{\tt \#include $<$aversive.h$>$}\par
{\tt \#include $<$aversive/list.h$>$}\par
{\tt \#include $<$uart.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf LIST\_\-TYPEDEF} (my\_\-list\_\-type, {\bf u08}, 4)
\item 
{\bf LIST\_\-TYPEDEF} (my\_\-another\_\-list\_\-type, {\bf u08}, 10)
\item 
void {\bf dumplist} (struct {\bf generic\_\-list} $\ast$l)
\item 
int {\bf main} (void)
\end{CompactItemize}


\subsection{Function Documentation}
\index{example2/main.c@{example2/main.c}!dumplist@{dumplist}}
\index{dumplist@{dumplist}!example2/main.c@{example2/main.c}}
\subsubsection[dumplist]{\setlength{\rightskip}{0pt plus 5cm}void dumplist (struct {\bf generic\_\-list} $\ast$ {\em l})}\label{example2_2main_8c_1fec90804f3497f05c7e380f2eea6a29}




Definition at line 33 of file main.c.

References list\_\-hdr::beg\_\-indice, CR, list\_\-hdr::cur\_\-size, generic\_\-list::elt, generic\_\-list::hdr, i, list\_\-hdr::read\_\-cursor, and list\_\-hdr::size.

Referenced by main().\index{example2/main.c@{example2/main.c}!LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}}
\index{LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}!example2/main.c@{example2/main.c}}
\subsubsection[LIST\_\-TYPEDEF]{\setlength{\rightskip}{0pt plus 5cm}LIST\_\-TYPEDEF (my\_\-another\_\-list\_\-type, \/  {\bf u08}, \/  10)}\label{example2_2main_8c_cc2d3adce0a51c6ff708545c0dfcf1fe}


\index{example2/main.c@{example2/main.c}!LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}}
\index{LIST\_\-TYPEDEF@{LIST\_\-TYPEDEF}!example2/main.c@{example2/main.c}}
\subsubsection[LIST\_\-TYPEDEF]{\setlength{\rightskip}{0pt plus 5cm}LIST\_\-TYPEDEF (my\_\-list\_\-type, \/  {\bf u08}, \/  4)}\label{example2_2main_8c_d7087eb1d63297df4f6b465b0f113b08}


\index{example2/main.c@{example2/main.c}!main@{main}}
\index{main@{main}!example2/main.c@{example2/main.c}}
\subsubsection[main]{\setlength{\rightskip}{0pt plus 5cm}int main (void)}\label{example2_2main_8c_840291bc02cba5474a4cb46a9b9566fe}




Definition at line 101 of file main.c.

References CR, dumplist(), LIST\_\-ALIGN\_\-LEFT, LIST\_\-ARRAY\_\-PULL\_\-END, LIST\_\-ARRAY\_\-PULL\_\-START, LIST\_\-ARRAY\_\-PUSH\_\-END, LIST\_\-ARRAY\_\-PUSH\_\-START, LIST\_\-INIT, LIST\_\-PULL\_\-END, LIST\_\-PULL\_\-START, LIST\_\-PUSH\_\-END, LIST\_\-PUSH\_\-START, LIST\_\-READ\_\-END, LIST\_\-READ\_\-GOTO, LIST\_\-READ\_\-MOVE, and LIST\_\-READ\_\-START.