Lines Matching defs:lcl
21 static const char rcsid[] = "Id: lcl.c,v 1.4 2005/04/27 04:56:30 sra Exp";
58 struct lcl_p *lcl;
67 if (!(lcl = memget(sizeof *lcl))) {
72 memset(lcl, 0x5e, sizeof *lcl);
73 lcl->res = NULL;
74 lcl->free_res = NULL;
75 acc->private = lcl;
100 struct lcl_p *lcl = (struct lcl_p *)this->private;
102 if (lcl->res == NULL) {
111 if ((lcl->res->options & RES_INIT) == 0U &&
112 res_ninit(lcl->res) < 0)
115 return (lcl->res);
121 struct lcl_p *lcl = (struct lcl_p *)this->private;
123 if (lcl->res && lcl->free_res) {
124 res_nclose(lcl->res);
125 (*lcl->free_res)(lcl->res);
128 lcl->res = res;
129 lcl->free_res = free_res;
134 struct lcl_p *lcl = (struct lcl_p *)this->private;
136 if (lcl) {
137 if (lcl->free_res)
138 (*lcl->free_res)(lcl->res);
139 memput(lcl, sizeof *lcl);