summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-27 16:35:40 +0000
committerMiles Bader <miles@gnu.org>1996-01-27 16:35:40 +0000
commit7a4eaafbf18f97848bae86223d24dd3a96724046 (patch)
tree1a6264c78d215f9acb27590df4f01d73c1cf968a /libdiskfs
parent61359542d74d26352f39e8432761a8a16ac577dc (diff)
(diskfs_start_protid): Update declaration.
(diskfs_create_protid): New declaration.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/diskfs.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 08dc2a8d..f086b5a8 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -838,15 +838,19 @@ diskfs_create_node (struct node *dir, char *name, mode_t mode,
struct node **newnode, struct protid *cred,
struct dirstat *ds);
-/* Create and return a protid for an existing peropen. The uid set is
- UID (length NUIDS); the gid set is GID (length NGIDS). The node
+/* Create and return a protid for an existing peropen PO in CRED. The uid
+ set is UID (length NUIDS); the gid set is GID (length NGIDS). The node
PO->np must be locked. */
+error_t diskfs_create_protid (struct peropen *po, uid_t *uids, int nuids,
+ uid_t *gids, int ngids, struct protid **cred);
+
+/* Backward compatibility. Use diskfs_create_protid. */
struct protid *diskfs_make_protid (struct peropen *cred, uid_t *uids,
int nuids, uid_t *gids, int ngids);
-/* Build and return a protid which has no user identification for
+/* Build and return in CRED a protid which has no user identification, for
peropen PO. The node PO->np must be locked. */
-struct protid *diskfs_start_protid (struct peropen *po);
+error_t diskfs_start_protid (struct peropen *po, struct protid **cred);
/* Finish building protid CRED started with diskfs_start_protid;
the uid set is UID (length NUIDS); the gid set is GID (length NGIDS). */