ctld.h (275244) | ctld.h (275245) |
---|---|
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 275244 2014-11-29 15:32:15Z trasz $ | 29 * $FreeBSD: stable/10/usr.sbin/ctld/ctld.h 275245 2014-11-29 15:34:17Z trasz $ |
30 */ 31 32#ifndef CTLD_H 33#define CTLD_H 34 35#include <sys/queue.h> 36#ifdef ICL_KERNEL_PROXY 37#include <sys/types.h> --- 223 unchanged lines hidden (view full) --- 261struct conf *conf_new_from_kernel(void); 262void conf_delete(struct conf *conf); 263int conf_verify(struct conf *conf); 264 265struct auth_group *auth_group_new(struct conf *conf, const char *name); 266void auth_group_delete(struct auth_group *ag); 267struct auth_group *auth_group_find(const struct conf *conf, 268 const char *name); | 30 */ 31 32#ifndef CTLD_H 33#define CTLD_H 34 35#include <sys/queue.h> 36#ifdef ICL_KERNEL_PROXY 37#include <sys/types.h> --- 223 unchanged lines hidden (view full) --- 261struct conf *conf_new_from_kernel(void); 262void conf_delete(struct conf *conf); 263int conf_verify(struct conf *conf); 264 265struct auth_group *auth_group_new(struct conf *conf, const char *name); 266void auth_group_delete(struct auth_group *ag); 267struct auth_group *auth_group_find(const struct conf *conf, 268 const char *name); |
269int auth_group_set_type_str(struct auth_group *ag, | 269int auth_group_set_type(struct auth_group *ag, |
270 const char *type); 271 272const struct auth *auth_new_chap(struct auth_group *ag, 273 const char *user, const char *secret); 274const struct auth *auth_new_chap_mutual(struct auth_group *ag, 275 const char *user, const char *secret, 276 const char *user2, const char *secret2); 277const struct auth *auth_find(const struct auth_group *ag, --- 16 unchanged lines hidden (view full) --- 294 const struct sockaddr_storage *sa); 295 296struct portal_group *portal_group_new(struct conf *conf, const char *name); 297void portal_group_delete(struct portal_group *pg); 298struct portal_group *portal_group_find(const struct conf *conf, 299 const char *name); 300int portal_group_add_listen(struct portal_group *pg, 301 const char *listen, bool iser); | 270 const char *type); 271 272const struct auth *auth_new_chap(struct auth_group *ag, 273 const char *user, const char *secret); 274const struct auth *auth_new_chap_mutual(struct auth_group *ag, 275 const char *user, const char *secret, 276 const char *user2, const char *secret2); 277const struct auth *auth_find(const struct auth_group *ag, --- 16 unchanged lines hidden (view full) --- 294 const struct sockaddr_storage *sa); 295 296struct portal_group *portal_group_new(struct conf *conf, const char *name); 297void portal_group_delete(struct portal_group *pg); 298struct portal_group *portal_group_find(const struct conf *conf, 299 const char *name); 300int portal_group_add_listen(struct portal_group *pg, 301 const char *listen, bool iser); |
302int portal_group_set_filter_str(struct portal_group *pg, | 302int portal_group_set_filter(struct portal_group *pg, |
303 const char *filter); 304 305int isns_new(struct conf *conf, const char *addr); 306void isns_delete(struct isns *is); 307void isns_register(struct isns *isns, struct isns *oldisns); 308void isns_check(struct isns *isns); 309void isns_deregister(struct isns *isns); 310 --- 81 unchanged lines hidden --- | 303 const char *filter); 304 305int isns_new(struct conf *conf, const char *addr); 306void isns_delete(struct isns *is); 307void isns_register(struct isns *isns, struct isns *oldisns); 308void isns_check(struct isns *isns); 309void isns_deregister(struct isns *isns); 310 --- 81 unchanged lines hidden --- |