syslog-ng source
cmdline.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011-2015 Balabit
3
* Copyright (c) 2011-2014 Gergely Nagy <algernon@balabit.hu>
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library 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 GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; 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
#ifndef VALUE_PAIRS_CMDLINE_H_INCLUDED
25
#define VALUE_PAIRS_CMDLINE_H_INCLUDED 1
26
27
#include "
value-pairs/value-pairs.h
"
28
29
typedef
struct
ValuePairsOptionalOptions_
30
{
31
gboolean
enable_include_bytes
;
32
}
ValuePairsOptionalOptions
;
33
34
ValuePairs *
value_pairs_new_from_cmdline
(GlobalConfig *
cfg
,
35
gint *
argc
, gchar ***
argv
,
36
const
ValuePairsOptionalOptions
*optional_options,
37
GOptionGroup *custom_options,
38
GError **error);
39
40
#endif
value_pairs_new_from_cmdline
ValuePairs * value_pairs_new_from_cmdline(GlobalConfig *cfg, gint *argc, gchar ***argv, const ValuePairsOptionalOptions *optional_options, GOptionGroup *custom_options, GError **error)
Definition:
cmdline.c:534
argc
gint argc
Definition:
gprocess.c:130
argv
gchar ** argv
Definition:
gprocess.c:131
ValuePairsOptionalOptions
Definition:
cmdline.h:30
ValuePairsOptionalOptions::enable_include_bytes
gboolean enable_include_bytes
Definition:
cmdline.h:31
cfg
GlobalConfig * cfg
Definition:
test_batched_ack_tracker.c:34
value-pairs.h
lib
value-pairs
cmdline.h
Generated by
1.9.1