aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src/WSDG_chapter_build_intro.asciidoc
blob: 96437463617854880a98c157c278025fa1fb7b92 (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
++++++++++++++++++++++++++++++++++++++
<!-- WSDG Chapter Build Introduction -->
++++++++++++++++++++++++++++++++++++++

[[ChapterBuildIntro]]

== Introduction

[[ChCodeOverview]]

=== Source overview

Wireshark consists of the following major parts:

* Packet dissection - in the '/epan/dissector' and '/plugin/*' directories

* File I/O - using Wireshark's own wiretap library

* Capture - using the libpcap/winpcap library, in '/wiretap'

* User interface - using the Qt or $$GTK+$$ and associated libraries

* Utilities - miscellaneous helper code

* Help - using an external web browser and GTK text output

[[ChCodeStyle]]

=== Coding Style

The coding style guides for Wireshark can be found in the "Code style"
section of the file 'doc/README.developer'.

[[ChCodeGLib]]

=== The GLib library

Glib is used as a basic platform abstraction library. It doesn't provide
any direct GUI functionality.

To quote the Glib Reference Manual:
____
GLib provides the core application building blocks for libraries and
applications written in C. It provides the core object system used in GNOME, the
main loop implementation, and a large set of utility functions for strings and
common data structures.
____

GLib contains lots of useful things for platform independent development.
See https://developer.gnome.org/glib/[] for details about GLib.

++++++++++++++++++++++++++++++++++++++
<!-- End of WSDG Chapter Build Introduction -->
++++++++++++++++++++++++++++++++++++++