Lines Matching defs:res
65 struct certinfo *res;
67 res = malloc(sizeof(*res));
68 if (!res)
71 memset(res, 0, sizeof(*res));
72 res->ci_type = qtype;
73 res->ci_keytag = keytag;
74 res->ci_algorithm = algorithm;
75 res->ci_flags = flags;
76 res->ci_certlen = certlen;
77 res->ci_cert = malloc(certlen);
78 if (!res->ci_cert) {
79 free(res);
82 memcpy(res->ci_cert, cert, certlen);
84 return res;
112 getcertsbyname(name, res)
114 struct certinfo **res;
124 /* initialize res */
125 *res = NULL;
182 *res = head.ci_next;
195 getcertsbyname(name, res)
197 struct certinfo **res;
209 /* initialize res */
210 *res = NULL;
323 *res = head.ci_next;
376 struct certinfo *res, *p;
384 i = getcertsbyname(*(av + 1), &res);
392 for (p = res; p; p = p->ci_next) {
405 freecertinfo(res);