Lines Matching refs:ops
64 struct hx509_keyset_ops *ops;
81 _hx509_ks_register(hx509_context context, struct hx509_keyset_ops *ops)
85 if (_hx509_ks_type(context, ops->name))
92 val[context->ks_num_ops] = ops;
105 c->ops->free(c, c->ops_data);
130 struct hx509_keyset_ops *ops;
155 ops = _hx509_ks_type(context, type);
156 if (ops == NULL) {
170 c->ops = ops;
172 ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock);
203 if (certs->ops->store == NULL) {
207 certs->ops->name);
211 return (*certs->ops->store)(context, certs, certs->ops_data, flags, lock);
260 if (certs->ops->iter_start == NULL) {
263 certs->ops->name);
267 ret = (*certs->ops->iter_start)(context, certs, certs->ops_data, cursor);
296 return (*certs->ops->iter)(context, certs, certs->ops_data, cursor, cert);
316 (*certs->ops->iter_end)(context, certs, certs->ops_data, cursor);
471 if (certs->ops->add == NULL) {
474 certs->ops->name);
478 return (*certs->ops->add)(context, certs, certs->ops_data, cert);
507 if (certs->ops->query) {
508 ret = (*certs->ops->query)(context, certs, certs->ops_data, q, r);
741 if (certs->ops->printinfo == NULL) {
745 return (*certs->ops->printinfo)(context, certs, certs->ops_data,
770 if (certs->ops->getkeys == NULL) {
774 return (*certs->ops->getkeys)(context, certs, certs->ops_data, keys);
782 if (certs->ops->addkey == NULL) {
786 certs->ops->name);
789 return (*certs->ops->addkey)(context, certs, certs->ops_data, key);