/*
// ColdMUD was created and is copyright 1993, 1994 by Greg Hudson
//
// ColdX is a derivitive work, and is copyright 1995 by the ColdX Project.
// Full copyright information can be found in the file doc/CREDITS
//
// File: opcodes.h
// Version: 0.1-5
// Last Edited: 18 May 1995
//
// ---
//
// Declarations for the opcodes table.
*/
#ifndef OPCODES_H
#define OPCODES_H
typedef struct op_info Op_info;
#include "ident.h"
#include "object.h" /* typedef Dbref */
struct op_info {
long opcode;
char *name;
void (*func)(void);
int arg1;
int arg2;
Ident symbol;
Dbref binding; /* Brandon: 10-Mar-95 */
};
extern Op_info op_table[LAST_TOKEN];
void init_op_table(void);
int find_function(char *name);
#endif