Searched refs:kv_list (Results 1 - 3 of 3) sorted by relevance
/sssd/src/sss_client/idmap/ |
H A D | sss_nss_idmap.h | 109 * @param[out] kv_list A NULL terminate list of key-value pairs where the key 123 int sss_nss_getorigbyname(const char *fq_name, struct sss_nss_kv **kv_list, 144 * @param[in] kv_list Key-value list returned by sss_nss_getorigbyname(). 146 void sss_nss_free_kv(struct sss_nss_kv *kv_list);
|
H A D | sss_nss_idmap.c | 44 struct sss_nss_kv *kv_list; member in union:output::__anon27 62 void sss_nss_free_kv(struct sss_nss_kv *kv_list) argument 66 if (kv_list != NULL) { 67 for (c = 0; kv_list[c].key != NULL; c++) { 68 free(kv_list[c].key); 69 free(kv_list[c].value); 71 free(kv_list); 76 struct sss_nss_kv **kv_list) 129 *kv_list = list; 155 struct sss_nss_kv *kv_list; local 75 buf_to_kv_list(uint8_t *buf, size_t buf_len, struct sss_nss_kv **kv_list) argument 352 sss_nss_getorigbyname(const char *fq_name, struct sss_nss_kv **kv_list, enum sss_id_type *type) argument [all...] |
/sssd/src/tests/cmocka/ |
H A D | sss_nss_idmap-tests.c | 133 struct sss_nss_kv *kv_list; local 138 ret = sss_nss_getorigbyname("test", &kv_list, &type); 141 assert_string_equal(kv_list[0].key, "key"); 142 assert_string_equal(kv_list[0].value, "value"); 143 assert_null(kv_list[1].key); 144 assert_null(kv_list[1].value); 146 sss_nss_free_kv(kv_list);
|
Completed in 64 milliseconds