/* IRCfs - IRC FileServ for *nix. * Copyright (C) 2002 Nick 'Zaf' Clifford * For licensing details, refer to the LICENSE file in the source * code directory. */ #ifndef __include_stack_h__ #define __include_stack_h__ #include "list.h" #define stack list #define stack_create(p) list_create(p) #define stack_destroy(p) list_destroy(p) #define stack_push(st,i) list_add_front(st,i) #define stack_pop(st) list_pop_first(st) #define stack_peek(st) list_get_first(st) #endif