Lines Matching defs:acptr
106 register struct acData * acptr;
108 acptr = &Acct; /* Point to Acct data. */
110 acptr->uid, FS,
111 acptr->jobID, FS,
112 acptr->jobsize, FS,
113 acptr->status, FS,
114 acptr->service, FS,
115 acptr->jobgrade, FS,
116 acptr->origSystem, FS,
117 acptr->origUser, FS,
118 acptr->time, FS,
119 acptr->rmtSystem, FS,
120 acptr->rmtUser, FS,
121 acptr->device, FS,
122 acptr->netid, FS,
123 acptr->type, FS,
124 acptr->path, FS);
154 register struct acData * acptr = &Acct;
157 copyText(acptr->rmtSystem, sizeof(acptr->rmtSystem), remote);
158 copyText(acptr->device, sizeof(acptr->device), device);
159 acptr->service = 'S'; /* default to standard service */
183 register struct acData * acptr = &Acct;
187 if (strcmp(acptr->jobID,jobid) == 0)
189 if ((*acptr->jobID != NULLCHAR) && (acptr->jobsize != 0)){
192 copyText(acptr->jobID, sizeof(acptr->jobID), jobid);
193 copyText(acptr->origSystem, sizeof(acptr->origSystem), system);
194 copyText(acptr->origUser, sizeof(acptr->origUser), user);
195 copyText(acptr->time, sizeof(acptr->time), timeStamp());
196 acptr->jobgrade[0] = jobid[strlen(jobid)-5];
197 acptr->jobgrade[1] = NULLCHAR;/* get job grade from jobid */
198 acptr->jobsize = 0;
201 sprintf(acptr->uid,"%ld",(long) passent->pw_uid);
213 register struct acData * acptr = &Acct;
216 if (((*acptr->jobID != NULLCHAR) && (acptr->jobsize != 0))
218 acptr->status = status;
229 register struct acData * acptr = &Acct;
232 acptr->jobsize += getfilesize();
252 register struct acData * acptr = &Acct;
261 acptr->service = STD; /* default to standard service */
262 acptr->status = COMPLETE; /* default to completed transfer */
263 copyText(acptr->jobgrade, sizeof(acptr->jobgrade), NOTAVAIL);
264 copyText(acptr->uid, sizeof(acptr->uid), NOTAVAIL);
265 copyText(acptr->origSystem, sizeof(acptr->origSystem), NOTAVAIL);
266 copyText(acptr->origUser, sizeof(acptr->origUser), NOTAVAIL);
267 copyText(acptr->rmtSystem, sizeof(acptr->rmtSystem), NOTAVAIL);
268 copyText(acptr->rmtUser, sizeof(acptr->rmtUser), NOTAVAIL);
269 copyText(acptr->device, sizeof(acptr->device), NOTAVAIL);
270 copyText(acptr->netid, sizeof(acptr->netid), NOTAVAIL);
271 copyText(acptr->path, sizeof(acptr->path), NOTAVAIL);
272 copyText(acptr->type, sizeof(acptr->type), type);
297 register struct acData * acptr = &Acct;
300 copyText(acptr->jobID, sizeof(acptr->jobID), jobid);
301 copyText(acptr->origSystem, sizeof(acptr->origSystem), origsys);
302 copyText(acptr->origUser, sizeof(acptr->origUser), origuser);
303 copyText(acptr->rmtSystem, sizeof(acptr->rmtSystem), connsys);
304 copyText(acptr->rmtUser, sizeof(acptr->rmtUser), connuser);
305 copyText(acptr->path, sizeof(acptr->path), cmd);
306 copyText(acptr->time, sizeof(acptr->time), timeStamp());
319 register struct acData * acptr = &Acct;
322 acptr->jobsize = cycle;
323 acptr->status = status;