Module interface:symtab - Symbol table interface
Symbol table interface. This interface is used within the kernel for managing symbol tables.
Index
-
Channel type
CT.SYMTAB- Symbol table channel type -
Channel type
CT.SYMTABSRV- Symbol table service channel-type -
Protocol
P.SYMTAB.IN- Symbol table input protocol-
Tag
get.name- Gets the name of a particular symbol, responds with symbol.name or error -
Tag
insert.symbol- Insert symbol into the symbol-table, responds with symbol -
Tag
lookup- Lookup a particular symbol, responds with symbol or error -
Tag
remove.symbol- Remove symbol from the symbol-table
-
Tag
-
Protocol
P.SYMTAB.OUT- Symbol table output protocol-
Tag
error- Generic error -
Tag
symbol- Symbol table entry -
Tag
symbol.name- Symbol name
-
Tag
-
Protocol
P.SYMTABSRV.IN- Symbol table service input protocol-
Tag
connect.table- Connect to an existing table, responds with symtab or error -
Tag
new.table- Create a new symbol table, responds with symtab or error
-
Tag
-
Protocol
P.SYMTABSRV.OUT- Symbol table service output protocol-
Tag
error- Generic error -
Tag
symtab- Connection to symbol table handler
-
Tag
-
Record
SYMTAB.ENTRY- Symbol table entry structure-
Variable
name- Name index -
Variable
size- Size (if relevant) -
Variable
stype- Symbol type (see ) -
Variable
value- Value of symbol
-
Variable
-
Group
SYMTYPE- RMoX symbol types-
Constant
SYMTYPE.CCALL- Symbol is an external C call entry point -
Constant
SYMTYPE.DCR- Symbol is a dynamic call routine stub -
Constant
SYMTYPE.FCN- Symbol is the entry-point for a FUNCTION -
Constant
SYMTYPE.INVALID- Invalid symbol type -
Constant
SYMTYPE.PROC- Symbol is the entry-point for a PROC
-
Constant
Declarations
symtab_chan.inc:28Group SYMTYPE
RMoX symbol types.
symtab_chan.inc:29Constant SYMTYPE.INVALID
VAL BYTE SYMTYPE.INVALID
Invalid symbol type.
symtab_chan.inc:30Constant SYMTYPE.PROC
VAL BYTE SYMTYPE.PROC
Symbol is the entry-point for a PROC.
symtab_chan.inc:31Constant SYMTYPE.FCN
VAL BYTE SYMTYPE.FCN
Symbol is the entry-point for a FUNCTION.
symtab_chan.inc:32Constant SYMTYPE.DCR
VAL BYTE SYMTYPE.DCR
Symbol is a dynamic call routine stub.
symtab_chan.inc:33Constant SYMTYPE.CCALL
VAL BYTE SYMTYPE.CCALL
Symbol is an external C call entry point.
symtab_chan.inc:38Record SYMTAB.ENTRY
DATA TYPE SYMTAB.ENTRY
Symbol table entry structure.
symtab_chan.inc:40Variable name
INT
Name index.
symtab_chan.inc:41Variable value
INT
Value of symbol.
symtab_chan.inc:42Variable size
INT
Size (if relevant).
symtab_chan.inc:47Protocol P.SYMTAB.IN
PROTOCOL P.SYMTAB.IN
Symbol table input protocol.
symtab_chan.inc:52Tag insert.symbol
insert.symbol; MOBILE []BYTE; SYMTAB.ENTRY
Insert symbol into the symbol-table, responds with symbol.
Parameters:
MOBILE []BYTE |
name |
Name of the symbol. |
SYMTAB.ENTRY |
sym |
Symbol data (name-index is ignored). |
symtab_chan.inc:55Tag remove.symbol
remove.symbol; SYMTAB.ENTRY
Remove symbol from the symbol-table.
Parameters:
SYMTAB.ENTRY |
sym |
Symbol data. |
symtab_chan.inc:58Tag lookup
lookup; MOBILE []BYTE
Lookup a particular symbol, responds with symbol or error.
Parameters:
MOBILE []BYTE |
name |
Name of the symbol to lookup. |
symtab_chan.inc:60Tag get.name
get.name; SYMTAB.ENTRY
Gets the name of a particular symbol, responds with symbol.name or error.
symtab_chan.inc:64Protocol P.SYMTAB.OUT
PROTOCOL P.SYMTAB.OUT
Symbol table output protocol.
symtab_chan.inc:66Tag error
error
Generic error.
symtab_chan.inc:67Tag symbol
symbol; SYMTAB.ENTRY
Symbol table entry.
symtab_chan.inc:68Tag symbol.name
symbol.name; MOBILE []BYTE
Symbol name.
symtab_chan.inc:72Channel type CT.SYMTAB
CHAN TYPE CT.SYMTAB
Symbol table channel type.
symtab_chan.inc:79Protocol P.SYMTABSRV.IN
PROTOCOL P.SYMTABSRV.IN
Symbol table service input protocol.
symtab_chan.inc:81Tag new.table
new.table; MOBILE []BYTE
Create a new symbol table, responds with symtab or error.
symtab_chan.inc:82Tag connect.table
connect.table; MOBILE []BYTE
Connect to an existing table, responds with symtab or error.
symtab_chan.inc:86Protocol P.SYMTABSRV.OUT
PROTOCOL P.SYMTABSRV.OUT
Symbol table service output protocol.
symtab_chan.inc:88Tag error
error
Generic error.
symtab_chan.inc:89Tag symtab
symtab; SHARED CT.SYMTAB!
Connection to symbol table handler.
symtab_chan.inc:93Channel type CT.SYMTABSRV
CHAN TYPE CT.SYMTABSRV
Symbol table service channel-type.