www.pudn.com > apdb2ndb.rar > atn_init_seq_read.cc
//
//
//
//
#include "atn_inc.h"
// MSG OK
ATN_FDEF int atn_init_seq_read(atn_com &com , AirSeq **seq)
{
int rc = 0;
int rcode = 0;
try {
*seq = new AirSeq(*com.arch);
}
catch(...) {
// Message : no enough memory
com.afm->message("atn0800",
AIR_MSG_CHR,"file",__FILE__,
AIR_MSG_INT,"line",__LINE__,AIR_MSG_END);
atn_debug(__FILE__,__LINE__,"failure to init. AirSeq\n");
rcode = -1;
goto exit_func;
}
(*seq)->seq_reset();
exit_func:
return rcode;
}