Greenbone Vulnerability Management Libraries  22.8.0
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 
22 void
23 gvm_sentry_init (const char *, const char *);
24 
25 void
26 gvm_sentry_log (const char *);
27 
28 void
29 gvm_close_sentry (void);
30 
31 int
33 
34 #endif /* not _GVM_SENTRY_H */
gvm_sentry_init
void gvm_sentry_init(const char *, const char *)
Initialize Sentry.
Definition: gvm_sentry.c:74
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_close_sentry
void gvm_close_sentry(void)
Shutdown Sentry if it was initialized.
Definition: gvm_sentry.c:122