1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title>Coding practices
</title>
8 <h1>Coding practices
</h1>
11 The Linux Trace Toolkit viewer and libltt libraries use the coding standards
12 of the underlying
<A HREF=
"www.gtk.org">glib and gtk libraries
</A>.
16 <LI>lower case file names without underscore but with an occasional dash,
17 <LI>lower case function names with underscores separating words,
18 <LI>type names starting with a capital letter and with capital letters
23 Each file in the libltt library should contain a
24 <A HREF=library-header.txt
">LGPL header</A> while each file in the LTT viewer
26 <A HREF=library-header.txt">GPL header
</A>.