ANSIfy, libutil part is done.

This commit is contained in:
ad 2000-07-18 15:29:47 +00:00
parent 7d1b0e5b39
commit 3ac8ce9b63
1 changed files with 13 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: login_cap.h,v 1.2 2000/02/04 02:17:16 mjl Exp $ */
/* $NetBSD: login_cap.h,v 1.3 2000/07/18 15:29:47 ad Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@ -62,20 +62,19 @@ typedef struct {
__BEGIN_DECLS
struct passwd;
login_cap_t *login_getclass __P((char *));
login_cap_t *login_getpwclass __P((const struct passwd *));
void login_close __P((login_cap_t *));
int login_getcapbool __P((login_cap_t *, char *, u_int));
quad_t login_getcapnum __P((login_cap_t *, char *, quad_t, quad_t));
quad_t login_getcapsize __P((login_cap_t *, char *, quad_t, quad_t));
char *login_getcapstr __P((login_cap_t *, char *, char *, char *));
quad_t login_getcaptime __P((login_cap_t *, char *, quad_t, quad_t));
login_cap_t *login_getclass(char *);
login_cap_t *login_getpwclass(const struct passwd *);
void login_close(login_cap_t *);
int login_getcapbool(login_cap_t *, char *, u_int);
quad_t login_getcapnum(login_cap_t *, char *, quad_t, quad_t);
quad_t login_getcapsize(login_cap_t *, char *, quad_t, quad_t);
char *login_getcapstr(login_cap_t *, char *, char *, char *);
quad_t login_getcaptime(login_cap_t *, char *, quad_t, quad_t);
int secure_path __P((char *));
int setclasscontext __P((char *, u_int));
int setusercontext __P((login_cap_t *, struct passwd *, uid_t, u_int));
int secure_path(char *);
int setclasscontext(char *, u_int);
int setusercontext(login_cap_t *, struct passwd *, uid_t, u_int);
__END_DECLS
#endif
#endif /* !_LOGIN_CAP_H_ */