Lines Matching refs:lcl
19 static const char rcsid[] = "$Id: lcl.c,v 1.4 2005/04/27 04:56:30 sra Exp $";
56 struct lcl_p *lcl;
65 if (!(lcl = memget(sizeof *lcl))) {
70 memset(lcl, 0x5e, sizeof *lcl);
71 lcl->res = NULL;
72 lcl->free_res = NULL;
73 acc->private = lcl;
98 struct lcl_p *lcl = (struct lcl_p *)this->private;
100 if (lcl->res == NULL) {
109 if ((lcl->res->options & RES_INIT) == 0U &&
110 res_ninit(lcl->res) < 0)
113 return (lcl->res);
119 struct lcl_p *lcl = (struct lcl_p *)this->private;
121 if (lcl->res && lcl->free_res) {
122 res_nclose(lcl->res);
123 (*lcl->free_res)(lcl->res);
126 lcl->res = res;
127 lcl->free_res = free_res;
132 struct lcl_p *lcl = (struct lcl_p *)this->private;
134 if (lcl) {
135 if (lcl->free_res)
136 (*lcl->free_res)(lcl->res);
137 memput(lcl, sizeof *lcl);