OpenVAS Libraries
9.0.1
|
Protos and data structures for ISOTIME functions used by NASL scripts. More...
Go to the source code of this file.
Functions | |
tree_cell * | nasl_isotime_now (lex_ctxt *lexic) |
Return the current time in ISO format. More... | |
tree_cell * | nasl_isotime_is_valid (lex_ctxt *lexic) |
Check whether an ISO time string is valid. More... | |
tree_cell * | nasl_isotime_scan (lex_ctxt *lexic) |
Convert a string into an ISO time string. More... | |
tree_cell * | nasl_isotime_print (lex_ctxt *lexic) |
Convert an SIO time string into a better readable string. More... | |
tree_cell * | nasl_isotime_add (lex_ctxt *lexic) |
Add days or seconds to an ISO time string. More... | |
Protos and data structures for ISOTIME functions used by NASL scripts.
This file contains the protos for nasl_isotime.c
Add days or seconds to an ISO time string.
This function adds days or seconds to an ISO time string and returns the resulting time string. The number of days or seconds are given using the named parameters; if none are given nothing is added; if both are given both additions are performed. This function won't work for dates before the Gregorian calendar switch.
[in] | lexic | Lexical context of the NASL interpreter. |
Check whether an ISO time string is valid.
[in] | lexic | Lexical context of the NASL interpreter. |
Return the current time in ISO format.
[in] | lexic | Lexical context of the NASL interpreter. |
Convert an SIO time string into a better readable string.
[in] | lexic | Lexical context of the NASL interpreter. |