[BACK]Return to oxstack.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl

File: [local] / OpenXM / src / ox_ntl / oxstack.h (download)

Revision 1.1, Sat Nov 8 12:34:01 2003 UTC (20 years, 6 months ago) by iwane
Branch: MAIN
CVS Tags: RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, KNOPPIX_2006, DEB_REL_1_2_3-9

added signal handler - SIGUSR1
move stack functions   oxserv.c ==> oxstack.c
                       oxserv.h ==> oxstack.h
move convert functions ntl.cpp  ==> ntlconv.cpp

/* $OpenXM: OpenXM/src/ox_ntl/oxstack.h,v 1.1 2003/11/08 12:34:01 iwane Exp $ */

#ifndef __OX_STACK_H__
#define __OX_STACK_H__

#include "ox_toolkit.h"

#ifndef OXSERV_FAILURE
#define OXSERV_FAILURE	(-1)
#define OXSERV_SUCCESS  ( 0)
#endif


#ifdef __cplusplus
extern "C" {
#endif

int	 oxstack_init_stack	(void);
int	 oxstack_extend_stack	(void);
void	 oxstack_dest		(void);

int	 oxstack_push	(cmo *);
cmo	*oxstack_pop	(void);
cmo	*oxstack_get	(int);
cmo	*oxstack_peek	(void);

int	 oxstack_get_stack_pointer	(void);

#ifdef __cplusplus
}
#endif

#endif /* !__OX_STACK_H__ */