Lines Matching defs:ops
36 repops_t *ops;
44 ops = rops[repnum];
45 if ((ops->lock != NULL) &&
46 (ret = ops->lock()) != PWU_SUCCESS) {
52 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) {
57 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) {
75 if ((ret = ops->update(items, NULL, buf)) != PWU_NO_CHANGE &&
85 if (((ret = ops->putpwnam(username, NULL, NULL, buf)) ==
91 if (ops->unlock != NULL) {
92 ops->unlock();
109 repops_t *ops;
117 ops = rops[repnum];
118 if ((ops->lock != NULL) &&
119 (ret = ops->lock()) != PWU_SUCCESS) {
125 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS)
127 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS)
129 ret = ops->putpwnam(username, NULL, NULL, buf);
131 if (ops->unlock != NULL) {
132 ops->unlock();