Lines Matching defs:ops
37 repops_t *ops;
45 ops = rops[repnum];
46 if ((ops->lock != NULL) &&
47 (ret = ops->lock()) != PWU_SUCCESS) {
53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) {
58 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) {
69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS)
72 if (((ret = ops->putpwnam(username, NULL, NULL, buf)) ==
78 if (ops->unlock != NULL) {
79 ops->unlock();
96 repops_t *ops;
104 ops = rops[repnum];
105 if ((ops->lock != NULL) &&
106 (ret = ops->lock()) != PWU_SUCCESS) {
112 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS)
114 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS)
116 ret = ops->putpwnam(username, NULL, NULL, buf);
118 if (ops->unlock != NULL) {
119 ops->unlock();