Files
bitchx/include/stack.h
Kevin Easton 28febcfea9 Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00

50 lines
1.0 KiB
C

/*
* stack.h - header for stack.c
*
* written by matthew green
*
* copyright (c) 1993, 1994.
*
* @(#)$Id: stack.h,v 1.1.1.1 2003/04/11 01:09:07 dan Exp $
*/
#ifndef __stack_h_
# define __stack_h_
#include "hook.h"
#include "alias.h"
void stackcmd (char *, char *, char *, char *);
#define STACK_POP 0
#define STACK_PUSH 1
#define STACK_SWAP 2
#define STACK_LIST 3
#define STACK_DO_ALIAS 0x0001
#define STACK_DO_ASSIGN 0x0002
typedef struct AliasStru1
{
char *name; /* name of alias */
char *stuff; /* what the alias is */
char *stub; /* the file its stubbed to */
int mark; /* used to prevent recursive aliasing */
int global; /* set if loaded from `global' */
void *what; /* pointer to structure */
int struct_type; /* type of structure */
struct AliasStru1 *next; /* pointer to next alias in list */
} Alias1;
typedef struct aliasstacklist1
{
int which;
char *name;
IrcVariable *set;
enum VAR_TYPES var_index;
Alias1 *list;
struct aliasstacklist1 *next;
} AliasStack1;
#endif /* __stack_h_ */