Open SCAP Library
Loading...
Searching...
No Matches
oval_cmp_ip_address_impl.h
Go to the documentation of this file.
1
8/*
9 * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina.
10 * All Rights Reserved.
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 *
26 * Authors:
27 * Tomas Heinrich <theinric@redhat.com>
28 * Šimon Lukašík
29 */
30
31#ifndef OSCAP_OVAL_IP_ADDRESS_IMPL_H_
32#define OSCAP_OVAL_IP_ADDRESS_IMPL_H_
33
34#include "common/util.h"
35
36#include "oval_definitions.h"
37#include "oval_types.h"
38
39
50oval_result_t oval_ipaddr_cmp(int af, const char *s1, const char *s2, oval_operation_t op);
51
52
53#endif
oval_operation_t
Operations.
Definition oval_definitions.h:84
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition oval_types.h:445
oval_result_t oval_ipaddr_cmp(int af, const char *s1, const char *s2, oval_operation_t op)
Compare two IP address or address sets (CIDR).
Definition oval_cmp_ip_address.c:93