#ifndef SENTRY_OPTIONS_H_INCLUDED
#define SENTRY_OPTIONS_H_INCLUDED
#include "sentry_boot.h"
#include "sentry_logger.h"
#include "sentry_utils.h"
#define SENTRY_DEFAULT_SHUTDOWN_TIMEOUT 2000
typedef struct sentry_path_s sentry_path_t;
typedef struct sentry_run_s sentry_run_t;
struct sentry_backend_s;
typedef struct sentry_attachment_s sentry_attachment_t;
struct sentry_attachment_s {
sentry_path_t *path;
sentry_attachment_t *next;
};
typedef struct sentry_options_s {
double sample_rate;
sentry_dsn_t *dsn;
char *release;
char *environment;
char *dist;
char *http_proxy;
char *ca_certs;
char *transport_thread_name;
sentry_path_t *database_path;
sentry_path_t *handler_path;
sentry_logger_t logger;
size_t max_breadcrumbs;
bool debug;
bool auto_session_tracking;
bool require_user_consent;
bool symbolize_stacktraces;
bool system_crash_reporter_enabled;
sentry_attachment_t *attachments;
sentry_run_t *run;
sentry_transport_t *transport;
sentry_event_function_t before_send_func;
void *before_send_data;
struct sentry_backend_s *backend;
long user_consent;
long refcount;
} sentry_options_t;
sentry_options_t *sentry__options_incref(sentry_options_t *options);
#endif