mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
const all the things!
This commit is contained in:
4
osscan.h
4
osscan.h
@@ -149,14 +149,14 @@ struct FingerPrintDB {
|
||||
|
||||
/********************** PROTOTYPES ***********************************/
|
||||
|
||||
const char *fp2ascii(FingerPrint *FP);
|
||||
const char *fp2ascii(const FingerPrint *FP);
|
||||
|
||||
/* Parses a single fingerprint from the memory region given. If a
|
||||
non-null fingerprint is returned, the user is in charge of freeing it
|
||||
when done. This function does not require the fingerprint to be 100%
|
||||
complete since it is used by scripts such as scripts/fingerwatch for
|
||||
which some partial fingerpritns are OK. */
|
||||
FingerPrint *parse_single_fingerprint(char *fprint_orig);
|
||||
FingerPrint *parse_single_fingerprint(const char *fprint_orig);
|
||||
|
||||
/* These functions take a file/db name and open+parse it, returning an
|
||||
(allocated) FingerPrintDB containing the results. They exit with
|
||||
|
||||
Reference in New Issue
Block a user