OpenVAS Scanner  22.7.9
nasl_isotime.h
Go to the documentation of this file.
1 /* SPDX-FileCopyrightText: 2023 Greenbone AG
2  *
3  * SPDX-License-Identifier: GPL-2.0-or-later
4  */
5 
13 #ifndef NASL_NASL_ISOTIME_H
14 #define NASL_NASL_ISOTIME_H
15 
16 #include "nasl_lex_ctxt.h"
17 
18 tree_cell *
19 nasl_isotime_now (lex_ctxt *lexic);
20 
21 tree_cell *
23 
24 tree_cell *
26 
27 tree_cell *
29 
30 tree_cell *
31 nasl_isotime_add (lex_ctxt *lexic);
32 
33 #endif /*NASL_NASL_ISOTIME_H*/
nasl_isotime_add
tree_cell * nasl_isotime_add(lex_ctxt *lexic)
Add days or seconds to an ISO time string.
Definition: nasl_isotime.c:727
nasl_lex_ctxt.h
nasl_isotime_scan
tree_cell * nasl_isotime_scan(lex_ctxt *lexic)
Convert a string into an ISO time string.
Definition: nasl_isotime.c:626
nasl_isotime_is_valid
tree_cell * nasl_isotime_is_valid(lex_ctxt *lexic)
Check whether an ISO time string is valid.
Definition: nasl_isotime.c:575
TC
Definition: nasl_tree.h:94
struct_lex_ctxt
Definition: nasl_lex_ctxt.h:23
nasl_isotime_now
tree_cell * nasl_isotime_now(lex_ctxt *lexic)
Return the current time in ISO format.
Definition: nasl_isotime.c:543
nasl_isotime_print
tree_cell * nasl_isotime_print(lex_ctxt *lexic)
Convert an SIO time string into a better readable string.
Definition: nasl_isotime.c:677