Lines Matching refs:pn
63 PERSON *pn; in lflag_print() local
75 pn = tmp; in lflag_print()
78 lprint(pn); in lflag_print()
80 (void)show_text(pn->dir, in lflag_print()
82 (void)show_text(pn->dir, _PATH_PROJECT, "Project"); in lflag_print()
83 if (!show_text(pn->dir, _PATH_PLAN, "Plan")) in lflag_print()
85 (void)show_text(pn->dir, in lflag_print()
92 lprint(PERSON *pn) in lprint() argument
113 pn->name, pn->realname, pn->dir); in lprint()
114 (void)printf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL); in lprint()
125 if (pn->office && pn->officephone && in lprint()
126 strlen(pn->office) + strlen(pn->officephone) + in lprint()
129 OFFICE_TAG, pn->office, prphone(pn->officephone)); in lprint()
132 if (pn->office) { in lprint()
134 OFFICE_TAG, pn->office); in lprint()
137 if (pn->officephone) { in lprint()
139 OFFICE_PHONE_TAG, prphone(pn->officephone)); in lprint()
143 if (pn->homephone) { in lprint()
145 prphone(pn->homephone)); in lprint()
163 for (w = pn->whead, maxlen = -1; w != NULL; w = w->next) in lprint()
167 for (w = pn->whead; w != NULL; w = w->next) { in lprint()
222 if (pn->mailrecv == -1) in lprint()
224 else if (pn->mailrecv > pn->mailread) { in lprint()
225 tp = localtime(&pn->mailrecv); in lprint()
231 tp = localtime(&pn->mailread); in lprint()
238 tp = localtime(&pn->mailread); in lprint()