pure cosmetics: minor facelift

This commit is contained in:
pooka 2007-07-25 08:31:19 +00:00
parent 1ad9ad78c6
commit 9825955cc2
1 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: puffs_ops.3,v 1.12 2007/07/20 10:01:24 pooka Exp $ .\" $NetBSD: puffs_ops.3,v 1.13 2007/07/25 08:31:19 pooka Exp $
.\" .\"
.\" Copyright (c) 2007 Antti Kantee. All rights reserved. .\" Copyright (c) 2007 Antti Kantee. All rights reserved.
.\" .\"
@ -115,7 +115,7 @@
.Ft int .Ft int
.Fo puffs_node_seek .Fo puffs_node_seek
.Fa "struct puffs_cc *pcc" "void *opc" "off_t oldoff" "off_t newoff" .Fa "struct puffs_cc *pcc" "void *opc" "off_t oldoff" "off_t newoff"
.Fa "const struct puffs_cred *pcred" .Fa "const struct puffs_cred *pcr"
.Fc .Fc
.Ft int .Ft int
.Fo puffs_node_remove .Fo puffs_node_remove
@ -144,18 +144,18 @@
.Fa "const struct puffs_cn *pcn" .Fa "const struct puffs_cn *pcn"
.Fc .Fc
.Ft int .Ft int
.Fo puffs_node_symlink
.Fa "struct puffs_cc *pcc" "void *opc" "struct puffs_newinfo *pni"
.Fa "const struct puffs_cn *pcn_src" "const struct vattr *va"
.Fa "const char *link_target"
.Fc
.Ft int
.Fo puffs_node_readdir .Fo puffs_node_readdir
.Fa "struct puffs_cc *pcc" "void *opc" "struct dirent *dent" .Fa "struct puffs_cc *pcc" "void *opc" "struct dirent *dent"
.Fa "off_t *readoff" "size_t *reslen" "const struct puffs_cred *pcr" .Fa "off_t *readoff" "size_t *reslen" "const struct puffs_cred *pcr"
.Fa "int *eofflag" "off_t *cookies" "size_t *ncookies" .Fa "int *eofflag" "off_t *cookies" "size_t *ncookies"
.Fc .Fc
.Ft int .Ft int
.Fo puffs_node_symlink
.Fa "struct puffs_cc *pcc" "void *opc" "struct puffs_newinfo *pni"
.Fa "const struct puffs_cn *pcn_src" "const struct vattr *va"
.Fa "const char *link_target"
.Fc
.Ft int
.Fo puffs_node_readlink .Fo puffs_node_readlink
.Fa "struct puffs_cc *pcc" "void *opc" "const struct puffs_cred *pcr" .Fa "struct puffs_cc *pcc" "void *opc" "const struct puffs_cred *pcr"
.Fa "char *link" "size_t *linklen" .Fa "char *link" "size_t *linklen"
@ -519,7 +519,7 @@ specify the data offsets requiring to be synced.
A high offset of 0 means sync from A high offset of 0 means sync from
.Fa offlo .Fa offlo
to the end of the file. to the end of the file.
.It Fn puffs_node_seek pcc opc oldoff newoff pcred .It Fn puffs_node_seek pcc opc oldoff newoff pcr
Test if the node Test if the node
.Ar opc .Ar opc
is seekable to the location is seekable to the location
@ -590,17 +590,6 @@ In case a rename between incompatible types is attempted, the errors
or or
.Er EISDIR .Er EISDIR
should be returned, depending on the target type. should be returned, depending on the target type.
.It Fn puffs_node_symlink "pcc" "opc" "pni" "pcn_src" "va" "link_target"
Create a symbolic link into the directory
.Fa opc
with the name in
.Fa pcn_src
and the initial attributes in
.Fa va .
The link's target is
.Fa link_target
and the created node cookie should be set in
.Fa pni .
.It Fn puffs_node_readdir "pcc" "opc" "dent" "readoff" "reslen" "pcr" "eofflag" "cookies" "ncookies" .It Fn puffs_node_readdir "pcc" "opc" "dent" "readoff" "reslen" "pcr" "eofflag" "cookies" "ncookies"
To read directory entries, To read directory entries,
.Fn puffs_node_readdir .Fn puffs_node_readdir
@ -659,6 +648,17 @@ Note that
.Fa ncookies .Fa ncookies
must be initialized to zero before the first call to must be initialized to zero before the first call to
.Fn PUFFS_STORE_DCOOKIE . .Fn PUFFS_STORE_DCOOKIE .
.It Fn puffs_node_symlink "pcc" "opc" "pni" "pcn_src" "va" "link_target"
Create a symbolic link into the directory
.Fa opc
with the name in
.Fa pcn_src
and the initial attributes in
.Fa va .
The link's target is
.Fa link_target
and the created node cookie should be set in
.Fa pni .
.It Fn puffs_node_readlink "pcc" "opc" "pcr" "link" "linklen" .It Fn puffs_node_readlink "pcc" "opc" "pcr" "link" "linklen"
Read the target of a symbolic link Read the target of a symbolic link
.Fa opc . .Fa opc .