1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-09 15:06:35 +00:00
Files
nmap/nsock/examples
dmiller 9c36367eea header file cleanup
see http://seclists.org/nmap-dev/2013/q4/168

Move some includes out of nmap.h: nmap.h gets included lots of places,
and unconditionally included math.h, ctype.h, errno.h, stdio.h,
sys/stat.h, fcntl.h, sys/types.h, and stdarg.h. This commit moves those
includes into the .cc files where they are necessary and out of nmap.h

Remove redundant include global_structures.h, included from nmap.h

Removed redundant code included from nmap.h

Removing #include nbase.h when nmap.h is included (redundant)

Remove duplicate #include lines

Add ifndef guards to a few .h files
2013-11-26 20:55:29 +00:00
..
2013-11-26 20:55:29 +00:00
2013-11-26 20:55:29 +00:00

$Id$

Here are some example programs, they weren't really written to
present nice and elegant use of the nsock library.  They were
actually written for my testing purposes during development.  So don't
be surprised if you see code that looks strange, or even downright
evil -- I'm testing the code reliability.

-Fyodor