Coda Distributed File System
Classes | Macros | Typedefs | Enumerations | Functions | Variables
cfs.cc File Reference
#include <stdio.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdlib.h>
#include "coda_string.h"
#include "coda_assert.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/types.h>
#include <inodeops.h>
#include <util.h>
#include <vice.h>
#include <venusioctl.h>
#include <prs.h>
#include <codaconf.h>
#include <inconsist.h>
#include <coda_config.h>
Include dependency graph for cfs.cc:

Classes

struct  command
 
struct  aclentry
 
struct  acl
 

Macros

#define PERROR(desc)
 
#define CLO_CONFLICTSONLY   0x1
 
#define CLO_INTERACTIVE   0x2
 
#define CLO_REMOVE   0x4
 
#define MAXHOSTS   8 /* from venus.private.h, should be in vice.h! */
 

Typedefs

typedef void(* PFV3) (int, char **, int)
 

Enumerations

enum  VolumeStateType {
  Unreachable = 1 , Reachable , Resolving , Unreachable = 1 ,
  Reachable , Resolving
}
 
enum  closure_ops { CLO_EXAMINE , CLO_REPLAY }
 

Functions

int main (int argc, char *argv[])
 

Variables

char piobuf [CFS_PIOBUFSIZE]
 
struct command cmdarray []
 
int cmdcount = (int)(sizeof(cmdarray) / sizeof(struct command))
 

Macro Definition Documentation

◆ CLO_CONFLICTSONLY

#define CLO_CONFLICTSONLY   0x1

◆ CLO_INTERACTIVE

#define CLO_INTERACTIVE   0x2

◆ CLO_REMOVE

#define CLO_REMOVE   0x4

◆ MAXHOSTS

#define MAXHOSTS   8 /* from venus.private.h, should be in vice.h! */

◆ PERROR

#define PERROR (   desc)
Value:
do { \
fflush(stdout); \
perror(desc); \
} while (0)
desc
Definition: gensrvstats.py:254
stdout
Definition: volusage.py:12

Typedef Documentation

◆ PFV3

typedef void(* PFV3) (int, char **, int)

Enumeration Type Documentation

◆ closure_ops

Enumerator
CLO_EXAMINE 
CLO_REPLAY 

◆ VolumeStateType

Enumerator
Unreachable 
Reachable 
Resolving 
Unreachable 
Reachable 
Resolving 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ cmdarray

struct command cmdarray[]

◆ cmdcount

int cmdcount = (int)(sizeof(cmdarray) / sizeof(struct command))

◆ piobuf

char piobuf[CFS_PIOBUFSIZE]