|
Coda Distributed File System
|
#include <stdio.h>#include <errno.h>#include <sys/types.h>#include <sys/param.h>#include <netinet/in.h>#include "coda_string.h"#include <sys/stat.h>#include <sys/file.h>#include <unistd.h>#include <stdlib.h>#include <prs.h>#include <rpc2/rpc2.h>#include <vice.h>#include <urlquote.h>#include "coda_assert.h"#include "repio.h"
Macros | |
| #define | O_BINARY 0 |
| #define | DEF_BUF 2048 |
| #define | ewrite(f, b, l) |
| #define | NEXTFIELD() |
| #define | ADVANCE() |
Functions | |
| static char * | eatnonwhite (char *) |
| int | repair_putdfile (char *fname, int replicaCount, struct listhdr *replicaList) |
| int | repair_getdfile (char *fname, int infd, int *replicaCount, struct listhdr **replicaList) |
| int | repair_getdfile (char *fname, int *replicaCount, struct listhdr **replicaList) |
| int | repair_getdfile (int infd, int *replicaCount, struct listhdr **replicaList) |
| int | repair_parseline (char *line, struct repair *rs) |
| int | repair_parsefile (char *fname, int *hdcount, struct listhdr **hdarray) |
| void | repair_printline (struct repair *rs, FILE *ff) |
| void | repair_printfile (char *fname) |
| #define ADVANCE | ( | ) |
| #define DEF_BUF 2048 |
| #define NEXTFIELD | ( | ) |
| #define O_BINARY 0 |
| static char * eatnonwhite | ( | char * | s | ) |
| int repair_getdfile | ( | char * | fname, |
| int * | replicaCount, | ||
| struct listhdr ** | replicaList | ||
| ) |
| int repair_getdfile | ( | char * | fname, |
| int | infd, | ||
| int * | replicaCount, | ||
| struct listhdr ** | replicaList | ||
| ) |
| int repair_getdfile | ( | int | infd, |
| int * | replicaCount, | ||
| struct listhdr ** | replicaList | ||
| ) |
| int repair_parsefile | ( | char * | fname, |
| int * | hdcount, | ||
| struct listhdr ** | hdarray | ||
| ) |
| int repair_parseline | ( | char * | line, |
| struct repair * | rs | ||
| ) |
| void repair_printfile | ( | char * | fname | ) |
| void repair_printline | ( | struct repair * | rs, |
| FILE * | ff | ||
| ) |
| int repair_putdfile | ( | char * | fname, |
| int | replicaCount, | ||
| struct listhdr * | replicaList | ||
| ) |