|
Coda Distributed File System
|
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <stdint.h>#include <time.h>#include <errno.h>#include "coda_string.h"#include <unistd.h>#include <stdlib.h>#include <sys/fcntl.h>#include "coda_replay.h"
Functions | |
| int | ValidateHeader (hblock &) |
| void | HandleRecord (hblock &) |
| int | checksum (hblock &) |
| void | makeprefix (char *) |
| void | setmode (char *, int) |
| void | setowner (char *, int, int) |
| void | setlength (char *, off_t) |
| void | settimes (char *, time_t) |
| void | readblock (hblock &) |
| void | writeblock (hblock &) |
| void | usage (void) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rflag = 0 |
| int | sflag = 0 |
| int | tflag = 0 |
| int | vflag = 0 |
| int | hflag = 0 |
| int | trailers = 0 |
| int checksum | ( | hblock & | hdr | ) |
| void HandleRecord | ( | hblock & | hdr | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void makeprefix | ( | char * | name | ) |
| void readblock | ( | hblock & | blk | ) |
| void setlength | ( | char * | path, |
| off_t | size | ||
| ) |
| void setmode | ( | char * | path, |
| int | mode | ||
| ) |
| void setowner | ( | char * | path, |
| int | uid, | ||
| int | gid | ||
| ) |
| void settimes | ( | char * | path, |
| time_t | mt | ||
| ) |
| void usage | ( | void | ) |
| int ValidateHeader | ( | hblock & | hdr | ) |
| void writeblock | ( | hblock & | blk | ) |
| int hflag = 0 |
| int rflag = 0 |
| int sflag = 0 |
| int tflag = 0 |
| int trailers = 0 |
| int vflag = 0 |