/* @@@HEAD@@@
// 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