Coda Distributed File System
|
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
#include <math.h>
#include "coda_string.h"
#include <time.h>
#include <sys/utsname.h>
#include "util.h"
Macros | |
#define | NLOGS 5 |
Functions | |
int | HashString (char *s, unsigned int size) |
void | PrintTimeStamp (FILE *f) |
void | LogMsg (int msglevel, int debuglevel, FILE *fout, const char *fmt,...) |
void | fdprint (long afd, const char *fmt,...) |
void | eprint (const char *fmt,...) |
char * | hostname (char *name) |
int | UtilHostEq (const char *name1, const char *name2) |
void | UtilDetach (void) |
Variables | |
int | SrvDebugLevel = 0 |
int | VolDebugLevel = 0 |
int | SalvageDebugLevel = 0 |
int | DirDebugLevel = 0 |
int | AL_DebugLevel = 0 |
int | AuthDebugLevel = 0 |
#define NLOGS 5 |
void eprint | ( | const char * | fmt, |
... | |||
) |
void fdprint | ( | long | afd, |
const char * | fmt, | ||
... | |||
) |
int HashString | ( | char * | s, |
unsigned int | size | ||
) |
char * hostname | ( | char * | name | ) |
void LogMsg | ( | int | msglevel, |
int | debuglevel, | ||
FILE * | fout, | ||
const char * | fmt, | ||
... | |||
) |
void PrintTimeStamp | ( | FILE * | f | ) |
void UtilDetach | ( | void | ) |
int UtilHostEq | ( | const char * | name1, |
const char * | name2 | ||
) |
int AL_DebugLevel = 0 |
int AuthDebugLevel = 0 |
int DirDebugLevel = 0 |
int SalvageDebugLevel = 0 |
int SrvDebugLevel = 0 |
int VolDebugLevel = 0 |