Lines Matching refs:qinfo

117   struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
119 if (qinfo != NULL)
121 ubuffree (qinfo->zmail);
122 ubuffree (qinfo->zfile);
123 ubuffree (qinfo->ztemp);
152 struct srecinfo *qinfo;
258 qinfo = (struct srecinfo *) xmalloc (sizeof (struct srecinfo));
260 qinfo->zmail = NULL;
262 qinfo->zmail = zbufcpy (qcmd->zuser);
263 qinfo->zfile = zfile;
264 qinfo->ztemp = NULL;
265 qinfo->fspool = fspool;
266 qinfo->flocal = TRUE;
267 qinfo->freceived = FALSE;
268 qinfo->freplied = TRUE;
272 qtrans->pinfo = (pointer) qinfo;
308 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
317 qinfo->ztemp = zsysdep_receive_temp (qdaemon->qsys, qinfo->zfile,
322 if (qinfo->ztemp == NULL)
336 cbytes = csysdep_bytes_free (qinfo->ztemp);
337 cbytes2 = csysdep_bytes_free (qinfo->zfile);
410 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
485 qtrans->e = esysdep_open_receive (qdaemon->qsys, qinfo->zfile,
486 (const char *) NULL, qinfo->ztemp,
492 if (qinfo->fspool)
495 zlog = qinfo->zfile;
527 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
530 cfree1 = csysdep_bytes_free (qinfo->ztemp);
531 cfree2 = csysdep_bytes_free (qinfo->zfile);
536 ulog (LOG_ERROR, "%s: too big to receive now", qinfo->zfile);
586 struct srecinfo *qinfo;
740 qinfo = (struct srecinfo *) xmalloc (sizeof (struct srecinfo));
742 qinfo->zmail = NULL;
744 qinfo->zmail = zbufcpy (qcmd->znotify);
745 qinfo->zfile = zfile;
746 qinfo->ztemp = ztemp;
747 qinfo->fspool = fspool;
748 qinfo->flocal = FALSE;
749 qinfo->freceived = FALSE;
750 qinfo->freplied = FALSE;
756 qtrans->pinfo = (pointer) qinfo;
766 if (qinfo->fspool)
769 zlog = qinfo->zfile;
800 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
808 if (qinfo->freceived)
822 qinfo->freplied = TRUE;
829 (void) remove (qinfo->ztemp);
842 (void) remove (qinfo->ztemp);
861 struct srecfailinfo *qinfo;
864 qinfo = (struct srecfailinfo *) xmalloc (sizeof (struct srecfailinfo));
865 qinfo->twhy = twhy;
866 qinfo->fsent = FALSE;
870 qinfo->freceived = qdaemon->cchans <= 1;
876 qtrans->pinfo = (pointer) qinfo;
889 struct srecfailinfo *qinfo = (struct srecfailinfo *) qtrans->pinfo;
896 switch (qinfo->twhy)
925 if (! qinfo->freceived)
927 qinfo->fsent = TRUE;
954 struct srecfailinfo *qinfo = (struct srecfailinfo *) qtrans->pinfo;
963 qinfo->freceived = TRUE;
966 if (qinfo->fsent)
987 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
994 qinfo->freplied ? "TRUE" : "FALSE");
1003 (void) remove (qinfo->ztemp);
1011 qinfo->freceived = TRUE;
1022 (void) remove (qinfo->ztemp);
1028 (void) remove (qinfo->ztemp);
1034 if (! fsysdep_move_file (qinfo->ztemp, qinfo->zfile, qinfo->fspool,
1035 FALSE, ! qinfo->fspool,
1036 (qinfo->flocal
1045 cspace = csysdep_bytes_free (qinfo->ztemp);
1052 (void) remove (qinfo->ztemp);
1061 + strlen (qinfo->ztemp));
1063 qinfo->ztemp);
1068 az[i++] = qinfo->ztemp;
1083 ulog (LOG_ERROR, "%s: %s", qinfo->zfile, zerr);
1088 if (! qinfo->fspool)
1099 (void) fsysdep_change_mode (qinfo->zfile, imode);
1113 if (qinfo->zmail != NULL && *qinfo->zmail != '\0')
1114 (void) fmail_transfer (TRUE, qtrans->s.zuser, qinfo->zmail,
1123 if (! qinfo->flocal)
1141 if (qinfo->flocal && fnever)
1143 (void) fmail_transfer (FALSE, qtrans->s.zuser, qinfo->zmail,
1287 || (qinfo->fspool && qtrans->s.zto[0] == 'X')))
1303 qinfo->fmoved = zerr == NULL;
1304 if (qinfo->freplied)
1317 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
1321 if (! qinfo->fmoved)
1340 if (! qinfo->flocal && qinfo->fmoved)
1362 struct srecinfo *qinfo = (struct srecinfo *) qtrans->pinfo;
1368 (void) remove (qinfo->ztemp);