Lines Matching refs:key
59 * first key/value pair from the map data base. The returned key should be
67 char **key, /* return: key array */
68 int *keylen, /* return: bytes in key */
96 key, keylen, val, vallen);
120 char **key, /* return: key array */
121 int *keylen, /* return: bytes in key */
126 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1));
134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen)
139 char **key;
183 if ((*key = malloc((size_t)resp.keydat.dsize + 2)) != NULL) {
187 free(*key);
196 /* Copy the returned key and value byte strings into the new memory */
200 (void) memcpy(*key, resp.keydat.dptr,
202 (*key)[resp.keydat.dsize] = '\n';
203 (*key)[resp.keydat.dsize + 1] = '\0';
219 * "next" key/value pair from the map data base. The input key should be
221 * returned key should be used as an input to the next call to ypclnt_next.
231 char **outkey, /* return: key array associated with val */
232 int *outkeylen, /* return: bytes in key */
288 char **outkey, /* return: key array associated with val */
289 int *outkeylen, /* return: bytes in key */
311 char **outkey; /* return: key array associated with val */
312 int *outkeylen; /* return: bytes in key */
369 /* Copy the returned key and value byte strings into the new memory */