document puffs_dopufbuf

This commit is contained in:
pooka 2007-12-15 20:11:38 +00:00
parent 96294df307
commit 049d39b202

View File

@ -1,4 +1,4 @@
.\" $NetBSD: puffs.3,v 1.36 2007/12/04 21:24:11 pooka Exp $
.\" $NetBSD: puffs.3,v 1.37 2007/12/15 20:11:38 pooka Exp $
.\"
.\" Copyright (c) 2006, 2007 Antti Kantee. All rights reserved.
.\"
@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd November 16, 2007
.Dd December 15, 2007
.Dt PUFFS 3
.Os
.Sh NAME
@ -79,6 +79,8 @@
.Fn puffs_daemon "struct puffs_usermount *pu" "int nochdir" "int noclose"
.Ft int
.Fn puffs_mainloop "struct puffs_usermount *pu"
.Ft int
.Fn puffs_dopufbuf "struct puffs_usermount *pu" "struct puffs_framebuf *pb"
.Sh DESCRIPTION
.Em IMPORTANT NOTE!
This document describes interfaces which are not yet guaranteed to be
@ -429,6 +431,13 @@ In case
.Xr puffs_framebuf 3
has been initialized, I/O from the relevant descriptors is processed
automatically by the eventloop.
.It Fn puffs_dopufbuf pu pb
Decode and dispatch the file system request in
.Ar pb .
The contents of
.Ar pb
must be of type
.Vt "struct puffs_req" .
.El
.Ss Cookies
Every file (regular file, directory, device node, ...) instance is