Greenbone Vulnerability Management Libraries 22.12.2
gvm_sentry.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2017-2023 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
15#ifndef _GVM_SENTRY_H
16#define _GVM_SENTRY_H
17
18#ifdef HAVE_SENTRY
19#include <sentry.h>
20#endif /* HAVE_SENTRY*/
21
22void
23gvm_sentry_init (const char *, const char *);
24
25void
26gvm_sentry_log (const char *);
27
28void
29gvm_close_sentry (void);
30
31int
33
34#endif /* not _GVM_SENTRY_H */
void gvm_sentry_log(const char *)
Send a message to Sentry server if it was initialized.
Definition gvm_sentry.c:97
int gvm_has_sentry_support(void)
Check for sentry support.
Definition gvm_sentry.c:26
void gvm_sentry_init(const char *, const char *)
Initialize Sentry.
Definition gvm_sentry.c:74
void gvm_close_sentry(void)
Shutdown Sentry if it was initialized.
Definition gvm_sentry.c:122