syslog-ng source
bigquery-dest.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2024 Axoflow
3  * Copyright (c) 2024 Attila Szakacs <attila.szakacs@axoflow.com>
4  * Copyright (c) 2023 László Várady
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * As an additional exemption you are allowed to compile & link against the
20  * OpenSSL libraries as published by the OpenSSL project. See the file
21  * COPYING for details.
22  *
23  */
24 
25 #ifndef BIGQUERY_DEST_H
26 #define BIGQUERY_DEST_H
27 
28 #include "syslog-ng.h"
29 
30 #include "compat/cpp-start.h"
31 #include "driver.h"
32 #include "template/templates.h"
33 
34 LogDriver *bigquery_dd_new(GlobalConfig *cfg);
35 
36 void bigquery_dd_set_project(LogDriver *d, const gchar *project);
37 void bigquery_dd_set_dataset(LogDriver *d, const gchar *dataset);
38 void bigquery_dd_set_table(LogDriver *d, const gchar *table);
39 
40 #include "compat/cpp-end.h"
41 
42 #endif
LogDriver * bigquery_dd_new(GlobalConfig *cfg)
void bigquery_dd_set_project(LogDriver *d, const gchar *project)
void bigquery_dd_set_dataset(LogDriver *d, const gchar *dataset)
void bigquery_dd_set_table(LogDriver *d, const gchar *table)
GlobalConfig * cfg
Definition: test_batched_ack_tracker.c:34