Deleted Added
full compact
libutil.h (244739) libutil.h (247919)
1/*
2 * Copyright (c) 1996 Peter Wemm <peter@FreeBSD.org>.
3 * All rights reserved.
4 * Copyright (c) 2002 Networks Associates Technology, Inc.
5 * All rights reserved.
6 *
7 * Portions of this software were developed for the FreeBSD Project by
8 * ThinkSec AS and NAI Labs, the Security Research Division of Network

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
1/*
2 * Copyright (c) 1996 Peter Wemm <peter@FreeBSD.org>.
3 * All rights reserved.
4 * Copyright (c) 2002 Networks Associates Technology, Inc.
5 * All rights reserved.
6 *
7 * Portions of this software were developed for the FreeBSD Project by
8 * ThinkSec AS and NAI Labs, the Security Research Division of Network

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * $FreeBSD: head/lib/libutil/libutil.h 244739 2012-12-27 16:51:29Z bapt $
36 * $FreeBSD: head/lib/libutil/libutil.h 247919 2013-03-07 19:00:00Z db $
37 */
38
39#ifndef _LIBUTIL_H_
40#define _LIBUTIL_H_
41
42#include <sys/cdefs.h>
43#include <sys/_types.h>
44#include <sys/_stdint.h>

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

162#endif
163
164#ifdef _GRP_H_
165int gr_copy(int __ffd, int _tfd, const struct group *_gr,
166 struct group *_old_gr);
167struct group *
168 gr_dup(const struct group *_gr);
169struct group *
37 */
38
39#ifndef _LIBUTIL_H_
40#define _LIBUTIL_H_
41
42#include <sys/cdefs.h>
43#include <sys/_types.h>
44#include <sys/_stdint.h>

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

162#endif
163
164#ifdef _GRP_H_
165int gr_copy(int __ffd, int _tfd, const struct group *_gr,
166 struct group *_old_gr);
167struct group *
168 gr_dup(const struct group *_gr);
169struct group *
170 gr_add(struct group *_gr, char *_newmember);
170 gr_add(const struct group *_gr, const char *_newmember);
171int gr_equal(const struct group *_gr1, const struct group *_gr2);
172void gr_fini(void);
173int gr_init(const char *_dir, const char *_master);
174int gr_lock(void);
175char *gr_make(const struct group *_gr);
176int gr_mkdb(void);
177struct group *
178 gr_scan(const char *_line);

--- 72 unchanged lines hidden ---
171int gr_equal(const struct group *_gr1, const struct group *_gr2);
172void gr_fini(void);
173int gr_init(const char *_dir, const char *_master);
174int gr_lock(void);
175char *gr_make(const struct group *_gr);
176int gr_mkdb(void);
177struct group *
178 gr_scan(const char *_line);

--- 72 unchanged lines hidden ---