diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 09:21:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 09:21:35 +0000 |
commit | 6b1af139bf2624830573d5fbfb75b2137472a7e6 (patch) | |
tree | d79c57ee2811a5bfcc0a5d51925b624008de09e4 /libnetfs | |
parent | f68623e0f37deb741f9e8c331d898de7a28dd22b (diff) |
2002-05-07 Roland McGrath <roland@frob.com>
* file-exec.c (netfs_S_file_exec): u_int -> size_t in decl.
* netfs.h (netfs_append_args): unsigned -> size_t in decl.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/file-exec.c | 16 | ||||
-rw-r--r-- | libnetfs/netfs.h | 30 |
2 files changed, 23 insertions, 23 deletions
diff --git a/libnetfs/file-exec.c b/libnetfs/file-exec.c index 9839c694..73c125ba 100644 --- a/libnetfs/file-exec.c +++ b/libnetfs/file-exec.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1996,97,2000,01 Free Software Foundation, Inc. + Copyright (C) 1996,97,2000,01,02 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -35,19 +35,19 @@ netfs_S_file_exec (struct protid *cred, task_t task, int flags, char *argv, - u_int argvlen, + size_t argvlen, char *envp, - u_int envplen, + size_t envplen, mach_port_t *fds, - u_int fdslen, + size_t fdslen, mach_port_t *portarray, - u_int portarraylen, + size_t portarraylen, int *intarray, - u_int intarraylen, + size_t intarraylen, mach_port_t *deallocnames, - u_int deallocnameslen, + size_t deallocnameslen, mach_port_t *destroynames, - u_int destroynameslen) + size_t destroynameslen) { struct node *np; error_t err; diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index 5310040f..0379ce91 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -1,6 +1,6 @@ -/* +/* - Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000 Free Software Foundation + Copyright (C) 1994,95,96,97,99,2000,02 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -25,7 +25,7 @@ #include <assert.h> /* This library supports client-side network file system - implementations. It is analogous to the diskfs library provided for + implementations. It is analogous to the diskfs library provided for disk-based filesystems. */ struct argp; @@ -33,13 +33,13 @@ struct argp; struct protid { struct port_info pi; - + /* User identification */ struct iouser *user; - + /* Object this refers to */ struct peropen *po; - + /* Shared memory I/O information. */ memory_object_t shared_object; struct shared_io *mapped; @@ -68,22 +68,22 @@ struct peropen struct node { struct node *next, **prevp; - + /* Protocol specific stuff; defined by user. */ struct netnode *nn; /* The stat information for this particular node. */ struct stat nn_stat; - + struct mutex lock; - + /* The number of references to this node. */ int references; - + mach_port_t sockaddr; int owner; - + struct transbox transbox; struct lock_box userlock; @@ -184,7 +184,7 @@ error_t netfs_attempt_syncfs (struct iouser *cred, int wait); name was not found, then return ENOENT. On any error, clear *NP. (*NP, if found, should be locked and a reference to it generated. This call should unlock DIR no matter what.) */ -error_t netfs_attempt_lookup (struct iouser *user, struct node *dir, +error_t netfs_attempt_lookup (struct iouser *user, struct node *dir, char *name, struct node **np); /* The user must define this function. Delete NAME in DIR (which is @@ -196,7 +196,7 @@ error_t netfs_attempt_unlink (struct iouser *user, struct node *dir, directory FROMDIR to TODIR. Note that neither of the specific nodes are locked. */ error_t netfs_attempt_rename (struct iouser *user, struct node *fromdir, - char *fromname, struct node *todir, + char *fromname, struct node *todir, char *toname, int excl); /* The user must define this function. Attempt to create a new @@ -207,7 +207,7 @@ error_t netfs_attempt_mkdir (struct iouser *user, struct node *dir, /* The user must define this function. Attempt to remove directory named NAME in DIR (which is locked) for USER. */ -error_t netfs_attempt_rmdir (struct iouser *user, +error_t netfs_attempt_rmdir (struct iouser *user, struct node *dir, char *name); @@ -309,7 +309,7 @@ error_t netfs_set_options (char *argz, size_t argz_len); /* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated list of the arguments to this translator. The default definition of this routine simply calls netfs_append_std_options. */ -error_t netfs_append_args (char **argz, unsigned *argz_len); +error_t netfs_append_args (char **argz, size_t *argz_len); /* If this is defined or set to a pointer to an argp structure, it will be used by the default netfs_set_options to handle runtime option parsing. |