/[cvs]/eggdrop1.9/src/egglib/mstack.h
ViewVC logotype

Contents of /eggdrop1.9/src/egglib/mstack.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Sun Oct 28 13:30:35 2001 UTC (17 years, 11 months ago) by ite
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
File MIME type: text/x-csrc
FILE REMOVED
Renamed src/adns, src/compat, src/egglib to lib/adns, lib/compat, lib/egglib respectively.

1 #ifndef _MSTACK_H_
2 #define _MSTACK_H_
3
4 typedef struct mstack_b {
5 int len;
6 int max;
7 int *stack;
8 } mstack_t;
9
10 #ifndef MAKING_MODS
11 mstack_t *mstack_new(int initial_size);
12 int mstack_destroy(mstack_t *m);
13 void *mstack_push(mstack_t *m, void *item);
14 int mstack_pop(mstack_t *m, void **itemptr);
15 int mstack_grow(mstack_t *m, int nsteps);
16 #endif
17
18 #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23