1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00

NSEDoc cleaning and whitespace formatting.

This commit is contained in:
djalal
2010-10-20 14:12:11 +00:00
parent 8a62c6be41
commit 05d8430ecf

View File

@@ -2332,7 +2332,7 @@ Helper = {
--- Connects to a remote NFS server --- Connects to a remote NFS server
-- --
-- This is a high level function to be used by NSE scripts -- This is a high level function to open NFS connections
-- To close the NFS connection use NfsClose() function -- To close the NFS connection use NfsClose() function
-- --
-- @param host table -- @param host table
@@ -2362,9 +2362,9 @@ Helper = {
--- Closes the NFS connection --- Closes the NFS connection
-- --
-- This is a high level function to be used by NSE scripts -- This is a high level function to close NFS connections
-- This function must be used close a NFS connection opened -- This function must be used to close the NFS connection
-- by NfsOpen() call -- opened by the NfsOpen() call
-- --
-- @param nfs_comm object returned by NfsOpen() -- @param nfs_comm object returned by NfsOpen()
-- @return true on success or nil on failure -- @return true on success or nil on failure
@@ -2687,13 +2687,12 @@ Helper = {
-- @return info table containing <code>port</code>, <code>port.number</code> -- @return info table containing <code>port</code>, <code>port.number</code>
-- <code>port.protocol</code> and <code>version</code> -- <code>port.protocol</code> and <code>version</code>
GetProgramInfo = function( host, port, program, max_version ) GetProgramInfo = function( host, port, program, max_version )
local info
local status, portmap_table = Helper.RpcInfo(host, port) local status, portmap_table = Helper.RpcInfo(host, port)
if ( not(status) ) then if ( not(status) ) then
return status, portmap_table return status, portmap_table
end end
local info = {}
-- assume failure -- assume failure
status = false status = false
@@ -2732,7 +2731,6 @@ Helper = {
return status, info return status, info
end, end,
} }
--- Static class containing mostly conversion functions --- Static class containing mostly conversion functions
@@ -3344,5 +3342,4 @@ Util =
return 0 return 0
end end
end end
} }