Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

interp.cc File Reference

Command parser module. More...

#include "services.h"
#include "operserv.h"
#include "log.h"
#include "interp.h"

Go to the source code of this file.

Namespaces

namespace  interp

Defines

#define TBL(ccname)   { ccname, #ccname }
 Enter an event log constant into the command table.

#define TF(ccname, fname)   { ccname, #ccname, fname }
 Enter a log constant bound to a command function into the command table.


Detailed Description

Command parser module.

This module implements dispatch-table parsing of all services commands rather than a nasty maze of strcasecmps or discrete dispatch table implementations per service; this module provides for a unified interface that can be used to parse nearly any command for any service.

Author:
James Hess
Date:
2000-2001
Id
interp.cc,v 1.1.1.1 2003/07/04 02:54:05 Mysid Exp

Definition in file interp.cc.


Generated at Sat Oct 25 20:56:11 2003 for Services using Doxygen.
Services Copyr. 1996-2001 Chip Norkus, Max Byrd, Greg Poma, Michael Graff, James Hess, Dafydd James. All rights reserved See LICENSE for licensing information.