Coda Distributed File System
|
#include <stdio.h>
#include "coda_string.h"
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
#include "inconsist.h"
Functions | |
VV_Cmp_Result | VV_Cmp_IgnoreInc (const ViceVersionVector *a, const ViceVersionVector *b) |
VV_Cmp_Result | VV_Cmp (const ViceVersionVector *a, const ViceVersionVector *b) |
int | VV_Check (int *HowMany, ViceVersionVector **vvp, int EqReq) |
int | VV_Check_IgnoreInc (int *HowMany, ViceVersionVector **vvp, int EqReq) |
void | AddVVs (ViceVersionVector *v1, ViceVersionVector *v2) |
void | SubVVs (ViceVersionVector *v1, ViceVersionVector *v2) |
void | InitVV (ViceVersionVector *v) |
int | IsRunt (ViceVersionVector *v) |
void | InvalidateVV (ViceVersionVector *v) |
void | GetMaxVV (ViceVersionVector *newvv, ViceVersionVector **vvgroup, int domindex) |
void | SPrintVV (char *buf, size_t len, ViceVersionVector *v) |
void | FPrintVV (FILE *fp, ViceVersionVector *v) |
Variables | |
const ViceStoreId | NullSid = { 0, 0 } |
void AddVVs | ( | ViceVersionVector * | v1, |
ViceVersionVector * | v2 | ||
) |
void FPrintVV | ( | FILE * | fp, |
ViceVersionVector * | v | ||
) |
void GetMaxVV | ( | ViceVersionVector * | newvv, |
ViceVersionVector ** | vvgroup, | ||
int | domindex | ||
) |
void InitVV | ( | ViceVersionVector * | v | ) |
void InvalidateVV | ( | ViceVersionVector * | v | ) |
int IsRunt | ( | ViceVersionVector * | v | ) |
void SPrintVV | ( | char * | buf, |
size_t | len, | ||
ViceVersionVector * | v | ||
) |
void SubVVs | ( | ViceVersionVector * | v1, |
ViceVersionVector * | v2 | ||
) |
int VV_Check | ( | int * | HowMany, |
ViceVersionVector ** | vvp, | ||
int | EqReq | ||
) |
int VV_Check_IgnoreInc | ( | int * | HowMany, |
ViceVersionVector ** | vvp, | ||
int | EqReq | ||
) |
VV_Cmp_Result VV_Cmp | ( | const ViceVersionVector * | a, |
const ViceVersionVector * | b | ||
) |
VV_Cmp_Result VV_Cmp_IgnoreInc | ( | const ViceVersionVector * | a, |
const ViceVersionVector * | b | ||
) |
const ViceStoreId NullSid = { 0, 0 } |