POS Transaction Analyzer User and Installation Guide, SST Version 1.2
Appendix C 156
/* Field 1 is going to show the Transaction Time */
/***************************************************/
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_dat.yy,2);
fld1 += 2; *fld1 = '/'; fld1++;
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_dat.mm,2);
fld1 += 2; *fld1 = '/'; fld1++;
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_dat.dd,2);
fld1 += 2; *fld1 = ' '; fld1++;
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_tim.hh,2);
fld1 += 2; *fld1 = ':'; fld1++;
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_tim.mm,2);
fld1 += 2; *fld1 = ':'; fld1++;
memcpy(fld1, ptlfRec->u_ptlf_auth_buf.ptlf_auth_buf.auth.tran_tim.ss,2);
/***************************************************/
/* Field 2 is going to show the CARD number */
/***************************************************/
memcpy(fld2, ptlfRec->head.crd.card.crd_num.num, 16);
***************************************************/
return;
}
void copyCustomData(void *ptr,char *txVarData,short txVarDataLen)
{
ptlf_cob_buf_def *ptlfRec = (ptlf_cob_buf_def *)ptr;
/* Copy the custom-data in the txVarData up to length txVarDataLen
as configured CUSTOM-DATA-LEN in PTLFCONF file*/
return;
}