diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2012-09-01 02:56:17 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2012-09-01 02:56:17 +0000 |
| commit | 43981b6c531d92f2a8a84509b69c3ce7b6dd67a8 (patch) | |
| tree | 7e86bb9e8adfdd0c721dae224c762da12dfa5170 /include/rpc | |
| parent | 6a1fba355685288f546df2dca2fbcf15f98c91d9 (diff) | |
Notes
Diffstat (limited to 'include/rpc')
| -rw-r--r-- | include/rpc/auth.h | 9 | ||||
| -rw-r--r-- | include/rpc/auth_unix.h | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index d39ad1205379..5833c02e429f 100644 --- a/include/rpc/auth.h +++ b/include/rpc/auth.h @@ -243,14 +243,13 @@ __END_DECLS * System style authentication * AUTH *authunix_create(machname, uid, gid, len, aup_gids) * char *machname; - * int uid; - * int gid; + * uid_t uid; + * gid_t gid; * int len; - * int *aup_gids; + * gid_t *aup_gids; */ __BEGIN_DECLS -extern AUTH *authunix_create(char *, int, int, int, - int *); +extern AUTH *authunix_create(char *, uid_t, gid_t, int, gid_t *); extern AUTH *authunix_create_default(void); /* takes no parameters */ extern AUTH *authnone_create(void); /* takes no parameters */ __END_DECLS diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h index 48373b2c24c7..08e156900db1 100644 --- a/include/rpc/auth_unix.h +++ b/include/rpc/auth_unix.h @@ -60,10 +60,10 @@ struct authunix_parms { u_long aup_time; char *aup_machname; - int aup_uid; - int aup_gid; + uid_t aup_uid; + gid_t aup_gid; u_int aup_len; - int *aup_gids; + gid_t *aup_gids; }; #define authsys_parms authunix_parms |
