Home
last modified time | relevance | path

Searched refs:db_val (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/aux/
H A Deditmap.c100 SMDB_DBENT db_key, db_val; local
325 memset(&db_val, '\0', sizeof db_val);
332 errno = database->smdb_get(database, &db_key, &db_val, 0);
343 printf("%.*s\n", (int) db_val.size,
344 (char *) db_val.data);
350 memset(&db_val, '\0', sizeof db_val);
356 db_val.data = value;
357 db_val.size = strlen(value);
359 db_val.size++;
361 errno = database->smdb_put(database, &db_key, &db_val,
[all …]
H A Dmakemap.c104 SMDB_DBENT db_key, db_val; local
373 memset(&db_val, '\0', sizeof db_val);
377 errno = cursor->smdbc_get(cursor, &db_key, &db_val,
387 (int) db_val.size,
388 (char *)db_val.data);
432 memset(&db_val, '\0', sizeof db_val);
458 db_val.data = p;
459 db_val.size = strlen(p);
461 db_val.size++;
472 (char *) db_val.data);
[all …]