Coda Distributed File System
Macros | Functions | Variables
symtab.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "rp2.h"
Include dependency graph for symtab.c:

Macros

#define SYMTAB_SIZE   50
 
#define equal(s1, s2)   (strcmp(s1, s2) == 0)
 

Functions

ENTRYmake_entry ()
 
RPC2_TYPErpc2_simple_type ()
 
VARmake_var ()
 
ENTRYfind ()
 
RPC2_TYPErpc2_struct_type (VAR **)
 
int strcmp ()
 
ENTRYfind (char *name)
 
void enter (ENTRY *e)
 
void init_table (void)
 

Variables

int SizeofStubPredefined
 
STUBELEM stub_predefined []
 

Macro Definition Documentation

◆ equal

#define equal (   s1,
  s2 
)    (strcmp(s1, s2) == 0)

◆ SYMTAB_SIZE

#define SYMTAB_SIZE   50

Function Documentation

◆ enter()

void enter ( ENTRY e)

◆ find() [1/2]

ENTRY * find ( )

◆ find() [2/2]

ENTRY * find ( char *  name)

◆ init_table()

void init_table ( void  )

◆ make_entry()

ENTRY * make_entry ( )

◆ make_var()

VAR * make_var ( )

◆ rpc2_simple_type()

RPC2_TYPE * rpc2_simple_type ( )

◆ rpc2_struct_type()

RPC2_TYPE * rpc2_struct_type ( VAR **  struct_fields)

◆ strcmp()

int strcmp ( )

Variable Documentation

◆ name

char* name

◆ SizeofStubPredefined

int SizeofStubPredefined

◆ stub_predefined

STUBELEM stub_predefined[]
Initial value:
= {
{ "RPC2_String", "name" }, { "RPC2_Integer", "countent" },
{ "RPC2_Integer", "countexit" }, { "RPC2_Integer", "tsec" },
{ "RPC2_Integer", "tusec" }, { "RPC2_Integer", "counttime" },
{ NIL, "CallCountEntry" },
{ "RPC2_String", "name" }, { "RPC2_Integer", "countent" },
{ "RPC2_Integer", "countexit" }, { "RPC2_Integer", "tsec" },
{ "RPC2_Integer", "tusec" }, { "RPC2_Integer", "counttime" },
{ "RPC2_Integer", "counthost" }, { NIL, "MultiCallEntry" },
{ "RPC2_Integer", "opengate" }, { "RPC2_Integer", "tsec" },
{ "RPC2_Integer", "tusec" }, { NIL, "MultiStubWork" }
}
#define NIL
Definition: rp2.h:51

◆ tag

TYPE_TAG tag