ctld.h (263723) | ctld.h (263724) |
---|---|
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 263723 2014-03-25 12:10:30Z trasz $ | 29 * $FreeBSD: stable/10/usr.sbin/ctld/ctld.h 263724 2014-03-25 12:12:37Z 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> --- 154 unchanged lines hidden (view full) --- 192struct conf *conf_new_from_file(const char *path); 193struct conf *conf_new_from_kernel(void); 194void conf_delete(struct conf *conf); 195int conf_verify(struct conf *conf); 196 197struct auth_group *auth_group_new(struct conf *conf, const char *name); 198void auth_group_delete(struct auth_group *ag); 199struct auth_group *auth_group_find(struct conf *conf, const char *name); | 30 */ 31 32#ifndef CTLD_H 33#define CTLD_H 34 35#include <sys/queue.h> 36#include <stdbool.h> 37#include <libutil.h> --- 154 unchanged lines hidden (view full) --- 192struct conf *conf_new_from_file(const char *path); 193struct conf *conf_new_from_kernel(void); 194void conf_delete(struct conf *conf); 195int conf_verify(struct conf *conf); 196 197struct auth_group *auth_group_new(struct conf *conf, const char *name); 198void auth_group_delete(struct auth_group *ag); 199struct auth_group *auth_group_find(struct conf *conf, const char *name); |
200int auth_group_set_type_str(struct auth_group *ag, 201 const char *type); |
|
200 201const struct auth *auth_new_chap(struct auth_group *ag, 202 const char *user, const char *secret); 203const struct auth *auth_new_chap_mutual(struct auth_group *ag, 204 const char *user, const char *secret, 205 const char *user2, const char *secret2); 206const struct auth *auth_find(struct auth_group *ag, 207 const char *user); --- 96 unchanged lines hidden --- | 202 203const struct auth *auth_new_chap(struct auth_group *ag, 204 const char *user, const char *secret); 205const struct auth *auth_new_chap_mutual(struct auth_group *ag, 206 const char *user, const char *secret, 207 const char *user2, const char *secret2); 208const struct auth *auth_find(struct auth_group *ag, 209 const char *user); --- 96 unchanged lines hidden --- |