diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-01-30 00:50:25 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-01-30 00:50:25 +0000 |
commit | 0e64f4e5701389ae3df1f6c388173e3ec254fc89 (patch) | |
tree | 9addc41a01834232537fe2b63f5289e5d24611af /libnetfs/netfs.h | |
parent | a9947c232ecddc42551b144f119ac3b46a608d2a (diff) |
2001-01-15 Neal H Walfield <neal@cs.uml.edu>
* netfs.h: Added netfs_get_storage_info.
* file-get-storage-info.c (netfs_S_get_storage_info): Calls
netfs_get_storage_info instead of providing default response.
* file-get-storage-info-default.c: New file.
(netfs_get_storage_info): Provides default response.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r-- | libnetfs/netfs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index a3ba5203..5310040f 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -282,6 +282,22 @@ error_t netfs_get_dirents (struct iouser *cred, struct node *dir, int entry, int nentries, char **data, mach_msg_type_number_t *datacnt, vm_size_t bufsize, int *amt); + +/* The user may define this function. For a full description, + see hurd/hurd_types.h. The default response indicates a network + store. If the supplied buffers are not large enough, they should + be grown as necessary. NP is locked. */ +error_t netfs_file_get_storage_info (struct iouser *cred, + struct node *np, + mach_port_t **ports, + mach_msg_type_name_t *ports_type, + mach_msg_type_number_t *num_ports, + int **ints, + mach_msg_type_number_t *num_ints, + off_t **offsets, + mach_msg_type_number_t *num_offsets, + char **data, + mach_msg_type_number_t *data_len); /* Option parsing */ |