Nmap Development mailing list archives

Re: [NSE] Named pipe library


From: Chris Woodbury <chris3e3 () gmail com>
Date: Fri, 11 Feb 2011 01:27:41 -0600

On Fri, Feb 11, 2011 at 12:48 AM, Patrick Donnelly <batrick () batbytes com> wrote:
This library needs either a different name or we should start thinking
about making sub-modules for our libraries (e.g. smb.namedpipe). I
thought at first this was a wrapper around mkfifo ;).

--
- Patrick Donnelly


I, for one, think that sub-modules could be a great approach for
libraries, as long as people don't mind number-of-files bloat. There
are at least a few libraries out there that are into thousands of
lines and could probably benefit from sub-modules for better
organization/clarity. On a different tack, this could be a handy
approach for separating the front-end from the back-end - the
functions and such that make up the intended interface of the library
could be kept in the top-level, while back-end helper functions could
be moved into one or more sub-modules, which would make the library as
a whole easier to use.

That said, I'm fairly new to Lua and NSE, so I may be completely off :)

-chris
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: