Coda Distributed File System
Macros | Functions
lka.h File Reference
#include <coda_hash.h>
Include dependency graph for lka.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ComputeViceSHA(fd, sha)   CopyAndComputeViceSHA(fd, -1, sha)
 

Functions

void ViceSHAtoHex (unsigned char sha[SHA_DIGEST_LENGTH], char *buf, int buflen)
 
int CopyAndComputeViceSHA (int infd, int outfd, unsigned char sha[SHA_DIGEST_LENGTH])
 
int IsZeroSHA (unsigned char sha[SHA_DIGEST_LENGTH])
 
int LookAsideAndFillContainer (unsigned char sha[SHA_DIGEST_LENGTH], int cfd, int length, const char *venusRoot, char *emsg, int emsglen)
 
int LKParseAndExecute (char *in, char *out, int len)
 

Macro Definition Documentation

◆ ComputeViceSHA

#define ComputeViceSHA (   fd,
  sha 
)    CopyAndComputeViceSHA(fd, -1, sha)

Function Documentation

◆ CopyAndComputeViceSHA()

int CopyAndComputeViceSHA ( int  infd,
int  outfd,
unsigned char  sha[SHA_DIGEST_LENGTH] 
)

◆ IsZeroSHA()

int IsZeroSHA ( unsigned char  sha[SHA_DIGEST_LENGTH])

◆ LKParseAndExecute()

int LKParseAndExecute ( char *  in,
char *  out,
int  len 
)

◆ LookAsideAndFillContainer()

int LookAsideAndFillContainer ( unsigned char  sha[SHA_DIGEST_LENGTH],
int  cfd,
int  length,
const char *  venusRoot,
char *  emsg,
int  emsglen 
)

◆ ViceSHAtoHex()

void ViceSHAtoHex ( unsigned char  sha[SHA_DIGEST_LENGTH],
char *  buf,
int  buflen 
)