pwd.h (203964) | pwd.h (241731) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)pwd.h 8.2 (Berkeley) 1/21/94 | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)pwd.h 8.2 (Berkeley) 1/21/94 |
35 * $FreeBSD: head/include/pwd.h 203964 2010-02-16 19:39:50Z imp $ | 35 * $FreeBSD: head/include/pwd.h 241731 2012-10-19 12:44:22Z brooks $ |
36 */ 37 38#ifndef _PWD_H_ 39#define _PWD_H_ 40 41#include <sys/cdefs.h> 42#include <sys/_types.h> 43 --- 116 unchanged lines hidden (view full) --- 160int getpwuid_r(uid_t, struct passwd *, char *, size_t, 161 struct passwd **); 162#endif 163 164#if __BSD_VISIBLE 165int getpwent_r(struct passwd *, char *, size_t, struct passwd **); 166int setpassent(int); 167const char *user_from_uid(uid_t, int); | 36 */ 37 38#ifndef _PWD_H_ 39#define _PWD_H_ 40 41#include <sys/cdefs.h> 42#include <sys/_types.h> 43 --- 116 unchanged lines hidden (view full) --- 160int getpwuid_r(uid_t, struct passwd *, char *, size_t, 161 struct passwd **); 162#endif 163 164#if __BSD_VISIBLE 165int getpwent_r(struct passwd *, char *, size_t, struct passwd **); 166int setpassent(int); 167const char *user_from_uid(uid_t, int); |
168int uid_from_user(const char *, uid_t *); 169int pwcache_userdb(int (*)(int), void (*)(void), 170 struct passwd * (*)(const char *), 171 struct passwd * (*)(uid_t)); |
|
168#endif 169__END_DECLS 170 171#endif /* !_PWD_H_ */ | 172#endif 173__END_DECLS 174 175#endif /* !_PWD_H_ */ |