mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 13:19:04 +00:00
Consolidate NpingOps public data members.
This commit is contained in:
@@ -495,10 +495,6 @@ class NpingOps {
|
||||
int setDelayedRcvd(const char *str, nsock_event_id id);
|
||||
char *getDelayedRcvd(nsock_event_id *id);
|
||||
|
||||
/* Public vars */
|
||||
NpingStats stats; /* Global statistics */
|
||||
NpingTargets targets;
|
||||
|
||||
private:
|
||||
|
||||
/* Probe modes */
|
||||
@@ -670,5 +666,9 @@ class NpingOps {
|
||||
bool delayed_rcvd_str_set; /* Do we have a delayed RCVD string? */
|
||||
nsock_event_id delayed_rcvd_event; /* Nsock event for delayed RCVD */
|
||||
|
||||
public:
|
||||
NpingTargets targets;
|
||||
NpingStats stats; /* Global statistics */
|
||||
|
||||
}; /* End of class NpingOps */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user