mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Fix some NSEDoc. Some libraries had @copyright and @author right at the
top of the first comment, so the entire description got stuffed into the @author field. I also discovered a limitation in the NSEDoc parser: the first non-empty line following the first --- comment must be the "module" call, or else the block isn't recognized as belonging to a module. This was preventing @args from appearing in certain libraries. Djalal Harouni told me about this.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
---
|
||||
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
|
||||
-- @author = "Patrik Karlsson <patrik@cqure.net>"
|
||||
--
|
||||
-- PostgreSQL library supporting both version 2 and version 3 of the protocol
|
||||
-- The library currently contains the bare minimum to perform authentication
|
||||
-- Authentication is supported with or without SSL enabled and using the
|
||||
@@ -12,14 +9,17 @@
|
||||
-- ref: http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html
|
||||
-- ref: http://developer.postgresql.org/pgdocs/postgres/protocol-message-formats.html
|
||||
--
|
||||
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
|
||||
-- @author "Patrik Karlsson <patrik@cqure.net>"
|
||||
|
||||
module(... or "pgsql",package.seeall)
|
||||
|
||||
-- Version 0.3
|
||||
-- Created 02/05/2010 - v0.1 - created by Patrik Karlsson <patrik@cqure.net>
|
||||
-- Revised 02/20/2010 - v0.2 - added detectVersion to automaticaly detect and return
|
||||
-- the correct version class
|
||||
-- Revised 03/04/2010 - v0.3 - added support for trust authentication method
|
||||
|
||||
module(... or "pgsql",package.seeall)
|
||||
|
||||
require("openssl")
|
||||
require("bit")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user