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

Go to the source code of this file.

Macros

#define VICETAB   "/vice/vicetab"
 
#define VICETAB_MAXSTR   256 /* max line length in VICETAB */
 
#define PTYPE_SIMPLE   "simple"
 
#define PTYPE_FTREE   "ftree"
 

Typedefs

typedef struct Partent_sPartent
 

Functions

Partent Partent_new ()
 
void Partent_free (Partent *f)
 
FILE * Partent_set (const char *file, const char *mode)
 
int Partent_end (FILE *__filep)
 
Partent Partent_get (FILE *filep)
 
int Partent_add (FILE *__filep, Partent mnt)
 
char * Partent_hasopt (Partent mnt, const char *opt)
 
int Partent_intopt (Partent ent, const char *opt, int *value)
 
void Partent_print (Partent ent)
 
char * Partent_dir (Partent p)
 
char * Partent_type (Partent p)
 
char * Partent_host (Partent p)
 
Partent Partent_create (char *host, char *dir, char *type, char *opts)
 

Macro Definition Documentation

◆ PTYPE_FTREE

#define PTYPE_FTREE   "ftree"

◆ PTYPE_SIMPLE

#define PTYPE_SIMPLE   "simple"

◆ VICETAB

#define VICETAB   "/vice/vicetab"

◆ VICETAB_MAXSTR

#define VICETAB_MAXSTR   256 /* max line length in VICETAB */

Typedef Documentation

◆ Partent

typedef struct Partent_s* Partent

Function Documentation

◆ Partent_add()

int Partent_add ( FILE *  __filep,
Partent  mnt 
)

◆ Partent_create()

Partent Partent_create ( char *  host,
char *  dir,
char *  type,
char *  opts 
)

◆ Partent_dir()

char * Partent_dir ( Partent  p)

◆ Partent_end()

int Partent_end ( FILE *  __filep)

◆ Partent_free()

void Partent_free ( Partent f)

◆ Partent_get()

Partent Partent_get ( FILE *  filep)

◆ Partent_hasopt()

char * Partent_hasopt ( Partent  mnt,
const char *  opt 
)

◆ Partent_host()

char * Partent_host ( Partent  p)

◆ Partent_intopt()

int Partent_intopt ( Partent  ent,
const char *  opt,
int *  value 
)

◆ Partent_new()

Partent Partent_new ( )

◆ Partent_print()

void Partent_print ( Partent  ent)

◆ Partent_set()

FILE * Partent_set ( const char *  file,
const char *  mode 
)

◆ Partent_type()

char * Partent_type ( Partent  p)