syslog-ng source
azure-auth-header.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 One Identity
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 2 as published
6  * by the Free Software Foundation, or (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16  *
17  * As an additional exemption you are allowed to compile & link against the
18  * OpenSSL libraries as published by the OpenSSL project. See the file
19  * COPYING for details.
20  *
21  */
22 
23 #ifndef AZURE_AUTH_HEADER_H
24 #define AZURE_AUTH_HEADER_H
25 
26 #include "driver.h"
27 
28 typedef struct _AzureAuthHeaderPlugin AzureAuthHeaderPlugin;
29 
30 AzureAuthHeaderPlugin *azure_auth_header_plugin_new(void);
31 
32 gboolean azure_auth_header_secret_set_from_b64str(AzureAuthHeaderPlugin *self, const gchar *b64secret);
33 void azure_auth_header_workspace_id_set(AzureAuthHeaderPlugin *self, const gchar *workspace_id);
34 void azure_auth_header_method_set(AzureAuthHeaderPlugin *self, const gchar *method);
35 void azure_auth_header_path_set(AzureAuthHeaderPlugin *self, const gchar *path);
36 void azure_auth_header_content_type_set(AzureAuthHeaderPlugin *self, const gchar *content_type);
37 
38 #endif
void azure_auth_header_workspace_id_set(AzureAuthHeaderPlugin *self, const gchar *workspace_id)
Definition: azure-auth-header.c:146
AzureAuthHeaderPlugin * azure_auth_header_plugin_new(void)
Definition: azure-auth-header.c:218
gboolean azure_auth_header_secret_set_from_b64str(AzureAuthHeaderPlugin *self, const gchar *b64secret)
Definition: azure-auth-header.c:137
void azure_auth_header_content_type_set(AzureAuthHeaderPlugin *self, const gchar *content_type)
Definition: azure-auth-header.c:167
void azure_auth_header_method_set(AzureAuthHeaderPlugin *self, const gchar *method)
Definition: azure-auth-header.c:153
void azure_auth_header_path_set(AzureAuthHeaderPlugin *self, const gchar *path)
Definition: azure-auth-header.c:160
Definition: azure-auth-header.c:35
gchar * content_type
Definition: azure-auth-header.c:44
gchar * method
Definition: azure-auth-header.c:42
gchar * path
Definition: azure-auth-header.c:43
gchar * workspace_id
Definition: azure-auth-header.c:41