Lines Matching defs:obj

145 static void                    setOid(nis_object *obj);
215 mappingFromObj(nis_object *obj, int *statP) {
221 if (obj == 0 || obj->zo_data.zo_type == NIS_ENTRY_OBJ)
229 NIL(obj->zo_name), NIL(obj->zo_domain));
248 selectMapping(db_table *table, nis_object *obj, db_query *qin,
258 * If 'table' is NULL, we try to find a mapping for 'obj'.
268 t = mappingFromObj(obj, statP);
320 * still be mapping the object 'obj'.
408 t = mappingFromObj(obj, statP);
434 * resides. 'obj' is an un-XDR:ed copy of the object in 'e', optionally
448 nis_object *obj, nis_object *tobj, uint32_t ttime,
489 myself, NIL(obj->zo_name),
498 if (dbie != 0 && obj == 0) {
499 obj = unmakePseudoEntryObj(e, tobj);
500 if (obj == 0) {
503 myself, NIL(obj->zo_name),
513 if (dbie != 0 && sameNisPlusObj(oldObj, obj)) {
518 nis_destroy_object(obj);
575 if (replace && obj == 0) {
576 obj = unmakePseudoEntryObj(e, tobj);
577 if (obj == 0) {
580 myself, NIL(obj->zo_name),
599 myself, NIL(obj->zo_name), NIL(tableName));
601 nis_destroy_object(obj);
623 numAttrs, attr, obj, 0, ttime);
631 myself, NIL(obj->zo_name), NIL(tableName));
641 nis_destroy_object(obj);
1065 dirObj = findObj(t->obj->zo_domain, &dstat, &stat);
1083 * Remove the LDAP entry/entries corresponding to 'qin'/'obj'.
1086 db_mindex::removeLDAP(db_query *qin, nis_object *obj) {
1115 * info from 'obj'.
1118 t = selectMapping(0, obj, 0, TRUE, &asObj,
1267 * Store data specified by the index-query 'qin' to LDAP. If 'obj' is
1270 * the actual nis_object 'o'; if 'o' is NULL, it's derived from 'obj'.
1283 db_mindex::storeLDAP(db_query *qin, entry_object *obj, nis_object *o,
1317 } else if (obj != 0) {
1318 if (obj->en_type == 0 ||
1319 strcmp(obj->en_type, "IN_DIRECTORY") != 0)
1330 * Try to get a mapping from 'o' or 'obj'.
1333 if (o == 0 && obj != 0) {
1334 o = unmakePseudoEntryObj(obj, 0);
1355 if (obj != 0) {
1356 o = unmakePseudoEntryObj(obj, 0);
1409 * If the entry object 'obj' has the type "IN_DIRECTORY",
1414 if (obj == 0 || obj->en_type == 0 ||
1415 strcmp(obj->en_type, "IN_DIRECTORY") != 0)
1423 stat = storeObjLDAP(t, t->obj);
1432 if (qin != NULL && obj != NULL) {
1466 qa[0] = pseudoEntryObj2Query(obj, t->obj, &rv[0]);
1478 qold[0] = pseudoEntryObj2Query(oldObj, t->obj, 0);
1569 t->obj, &rv[nq]);
1572 "%s: Could not create query from entry obj for \"%s\"",
1599 } else if (qin == 0 && obj == 0 && t->objType == NIS_TABLE_OBJ) {
1628 qa[i] = pseudoEntryObj2Query(tab[i], t->obj, &rv[i]);
1689 setOid(nis_object *obj) {
1690 if (obj != 0) {
1691 obj->zo_oid.ctime = obj->zo_oid.mtime = time(0);