Lines Matching defs:key
43 * Add a new key/value pair to the hx509_env.
47 * @param key key to add
57 const char *key, const char *value)
69 n->name = strdup(key);
94 * Add a new key/binding pair to the hx509_env.
98 * @param key key to add
108 const char *key, hx509_env list)
120 n->name = strdup(key);
141 * Search the hx509_env for a length based key.
145 * @param key key to search for.
146 * @param len length of key.
148 * @return the value if the key is found, NULL otherwise.
155 const char *key, size_t len)
158 if (strncmp(key, env->name ,len) == 0
167 * Search the hx509_env for a key.
171 * @param key key to search for.
173 * @return the value if the key is found, NULL otherwise.
179 hx509_env_find(hx509_context context, hx509_env env, const char *key)
182 if (strcmp(key, env->name) == 0 && env->type == env_string)
194 * @param key key to search for.
196 * @return the binding if the key is found, NULL if not found.
204 const char *key)
207 if (strcmp(key, env->name) == 0 && env->type == env_list)