diff options
author | Miroslav Grepl <mgrepl@redhat.com> | 2014-04-11 09:37:53 +0200 |
---|---|---|
committer | Miroslav Grepl <mgrepl@redhat.com> | 2014-04-11 09:37:53 +0200 |
commit | 47be9ff57e72906660bb62a515222f482131e1fb (patch) | |
tree | 2cb0ef0ba48d73b1df7cc0915754a17e19464bb6 /sechecker/modules/find_port_types.h | |
download | setools-47be9ff57e72906660bb62a515222f482131e1fb.tar.gz setools-47be9ff57e72906660bb62a515222f482131e1fb.tar.xz setools-47be9ff57e72906660bb62a515222f482131e1fb.zip |
Create setools-3.3.7 git repomaster
Diffstat (limited to 'sechecker/modules/find_port_types.h')
-rw-r--r-- | sechecker/modules/find_port_types.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sechecker/modules/find_port_types.h b/sechecker/modules/find_port_types.h new file mode 100644 index 0000000..adb19bf --- /dev/null +++ b/sechecker/modules/find_port_types.h @@ -0,0 +1,50 @@ +/** + * @file + * Defines the interface for the port types utility module. + * + * @author Kevin Carr kcarr@tresys.com + * @author Jeremy A. Mowery jmowery@tresys.com + * @author Jason Tang jtang@tresys.com + * @author David Windsor dwindsor@tresys.com + * + * Copyright (C) 2005-2007 Tresys Technology, LLC + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef FIND_PORT_TYPES +#define FIND_PORT_TYPES + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include "sechecker.h" +#include <apol/policy.h> +#include <apol/context-query.h> +#include <apol/netcon-query.h> + + int find_port_types_register(sechk_lib_t * lib); + int find_port_types_init(sechk_module_t * mod, apol_policy_t * policy, void *arg); + int find_port_types_run(sechk_module_t * mod, apol_policy_t * policy, void *arg); + int find_port_types_print(sechk_module_t * mod, apol_policy_t * policy, void *arg); + int find_port_types_get_list(sechk_module_t * mod, apol_policy_t * policy, void *arg); + +#ifdef __cplusplus +} +#endif + +#endif |