Coda Distributed File System
Functions
util.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "rp2.h"
Include dependency graph for util.c:

Functions

void no_storage (char *proc)
 
char * copy (char *s)
 
void insert (PROC *proc)
 
PROCget_head ()
 
RPC2_TYPErpc2_enum_type (ENUM **values)
 
RPC2_TYPErpc2_struct_type (VAR **struct_fields)
 
RPC2_TYPErpc2_simple_type (TYPE_TAG tag)
 
VARmake_var (char *name, MODE mode, ENTRY *type)
 
ENTRYmake_entry (RPC2_TYPE *type, ENTRY *defined)
 
ENUMmake_enum (char *name, char *rep)
 
PROCmake_proc (int opnum, char *name, VAR **formals, char *timeout, rp2_bool new_connection)
 
PROCcheck_proc (PROC *proc)
 
char * concat (char *s1, char *s2)
 
char * concat3elem (char *s1, char *s2, char *s3)
 
char * coda_rp2_basename (char *name)
 

Function Documentation

◆ check_proc()

PROC * check_proc ( PROC proc)

◆ coda_rp2_basename()

char * coda_rp2_basename ( char *  name)

◆ concat()

char * concat ( char *  s1,
char *  s2 
)

◆ concat3elem()

char * concat3elem ( char *  s1,
char *  s2,
char *  s3 
)

◆ copy()

char * copy ( char *  s)

◆ get_head()

PROC * get_head ( )

◆ insert()

void insert ( PROC proc)

◆ make_entry()

ENTRY * make_entry ( RPC2_TYPE type,
ENTRY defined 
)

◆ make_enum()

ENUM * make_enum ( char *  name,
char *  rep 
)

◆ make_proc()

PROC * make_proc ( int  opnum,
char *  name,
VAR **  formals,
char *  timeout,
rp2_bool  new_connection 
)

◆ make_var()

VAR * make_var ( char *  name,
MODE  mode,
ENTRY type 
)

◆ no_storage()

void no_storage ( char *  proc)

◆ rpc2_enum_type()

RPC2_TYPE * rpc2_enum_type ( ENUM **  values)

◆ rpc2_simple_type()

RPC2_TYPE * rpc2_simple_type ( TYPE_TAG  tag)

◆ rpc2_struct_type()

RPC2_TYPE * rpc2_struct_type ( VAR **  struct_fields)

Variable Documentation

◆ head

PROC* head

◆ tail

PROC* tail