/src/usr.sbin/ypserv/ypxfr/ |
ypxfr.c | 294 ypxfr_foreach(int status, char *keystr, int keylen, char *valstr, 302 keystr[keylen] = '\0'; 305 key.dptr = keystr; 306 key.dsize = strlen(keystr); 455 char keystr[] = YP_LAST_KEY; local in function:add_order 460 key.dptr = keystr; 461 key.dsize = strlen(keystr); 478 char keystr[] = YP_MASTER_KEY; local in function:add_master 489 key.dptr = keystr; 490 key.dsize = strlen(keystr); 510 char keystr[] = YP_INTERDOMAIN_KEY; local in function:add_interdomain 547 char keystr[] = YP_SECURE_KEY; local in function:add_secure [all...] |
/src/usr.bin/db/ |
db.c | 427 db_makekey(DBT *key, char *keystr, int downcase, int decode) 434 if ((klen = decode_data(keystr, &ks)) == -1) 435 errx(1, "Invalid escape sequence in `%s'", keystr); 437 klen = strlen(keystr); 438 ks = keystr; 450 db_del(char *keystr) 455 db_makekey(&key, keystr, 1, (flags & F_DECODE_KEY ? 1 : 0)); 460 warn("Error deleting key `%s'", keystr); 465 printf("Deleted key `%s'\n", keystr); 469 warnx("Unknown key `%s'", keystr); [all...] |
/src/lib/libresolv/ |
hmac_link.c | 275 static const char keystr[] = "Key: "; local in function:dst_hmac_md5_key_to_file_format 290 if (BUF_LEFT < sizeof(keystr)) 293 memcpy(bp, keystr, sizeof(keystr) - 1); 294 bp += sizeof(keystr) - 1;
|
/src/usr.sbin/ypserv/ypserv/ |
ypserv_db.c | 466 lookup_host(int nametable, int host_lookup, DBM *db, char *keystr, 485 host = gethostbyname(keystr); 506 if (inet_aton(keystr, &addr_addr) == -1) 531 (void)snprintf(val, sizeof(val), "%s %s", keystr, host->h_name); 554 static char keystr[YPMAXRECORD + 1]; local in function:ypdb_get_record 587 (void)strlcpy(keystr, key.dptr, (size_t)key.dsize + 1); 589 host_lookup, db, keystr, &res);
|