ctld.h (263725) | ctld.h (263729) |
---|---|
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 * | 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 263725 2014-03-25 12:14:48Z trasz $ | 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 | 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_NO_AUTHENTICATION 1 70#define AG_TYPE_CHAP 2 71#define AG_TYPE_CHAP_MUTUAL 3 | 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 |
72 73struct auth_group { 74 TAILQ_ENTRY(auth_group) ag_next; 75 struct conf *ag_conf; 76 char *ag_name; 77 struct target *ag_target; 78 int ag_type; 79 TAILQ_HEAD(, auth) ag_auths; --- 229 unchanged lines hidden --- | 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 --- |