Imported Upstream version 2.4.3
[platform/upstream/audit.git] / audisp / plugins / zos-remote / zos-remote-config.h
1 /***************************************************************************
2  *   Copyright (C) 2007 International Business Machines  Corp.             *
3  *   All Rights Reserved.                                                  *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; either version 2 of the License, or     *
8  *   (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                         *
17  *   Free Software Foundation, Inc.,                                       *
18  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19  *                                                                         *
20  * Authors:                                                                *
21  *   Klaus Heinrich Kiwi <klausk@br.ibm.com>                               *
22  *   based on code by Steve Grubb <sgrubb@redhat.com>                      *
23  ***************************************************************************/
24
25 #ifndef _ZOS_REMOTE_CONFIG_H
26 #define _ZOS_REMOTE_CONFIG_H
27
28
29 /***************************************************************************
30  *   z/OS Remote-services Plugin configuration                             *
31  ***************************************************************************/
32 typedef struct plugin_conf
33 {
34         char *name;
35         char *server;
36         unsigned int port;
37         char *user;
38         char *password;
39         long timeout;
40         unsigned int q_depth;
41         unsigned int counter;
42 } plugin_conf_t;
43
44 void plugin_clear_config(plugin_conf_t *);
45 int plugin_load_config(plugin_conf_t *, const char *);
46 void plugin_free_config(plugin_conf_t *);
47
48 #endif                          /* _ZOS_REMOTE_CONFIG_H */