gvm_sentry.h
Go to the documentation of this file.
/* SPDX-FileCopyrightText: 2017-2023 Greenbone AG
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef _GVM_SENTRY_H
#define _GVM_SENTRY_H
#ifdef HAVE_SENTRY
#include <sentry.h>
#endif /* HAVE_SENTRY*/
void
gvm_sentry_init (const char *, const char *);
void
gvm_sentry_log (const char *);
void
gvm_close_sentry (void);
int
gvm_has_sentry_support (void);
#endif /* not _GVM_SENTRY_H */
gvm_sentry_log
void gvm_sentry_log(const char *)
Send a message to Sentry server if it was initialized.
Definition gvm_sentry.c:97
gvm_has_sentry_support
int gvm_has_sentry_support(void)
Check for sentry support.
Definition gvm_sentry.c:26
gvm_sentry_init
void gvm_sentry_init(const char *, const char *)
Initialize Sentry.
Definition gvm_sentry.c:74
gvm_close_sentry
void gvm_close_sentry(void)
Shutdown Sentry if it was initialized.
Definition gvm_sentry.c:122