Greenbone Vulnerability Management Libraries: util/versionutils.h Source File

Greenbone Vulnerability Management Libraries 23.1.2

versionutils.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2009-2024 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
10
11#ifndef _GVM_UTIL_VERSIONUTILS_H
12#define _GVM_UTIL_VERSIONUTILS_H
13
14#include <glib.h>
15#include <stdio.h>
16
17int
18 cmp_versions (const char *, const char *);
19
20#endif /* not _GVM_UTIL_VERSIONUTILS_H */
cmp_versions
int cmp_versions(const char *, const char *)
Compare two version strings representing a software version to decide which version is newer.
Definition versionutils.c:57