Deleted Added
full compact
pwupd.h (283695) pwupd.h (283961)
1/*-
2 * Copyright (C) 1996
3 * David L. Nugent. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (C) 1996
3 * David L. Nugent. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/usr.sbin/pw/pwupd.h 283695 2015-05-29 10:07:20Z bapt $
26 * $FreeBSD: head/usr.sbin/pw/pwupd.h 283961 2015-06-03 19:08:25Z bapt $
27 */
28
29#ifndef _PWUPD_H_
30#define _PWUPD_H_
31
32#include <sys/types.h>
33#include <pwd.h>
34#include <grp.h>

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

66#define GETPWNAM(nam) PWF._getpwnam(nam)
67
68#define SETGRENT() PWF._setgrent()
69#define ENDGRENT() PWF._endgrent()
70#define GETGRENT() PWF._getgrent()
71#define GETGRGID(gid) PWF._getgrgid(gid)
72#define GETGRNAM(nam) PWF._getgrnam(nam)
73
27 */
28
29#ifndef _PWUPD_H_
30#define _PWUPD_H_
31
32#include <sys/types.h>
33#include <pwd.h>
34#include <grp.h>

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

66#define GETPWNAM(nam) PWF._getpwnam(nam)
67
68#define SETGRENT() PWF._setgrent()
69#define ENDGRENT() PWF._endgrent()
70#define GETGRENT() PWF._getgrent()
71#define GETGRGID(gid) PWF._getgrgid(gid)
72#define GETGRNAM(nam) PWF._getgrnam(nam)
73
74#define PWF_REGULAR 0
75#define PWF_ALT 1
76#define PWF_ROOTDIR 2
77
74#define PWALTDIR() PWF._altdir
75#ifndef _PATH_PWD
76#define _PATH_PWD "/etc"
77#endif
78#ifndef _GROUP
79#define _GROUP "group"
80#endif
81#ifndef _MASTERPASSWD

--- 36 unchanged lines hidden ---
78#define PWALTDIR() PWF._altdir
79#ifndef _PATH_PWD
80#define _PATH_PWD "/etc"
81#endif
82#ifndef _GROUP
83#define _GROUP "group"
84#endif
85#ifndef _MASTERPASSWD

--- 36 unchanged lines hidden ---