Greenbone Vulnerability Manager
22.4.0~dev1
|
GVM management layer: License information. More...
Macros | |
#define | G_LOG_DOMAIN "md manage" |
GLib log domain. | |
Functions | |
int | manage_update_license_file (const char *new_license, char **error_msg) |
Update the license file by replacing it with the given one. More... | |
int | manage_get_license (gchar **status, theia_license_t **license_data) |
Get the current license information. More... | |
GVM management layer: License information.
GVM management layer: License information headers.
Non-SQL license information code for the GVM management layer.
Headers for non-SQL license information code for the GVM management layer.
int manage_get_license | ( | gchar ** | status, |
theia_license_t ** | license_data | ||
) |
Get the current license information.
[out] | status | The validation status (e.g. "valid", "expired"). |
[out] | license_data | The content of the license organized in a struct. |
int manage_update_license_file | ( | const char * | new_license, |
char ** | error_msg | ||
) |
Update the license file by replacing it with the given one.
[in] | new_license | The content of the new license. |
[out] | error_msg | The error message of the license update if any |