Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount_portal use puffs_cookie_t. no functional change.
details: https://anonhg.NetBSD.org/src/rev/97e3a2cd2f44
branches: trunk
changeset: 749681:97e3a2cd2f44
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Dec 05 20:29:19 2009 +0000
description:
use puffs_cookie_t. no functional change.
diffstat:
sbin/mount_portal/puffs_portal.c | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diffs (115 lines):
diff -r 447ad6163566 -r 97e3a2cd2f44 sbin/mount_portal/puffs_portal.c
--- a/sbin/mount_portal/puffs_portal.c Sat Dec 05 20:25:32 2009 +0000
+++ b/sbin/mount_portal/puffs_portal.c Sat Dec 05 20:29:19 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_portal.c,v 1.1 2009/12/05 20:25:32 pooka Exp $ */
+/* $NetBSD: puffs_portal.c,v 1.2 2009/12/05 20:29:19 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: puffs_portal.c,v 1.1 2009/12/05 20:25:32 pooka Exp $");
+__RCSID("$NetBSD: puffs_portal.c,v 1.2 2009/12/05 20:29:19 pooka Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -506,8 +506,8 @@
* incompatibilities.
*/
int
-portal_node_lookup(struct puffs_usermount *pu, void *opc, struct puffs_newinfo *pni,
- const struct puffs_cn *pcn)
+portal_node_lookup(struct puffs_usermount *pu, puffs_cookie_t opc,
+ struct puffs_newinfo *pni, const struct puffs_cn *pcn)
{
struct portal_node *portn;
@@ -531,8 +531,8 @@
/* XXX: libpuffs'ize */
int
-portal_node_getattr(struct puffs_usermount *pu, void *opc, struct vattr *va,
- const struct puffs_cred *pcr)
+portal_node_getattr(struct puffs_usermount *pu, puffs_cookie_t opc,
+ struct vattr *va, const struct puffs_cred *pcr)
{
struct timeval tv;
struct timespec ts;
@@ -563,15 +563,15 @@
/* for writing, just pretend we care */
int
-portal_node_setattr(struct puffs_usermount *pu, void *opc, const struct vattr *va,
- const struct puffs_cred *pcr)
+portal_node_setattr(struct puffs_usermount *pu, puffs_cookie_t opc,
+ const struct vattr *va, const struct puffs_cred *pcr)
{
return 0;
}
int
-portal_node_open(struct puffs_usermount *pu, void *opc, int mode,
+portal_node_open(struct puffs_usermount *pu, puffs_cookie_t opc, int mode,
const struct puffs_cred *pcr)
{
struct portal_node *portn = opc;
@@ -593,7 +593,7 @@
}
int
-portal_node_read(struct puffs_usermount *pu, void *opc,
+portal_node_read(struct puffs_usermount *pu, puffs_cookie_t opc,
uint8_t *buf, off_t offset, size_t *resid,
const struct puffs_cred *pcr, int ioflag)
{
@@ -667,7 +667,7 @@
}
int
-portal_node_write(struct puffs_usermount *pu, void *opc,
+portal_node_write(struct puffs_usermount *pu, puffs_cookie_t opc,
uint8_t *buf, off_t offset, size_t *resid,
const struct puffs_cred *pcr, int ioflag)
{
@@ -710,8 +710,8 @@
}
int
-portal_node_seek(struct puffs_usermount *pu, void *opc, off_t oldoff, off_t newoff,
- const struct puffs_cred *pcr)
+portal_node_seek(struct puffs_usermount *pu, puffs_cookie_t opc,
+ off_t oldoff, off_t newoff, const struct puffs_cred *pcr)
{
struct portal_node *portn = opc;
@@ -724,7 +724,7 @@
}
int
-portal_node_poll(struct puffs_usermount *pu, void *opc, int *events)
+portal_node_poll(struct puffs_usermount *pu, puffs_cookie_t opc, int *events)
{
struct puffs_cc *pcc = puffs_cc_getcc(pu);
struct portal_node *portn = opc;
@@ -757,7 +757,7 @@
}
int
-portal_node_inactive(struct puffs_usermount *pu, void *opc)
+portal_node_inactive(struct puffs_usermount *pu, puffs_cookie_t opc)
{
if (opc == PORTAL_ROOT)
@@ -768,7 +768,7 @@
}
int
-portal_node_reclaim(struct puffs_usermount *pu, void *opc)
+portal_node_reclaim(struct puffs_usermount *pu, puffs_cookie_t opc)
{
struct portal_node *portn = opc;
Home |
Main Index |
Thread Index |
Old Index