mirror of
https://github.com/nmap/nmap.git
synced 2026-06-29 12:44:00 +00:00
Remove nping/global_structures.h as none of these were used.
This commit is contained in:
parent
d8c9880cd5
commit
8d7038e51e
9 changed files with 2 additions and 42 deletions
|
|
@ -67,7 +67,7 @@ TARGET = nping
|
|||
|
||||
export SRCS = ArgParser.cc common.cc common_modified.cc nping.cc NpingOps.cc utils.cc utils_net.cc output.cc stats.cc NpingTargets.cc NpingTarget.cc EchoHeader.cc EchoServer.cc EchoClient.cc ProbeMode.cc NEPContext.cc Crypto.cc
|
||||
|
||||
export HDRS = ArgParser.h nping_config.h common.h common_modified.h nping.h NpingOps.h global_structures.h output.h utils.h utils_net.h stats.h NpingTargets.h NpingTarget.h EchoHeader.h EchoServer.h EchoClient.h ProbeMode.h NEPContext.h Crypto.h
|
||||
export HDRS = ArgParser.h nping_config.h common.h common_modified.h nping.h NpingOps.h output.h utils.h utils_net.h stats.h NpingTargets.h NpingTarget.h EchoHeader.h EchoServer.h EchoClient.h ProbeMode.h NEPContext.h Crypto.h
|
||||
|
||||
OBJS = ArgParser.o common.o common_modified.o nping.o NpingOps.o utils.o utils_net.o output.o stats.o NpingTargets.o NpingTarget.o EchoHeader.o EchoServer.o EchoClient.o ProbeMode.o NEPContext.o Crypto.o
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@
|
|||
#define MAX_ICMP_ADVERT_ENTRIES 128
|
||||
|
||||
#include "nping.h"
|
||||
#include "global_structures.h"
|
||||
#include "nsock.h"
|
||||
#include "stats.h"
|
||||
#include "NpingTargets.h"
|
||||
#include <string>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@
|
|||
|
||||
#include "nping.h"
|
||||
#include "NpingOps.h"
|
||||
#include "global_structures.h"
|
||||
#include "output.h"
|
||||
#include "nbase.h"
|
||||
#include "utils.h"
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
#ifndef GLOBAL_STRUCTURES_H
|
||||
#define GLOBAL_STRUCTURES_H
|
||||
|
||||
#include "nsock.h"
|
||||
#include "nbase.h"
|
||||
|
||||
|
||||
typedef struct service_lookup {
|
||||
char *name;
|
||||
u8 proto;
|
||||
u16 portno;
|
||||
} service_lookup;
|
||||
|
||||
|
||||
|
||||
typedef struct m_data {
|
||||
nsock_pool nsp;
|
||||
nsock_iod nsi;
|
||||
int state;
|
||||
int protocol;
|
||||
unsigned short port;
|
||||
struct in_addr ip;
|
||||
int attempts;
|
||||
int max_attempts; /* how many attempts in one connection */
|
||||
char *username;
|
||||
char *password;
|
||||
char *buf;
|
||||
int bufsize;
|
||||
} m_data;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
|
@ -69,7 +69,6 @@
|
|||
#include "utils.h"
|
||||
#include "utils_net.h"
|
||||
#include "nsock.h"
|
||||
#include "global_structures.h"
|
||||
#include "ArgParser.h"
|
||||
#include "EchoHeader.h"
|
||||
#include "EchoClient.h"
|
||||
|
|
|
|||
|
|
@ -159,7 +159,6 @@
|
|||
<ClInclude Include="EchoClient.h" />
|
||||
<ClInclude Include="EchoHeader.h" />
|
||||
<ClInclude Include="EchoServer.h" />
|
||||
<ClInclude Include="global_structures.h" />
|
||||
<ClInclude Include="NEPContext.h" />
|
||||
<ClInclude Include="nping.h" />
|
||||
<ClInclude Include="NpingOps.h" />
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@
|
|||
#include "nping.h"
|
||||
#include "utils.h"
|
||||
#include "NpingOps.h"
|
||||
#include "global_structures.h"
|
||||
#include "output.h"
|
||||
#include "nbase.h"
|
||||
#include "pcap.h"
|
||||
|
|
|
|||
|
|
@ -73,8 +73,6 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "global_structures.h"
|
||||
|
||||
/* Function prototypes */
|
||||
bool contains(const char *source, const char *substring);
|
||||
bool meansRandom(const char *source);
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@
|
|||
#include "utils.h"
|
||||
#include "utils_net.h"
|
||||
#include "NpingOps.h"
|
||||
#include "global_structures.h"
|
||||
#include "output.h"
|
||||
#include "nbase.h"
|
||||
#include "pcap.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue