1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 17:09:02 +00:00

Change the static functions getattrbyname and gettestbyname into public

methods of AVal and FingerTest, respectively.
This commit is contained in:
david
2009-12-18 00:04:35 +00:00
parent c97ea86473
commit e945eb0c8d
2 changed files with 17 additions and 18 deletions

View File

@@ -171,6 +171,7 @@ struct OS_Classification {
struct FingerTest {
const char *name;
std::vector<struct AVal> results;
const struct AVal *getattrbyname(const char *name) const;
};
struct FingerPrint {
@@ -178,6 +179,7 @@ struct FingerPrint {
char *OS_name;
std::vector<OS_Classification> OS_class;
std::vector<FingerTest> tests;
const FingerTest *gettestbyname(const char *name) const;
};
/* This structure contains the important data from the fingerprint