Coda Distributed File System
inodeops.h
Go to the documentation of this file.
1/* BLURB lgpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU Library General Public Licence Version 2, as
11shown in the file LICENSE. The technical and financial contributors to
12Coda are listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16
17#*/
18
19#include <voltypes.h>
20#include <viceinode.h>
21#include <vicetab.h>
22#include <partition.h>
23
24/* exported routines
25 * these routines access the partition methods through
26 * the device number of the partition
27 * This is done for backward compatibility.
28 */
29
30Inode icreate(Device, u_long, u_long, u_long, u_long);
31int iopen(Device, Inode, int);
32int iread(Device dev, Inode inode_number, Inode parent_vol, int offset,
33 char *buf, int count);
34int iwrite(Device dev, Inode inode_number, Inode parent_vol, int offset,
35 char *buf, int count);
36int iinc(Device dev, Inode inode_number, Inode parent_vol);
37int idec(Device dev, Inode inode_number, Inode parent_vol);
38int get_header(struct DiskPartition *dp, struct i_header *header, Inode ino);
39int put_header(struct DiskPartition *dp, struct i_header *header, Inode ino);
40int ListCodaInodes(char *devname, char *mountedOn, char *resultFile,
41 int (*judgeInode)(struct ViceInodeInfo *, VolumeId),
42 int judgeParam);
struct direct * dp
Definition: dir.cc:38
Inode icreate(Device, u_long, u_long, u_long, u_long)
Definition: inodeops.c:28
int iread(Device dev, Inode inode_number, Inode parent_vol, int offset, char *buf, int count)
Definition: inodeops.c:97
int iopen(Device, Inode, int)
Definition: inodeops.c:42
int put_header(struct DiskPartition *dp, struct i_header *header, Inode ino)
Definition: inodeops.c:119
int idec(Device dev, Inode inode_number, Inode parent_vol)
Definition: inodeops.c:57
int get_header(struct DiskPartition *dp, struct i_header *header, Inode ino)
Definition: inodeops.c:111
int iinc(Device dev, Inode inode_number, Inode parent_vol)
Definition: inodeops.c:70
int iwrite(Device dev, Inode inode_number, Inode parent_vol, int offset, char *buf, int count)
Definition: inodeops.c:83
int ListCodaInodes(char *devname, char *mountedOn, char *resultFile, int(*judgeInode)(struct ViceInodeInfo *, VolumeId), int judgeParam)
Definition: partition.h:40
Definition: viceinode.h:59
Definition: viceinode.h:46
bit32 Device
Definition: voltypes.h:60
bit32 Inode
Definition: voltypes.h:61