summaryrefslogtreecommitdiff
path: root/docbook/edg_src/EDG_chapter_build_intro.xml
blob: 811c8d7802ddeb669a908505eaced0b02ec52101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!-- EDG Chapter Build Introduction -->
<!-- $Id$ -->

<chapter id="ChapterBuildIntro">
  <title>Introduction</title>
  
  <section id="ChCodeOverview">
	<title>Source overview</title>
	<para>
	Ethereal consists of the following major parts:
	<itemizedlist>
	<listitem><para>
	Packet dissection - in the / and /epan directory
	</para></listitem>
	<listitem><para>
	File I/O - using Ethereal's own wiretap library
	</para></listitem>
	<listitem><para>
	Capture - using the libpcap/winpcap library
	</para></listitem>
	<listitem><para>
	User interface - using the GTK (and corresponding) libraries
	</para></listitem>
	<listitem><para>
	Help - using an external webbrowser and GTK text output
	</para></listitem>
	</itemizedlist>
	Beside this, some other minor parts and additional helpers exist.
	</para>
	<para>
	Currently there's no clean seperation of the modules in the code. 
	However, as the development team switched from CVS to SVN some time ago, 
	directory cleanup are much easier now. So there's a chance that
	the directory structure will become clean in the future.
	</para>
  </section>

  <section id="ChCodeStyle">
	<title>Coding styleguides</title>
	<para>
	The coding styleguides for Wireshark can be found in the "Code style" 
	section of the file <filename>doc/README.developer</filename>.
	</para>
  </section>

  <section id="ChCodeGLib">
	<title>The GLib library</title>
	<para>
	Glib is used as a basic platform abstraction library, it's not related to
	GUI things. 
	</para>
	<para>
	To quote the Glib documentation: <quote>GLib is a general-purpose utility 
	library, which provides many useful 
	data types, macros, type conversions, string utilities, file utilities, 
	a main loop abstraction, and so on. It works on many UNIX-like platforms, 
	Windows, OS/2 and BeOS. GLib is released under the GNU Library General 
	Public License (GNU LGPL).</quote>
	</para>
	<para>
	GLib contains lot's of useful things for platform independant development.
	See XXX for details about GLib.
	</para>
  </section>

</chapter>
<!-- End of EDG Chapter Build Introduction -->