Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* netfs.h: Fix comment for netfs_nref (finally).
|
|
* netfs.h: Documentation fixes.
|
|
2000-12-30 Marcus Brinkmann <marcus@gnu.org>
* netfs.h: Revert doc "fix" of netfs_attempt_chmod.
|
|
* netfs.h: Merge Neals words into documentation of netfs_nput,
netfs_nrele, netfs_nref.
|
|
* netfs.h (struct node): Adjust comment fixes by last change
to be more in line with similar comments elsewhere.
* make-node.c (netfs_make_node): Return 0 if malloc does.
Reported by Neal H Walfield <neal@cs.uml.edu>.
2000-12-29 Neal H Walfield <neal@cs.uml.edu>
* dir-lookup.c (netfs_S_dir_lookup): Do not bother zeroing np, it
happens later anyway. Replace bcopy with memcpy.
* file-get-translator.c (netfs_S_file_get_translator): Replace
bcopy with memcpy.
* io-seek.c (netfs_S_io_seek): Only get the lock if we need it.
* io-stat.c (netfs_S_io_stat): Replace bcopy with memcpy.
* io-write.c (netfs_S_io_write): Wait until the lock is needed.
* netfs.h: Complete documentation revision. The locking protocol
is now very explicit.
* nput.c (netfs_nput): Added comment.
* nrele.c (netfs_nrele): Likewise.
* set-get-trans.c: Likewise.
|
|
* nref.c: New file; guts from netfs.h.
* nrele.c: Likewise.
* nput.c: Likewise.
* netfs.h (netfs_nref, netfs_nrele, netfs_nput): Replace inline
definitions with normal declarations.
(NETFS_EI): Remove macro.
* netfs.c: Deleted file.
* Makefile (OTHERSRCS): Add nref.c, nrele.c, nput.c. Remove
netfs.c.
|
|
* file-utimes.c (netfs_S_file_utimes): Understand new semantics
for setting to current time.
* netfs.h (netfs_attempt_utimes): Update documentation.
|
|
New declaration.
(struct node):
Remove istranslated field.
|
|
Add shadow_root_parent & shadow_root fields.
Removed depth field.
Rename dotdotnode field to root_parent.
(netfs_make_peropen):
Add and use CONTEXT parameter.
|
|
* netfs.h (netfs_report_access): Return error_t.
* file-check-access.c (netfs_S_file_check_access): Deal with
errors from netfs_report_access.
Sat Nov 16 17:17:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* io-restrict-auth.c (netfs_S_io_restrict_auth): Fix several typos.
* fsys-getroot.c (netfs_S_fsys_getroot): iohelp_make_iouser ->
iohelp_create_iouser. New arg syntax for fshelp_fetch_root.
Fri Nov 15 13:39:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* netfs.h (struct protid): Replace member `credential' with `user'
of new type. All uses of old `credential' member changed to
use `user' member.
Change all functions that used to take `struct netcred' args to
take `struct iouser' args. All callers changed.
(netfs_copy_credential, netfs_dropy_credential,
netfs_make_credential): Delete functions.
* dir-lookup.c (netfs_S_dir_lookup): netfs_copy_credential ->
iohelp_dup_iouser.
* dir-mkfile.c (netfs_S_dir_mkfile): Likewise.
* file-exec.c (netfs_S_file_exec): Likewise.
* io-duplicate.c (netfs_S_io_duplicate): Likewise.
* release-protid.c (netfs_release_protid): netfs_drop_credential
-> iohelp_free_iouser.
* dir-lookup.c (netfs_S_dir_lookup): Omit uses of
netfs_interpret_credential; do it with new structures.
* file-exec.c (netfs_S_file_exec): Likewise.
* file-getcontrol.c (netfs_S_file_getcontrol): Likewise.
* file-set-translator.c (netfs_S_file_set_translator): Likewise;
using fshelp_isowner for permission check.
* io-restrict-auth.c (netfs_S_io_restrict_auth): Likewise; guts
rewritten.
* dir-lookup.c (netfs_S_dir_lookup): netfs_make_credential ->
iohelp_make_iouser.
* fsys-getroot.c (netfs_S_fsys_getroot): Likewise.
* fsys-syncfs.c (netfs_S_fsys_syncfs): Likewise.
* io-reauthenticate.c (netfs_S_io_reauthenticate): Use
iohelp_reauth instead of doing it by hand.
|
|
* netfs.h: Add extern inline protection.
* netfs.c: New file.
* Makefile (OTHERSRCS): Add netfs.c.
|
|
Declaration removed.
(netfs_append_args):
New declaration.
<argp.h>:
Include removed.
|
|
|
|
|
|
|
|
(netfs_release_identity): New function.
(struct identity): New type.
|
|
(netfs_set_options, netfs_get_options): Updated to inew interface.
(netfs_append_std_options): New declaration.
(netfs_runtime_argp, netfs_std_runtime_argp, netfs_std_startup_arg):
New variables.
(netfs_parse_runtime_options, netfs_unparse_runtime_options):
Functions removed.
|
|
(netfs_fsys_identity): New variable.
|
|
(netfs_attempt_rename): Likewise.
|
|
structure.
|
|
|
|
|
|
|
|
|
|
netfs_root_node, netfs_auth_server_port): Make this extern.
|
|
netfs_parse_runtime_options, netfs_unparse_runtime_options):
New declarations.
|
|
|
|
|