Deleted Added
sdiff udiff text old ( 263725 ) new ( 263729 )
full compact
1/*-
2 * Copyright (c) 2012 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Edward Tomasz Napierala under sponsorship
6 * from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: stable/10/usr.sbin/ctld/ctld.h 263729 2014-03-25 12:22:30Z trasz $
30 */
31
32#ifndef CTLD_H
33#define CTLD_H
34
35#include <sys/queue.h>
36#include <stdbool.h>
37#include <libutil.h>

--- 23 unchanged lines hidden (view full) ---

61
62struct auth_portal {
63 TAILQ_ENTRY(auth_portal) ap_next;
64 struct auth_group *ap_auth_group;
65 char *ap_initator_portal;
66};
67
68#define AG_TYPE_UNKNOWN 0
69#define AG_TYPE_DENY 1
70#define AG_TYPE_NO_AUTHENTICATION 2
71#define AG_TYPE_CHAP 3
72#define AG_TYPE_CHAP_MUTUAL 4
73
74struct auth_group {
75 TAILQ_ENTRY(auth_group) ag_next;
76 struct conf *ag_conf;
77 char *ag_name;
78 struct target *ag_target;
79 int ag_type;
80 TAILQ_HEAD(, auth) ag_auths;

--- 229 unchanged lines hidden ---