syslog-ng source
darwinosl-source.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023 Hofi <hofione@gmail.com>
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 DARWINOS_SOURCE_H_INCLUDED
24 #define DARWINOS_SOURCE_H_INCLUDED
25 
26 #include "logsource.h"
28 #include "msg-format.h"
29 
30 typedef struct _DarwinOSLogSourceOptions DarwinOSLogSourceOptions;
31 
32 LogDriver *darwinosl_sd_new(GlobalConfig *cfg);
33 
34 gboolean darwinosl_sd_set_filter_predicate(LogDriver *s, const gchar *type);
35 void darwinosl_sd_set_go_reverse(LogDriver *s, gboolean newValue);
36 void darwinosl_sd_set_disable_bookmarks(LogDriver *s, gboolean newValue);
37 void darwinosl_sd_set_ignore_saved_bookmarks(LogDriver *s, gboolean newValue);
38 void darwinosl_sd_set_max_bookmark_distance(LogDriver *s, guint newValue);
39 void darwinosl_sd_set_log_fetch_delay(LogDriver *s, guint new_value);
40 void darwinosl_sd_set_log_fetch_retry_delay(LogDriver *s, guint newValue);
41 void darwinosl_sd_set_log_fetch_limit(LogDriver *s, guint new_value);
42 
43 #endif /* DARWINOS_SOURCE_H_INCLUDED */
void darwinosl_sd_set_log_fetch_limit(LogDriver *s, guint new_value)
Definition: darwinosl-source.m:556
void darwinosl_sd_set_ignore_saved_bookmarks(LogDriver *s, gboolean newValue)
Definition: darwinosl-source.m:528
void darwinosl_sd_set_log_fetch_retry_delay(LogDriver *s, guint newValue)
Definition: darwinosl-source.m:549
LogDriver * darwinosl_sd_new(GlobalConfig *cfg)
Definition: darwinosl-source.m:441
void darwinosl_sd_set_go_reverse(LogDriver *s, gboolean newValue)
Definition: darwinosl-source.m:514
gboolean darwinosl_sd_set_filter_predicate(LogDriver *s, const gchar *type)
Definition: darwinosl-source.m:500
void darwinosl_sd_set_disable_bookmarks(LogDriver *s, gboolean newValue)
Definition: darwinosl-source.m:521
void darwinosl_sd_set_max_bookmark_distance(LogDriver *s, guint newValue)
Definition: darwinosl-source.m:535
void darwinosl_sd_set_log_fetch_delay(LogDriver *s, guint new_value)
Definition: darwinosl-source.m:542
Definition: darwinosl-source.m:39
GlobalConfig * cfg
Definition: test_batched_ack_tracker.c:34