/* XDS v2.51: Copyright (c) 1999-2003 Excelsior, LLC. All Rights Reserved. */
/* Generated by XDS Modula-2 to ANSI C v4.20 translator */

#ifndef COROUTINES_H_
#define COROUTINES_H_
#ifndef X2C_H_
#include "X2C.h"
#endif

typedef void *COROUTINES_COROUTINE;

enum COROUTINES_INTERRUPTSOURCE {COROUTINES_i0, COROUTINES_i1, COROUTINES_i2,
                 COROUTINES_i3, COROUTINES_i4, COROUTINES_i5, COROUTINES_i6,
                COROUTINES_i7, COROUTINES_i8, COROUTINES_i9, 
   COROUTINES_i10, COROUTINES_i11, COROUTINES_i12, COROUTINES_i13,
                COROUTINES_i14, COROUTINES_i15, COROUTINES_i16,
                COROUTINES_i17, COROUTINES_i18, COROUTINES_i19, 
   COROUTINES_i20, COROUTINES_i21, COROUTINES_i22, COROUTINES_i23,
                COROUTINES_i24, COROUTINES_i25, COROUTINES_i26,
                COROUTINES_i27, COROUTINES_i28, COROUTINES_i29, 
   COROUTINES_i30, COROUTINES_i31, COROUTINES_i32, COROUTINES_i33,
                COROUTINES_i34, COROUTINES_i35, COROUTINES_i36,
                COROUTINES_i37, COROUTINES_i38, COROUTINES_i39, 
   COROUTINES_i40, COROUTINES_i41, COROUTINES_i42, COROUTINES_i43,
                COROUTINES_i44, COROUTINES_i45, COROUTINES_i46,
                COROUTINES_i47, COROUTINES_i48, COROUTINES_i49, 
   COROUTINES_i50, COROUTINES_i51, COROUTINES_i52, COROUTINES_i53,
                COROUTINES_i54, COROUTINES_i55, COROUTINES_i56,
                COROUTINES_i57, COROUTINES_i58, COROUTINES_i59, 
   COROUTINES_i60, COROUTINES_i61, COROUTINES_i62, COROUTINES_i63,
                COROUTINES_i64, COROUTINES_i65, COROUTINES_i66,
                COROUTINES_i67, COROUTINES_i68, COROUTINES_i69, 
   COROUTINES_i70, COROUTINES_i71, COROUTINES_i72, COROUTINES_i73,
                COROUTINES_i74, COROUTINES_i75, COROUTINES_i76,
                COROUTINES_i77, COROUTINES_i78, COROUTINES_i79, 
   COROUTINES_i80, COROUTINES_i81, COROUTINES_i82, COROUTINES_i83,
                COROUTINES_i84, COROUTINES_i85, COROUTINES_i86,
                COROUTINES_i87, COROUTINES_i88, COROUTINES_i89, 
   COROUTINES_i90, COROUTINES_i91, COROUTINES_i92, COROUTINES_i93,
                COROUTINES_i94, COROUTINES_i95, COROUTINES_i96,
                COROUTINES_i97, COROUTINES_i98, COROUTINES_i99, 
   COROUTINES_i100, COROUTINES_i101, COROUTINES_i102, COROUTINES_i103,
                COROUTINES_i104, COROUTINES_i105, COROUTINES_i106,
                COROUTINES_i107, COROUTINES_i108, COROUTINES_i109, 
   COROUTINES_i110, COROUTINES_i111, COROUTINES_i112, COROUTINES_i113,
                COROUTINES_i114, COROUTINES_i115, COROUTINES_i116,
                COROUTINES_i117, COROUTINES_i118, COROUTINES_i119, 
   COROUTINES_i120, COROUTINES_i121, COROUTINES_i122, COROUTINES_i123,
                COROUTINES_i124, COROUTINES_i125, COROUTINES_i126,
                COROUTINES_i127, COROUTINES_i128, COROUTINES_i129, 
   COROUTINES_i130, COROUTINES_i131, COROUTINES_i132, COROUTINES_i133,
                COROUTINES_i134, COROUTINES_i135, COROUTINES_i136,
                COROUTINES_i137, COROUTINES_i138, COROUTINES_i139, 
   COROUTINES_i140, COROUTINES_i141, COROUTINES_i142, COROUTINES_i143,
                COROUTINES_i144, COROUTINES_i145, COROUTINES_i146,
                COROUTINES_i147, COROUTINES_i148, COROUTINES_i149, 
   COROUTINES_i150, COROUTINES_i151, COROUTINES_i152, COROUTINES_i153,
                COROUTINES_i154, COROUTINES_i155, COROUTINES_i156,
                COROUTINES_i157, COROUTINES_i158, COROUTINES_i159, 
   COROUTINES_i160, COROUTINES_i161, COROUTINES_i162, COROUTINES_i163,
                COROUTINES_i164, COROUTINES_i165, COROUTINES_i166,
                COROUTINES_i167, COROUTINES_i168, COROUTINES_i169, 
   COROUTINES_i170, COROUTINES_i171, COROUTINES_i172, COROUTINES_i173,
                COROUTINES_i174, COROUTINES_i175, COROUTINES_i176,
                COROUTINES_i177, COROUTINES_i178, COROUTINES_i179, 
   COROUTINES_i180, COROUTINES_i181, COROUTINES_i182, COROUTINES_i183,
                COROUTINES_i184, COROUTINES_i185, COROUTINES_i186,
                COROUTINES_i187, COROUTINES_i188, COROUTINES_i189, 
   COROUTINES_i190, COROUTINES_i191, COROUTINES_i192, COROUTINES_i193,
                COROUTINES_i194, COROUTINES_i195, COROUTINES_i196,
                COROUTINES_i197, COROUTINES_i198, COROUTINES_i199, 
   COROUTINES_i200, COROUTINES_i201, COROUTINES_i202, COROUTINES_i203,
                COROUTINES_i204, COROUTINES_i205, COROUTINES_i206,
                COROUTINES_i207, COROUTINES_i208, COROUTINES_i209, 
   COROUTINES_i210, COROUTINES_i211, COROUTINES_i212, COROUTINES_i213,
                COROUTINES_i214, COROUTINES_i215, COROUTINES_i216,
                COROUTINES_i217, COROUTINES_i218, COROUTINES_i219, 
   COROUTINES_i220, COROUTINES_i221, COROUTINES_i222, COROUTINES_i223,
                COROUTINES_i224, COROUTINES_i225, COROUTINES_i226,
                COROUTINES_i227, COROUTINES_i228, COROUTINES_i229, 
   COROUTINES_i230, COROUTINES_i231, COROUTINES_i232, COROUTINES_i233,
                COROUTINES_i234, COROUTINES_i235, COROUTINES_i236,
                COROUTINES_i237, COROUTINES_i238, COROUTINES_i239, 
   COROUTINES_i240, COROUTINES_i241, COROUTINES_i242, COROUTINES_i243,
                COROUTINES_i244, COROUTINES_i245, COROUTINES_i246,
                COROUTINES_i247, COROUTINES_i248, COROUTINES_i249, 
   COROUTINES_i250, COROUTINES_i251, COROUTINES_i252, COROUTINES_i253,
                COROUTINES_i254, COROUTINES_i255};


extern void COROUTINES_NEWCOROUTINE(X2C_PROC, X2C_ADDRESS, X2C_CARD32,
                COROUTINES_COROUTINE *, X2C_PROTECTION);

extern void COROUTINES_TRANSFER(COROUTINES_COROUTINE *,
                COROUTINES_COROUTINE);

extern void COROUTINES_IOTRANSFER(COROUTINES_COROUTINE *,
                COROUTINES_COROUTINE);

extern void COROUTINES_ATTACH(X2C_CARD8);

extern void COROUTINES_DETACH(X2C_CARD8);

extern X2C_BOOLEAN COROUTINES_IsATTACHED(X2C_CARD8);

extern COROUTINES_COROUTINE COROUTINES_HANDLER(X2C_CARD8);

extern COROUTINES_COROUTINE COROUTINES_CURRENT(void);

extern void COROUTINES_LISTEN(X2C_PROTECTION);

extern X2C_PROTECTION COROUTINES_PROT(void);


extern void COROUTINES_BEGIN(void);


#endif /* COROUTINES_H_ */
