|
Coda Distributed File System
|
#include <stdio.h>#include "coda_assert.h"#include <sys/types.h>#include <netinet/in.h>#include <fcntl.h>#include <unistd.h>#include <sys/mman.h>#include <errno.h>#include "coda_string.h"#include <stdlib.h>#include <lwp/lwp.h>#include <lwp/lock.h>#include <rvmlib.h>#include "codadir.h"#include "dirbody.h"
Functions | |
| void | DH_LockW (PDirHandle dh) |
| void | DH_LockR (PDirHandle dh) |
| void | DH_UnLockW (PDirHandle dh) |
| void | DH_UnLockR (PDirHandle dh) |
| void | DH_Init (PDirHandle dh) |
| int | DH_Length (PDirHandle dh) |
| int | DH_Convert (PDirHandle dh, char *file, VolumeId vol, RealmId realm) |
| int | DH_Create (PDirHandle dh, const char *entry, struct ViceFid *vfid) |
| int | DH_IsEmpty (PDirHandle dh) |
| int | DH_Lookup (PDirHandle dh, const char *entry, struct ViceFid *vfid, int flags) |
| int | DH_LookupByFid (PDirHandle dh, char *entry, struct ViceFid *vfid) |
| int | DH_Delete (PDirHandle dh, const char *entry) |
| void | DH_FreeData (PDirHandle dh) TRANSACTION_OPTIONAL |
| void | DH_Alloc (PDirHandle dh, int size, int in_rvm) TRANSACTION_OPTIONAL |
| PDirHeader | DH_Data (PDirHandle dh) |
| void | DH_Print (PDirHandle dh, FILE *f) |
| int | DH_DirOK (PDirHandle dh) |
| int | DH_MakeDir (PDirHandle dh, struct ViceFid *vme, struct ViceFid *vparent) |
| int | DH_EnumerateDir (PDirHandle dh, int(*hookproc)(struct DirEntry *de, void *hook), void *hook) |
| void DH_Alloc | ( | PDirHandle | dh, |
| int | size, | ||
| int | in_rvm | ||
| ) |
| int DH_Convert | ( | PDirHandle | dh, |
| char * | file, | ||
| VolumeId | vol, | ||
| RealmId | realm | ||
| ) |
| int DH_Create | ( | PDirHandle | dh, |
| const char * | entry, | ||
| struct ViceFid * | vfid | ||
| ) |
| PDirHeader DH_Data | ( | PDirHandle | dh | ) |
| int DH_Delete | ( | PDirHandle | dh, |
| const char * | entry | ||
| ) |
| int DH_DirOK | ( | PDirHandle | dh | ) |
| int DH_EnumerateDir | ( | PDirHandle | dh, |
| int(*)(struct DirEntry *de, void *hook) | hookproc, | ||
| void * | hook | ||
| ) |
| void DH_FreeData | ( | PDirHandle | dh | ) |
| void DH_Init | ( | PDirHandle | dh | ) |
| int DH_IsEmpty | ( | PDirHandle | dh | ) |
| int DH_Length | ( | PDirHandle | dh | ) |
| void DH_LockR | ( | PDirHandle | dh | ) |
| void DH_LockW | ( | PDirHandle | dh | ) |
| int DH_Lookup | ( | PDirHandle | dh, |
| const char * | entry, | ||
| struct ViceFid * | vfid, | ||
| int | flags | ||
| ) |
| int DH_LookupByFid | ( | PDirHandle | dh, |
| char * | entry, | ||
| struct ViceFid * | vfid | ||
| ) |
| int DH_MakeDir | ( | PDirHandle | dh, |
| struct ViceFid * | vme, | ||
| struct ViceFid * | vparent | ||
| ) |
| void DH_Print | ( | PDirHandle | dh, |
| FILE * | f | ||
| ) |
| void DH_UnLockR | ( | PDirHandle | dh | ) |
| void DH_UnLockW | ( | PDirHandle | dh | ) |