Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sendmail/util/
H A Deditmap.c98 SMDB_DBENT db_key, db_val; local
323 memset(&db_val, '\0', sizeof db_val);
330 errno = database->smdb_get(database, &db_key, &db_val, 0);
341 printf("%.*s\n", (int) db_val.size,
342 (char *) db_val.data);
348 memset(&db_val, '\0', sizeof db_val);
354 db_val.data = value;
355 db_val.size = strlen(value);
357 db_val.size++;
359 errno = database->smdb_put(database, &db_key, &db_val,
[all …]
H A Dmakemap.c101 SMDB_DBENT db_key, db_val; local
370 memset(&db_val, '\0', sizeof db_val);
374 errno = cursor->smdbc_get(cursor, &db_key, &db_val,
384 (int) db_val.size,
385 (char *)db_val.data);
429 memset(&db_val, '\0', sizeof db_val);
455 db_val.data = p;
456 db_val.size = strlen(p);
458 db_val.size++;
469 (char *) db_val.data);
[all …]