Lines Matching defs:shp
180 Shell_t *shp = (Shell_t*)hp->histshell;
199 if(shp->euserid >=id1 && shp->euserid <= id2)
201 if(shp->userid >=id1 && shp->userid <= id2)
230 Shell_t *shp = (Shell_t*)sh_context;
239 if(shp->hist_ptr=hist_ptr)
256 shp->hist_ptr = hist_ptr = hp;
293 if(shp->userid)
315 shp->hist_ptr = hist_ptr = hp;
316 hp->histshell = (void*)shp;
412 Shell_t *shp = (Shell_t*)hp->histshell;
424 shp->hist_ptr = 0;
803 Shell_t *shp = (Shell_t*)hp->histshell;
805 sfprintf(hp->auditfp,"%u;%u;%s;%*s%c",sh_isoption(SH_PRIVILEGED)?shp->euserid:shp->userid,t,hp->tty,size,buff,0);