• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/iniparser/src/

Lines Matching defs:key

45   association is identified by a unique string key. Looking up values
54 char ** key ; /** List of string keys */
65 @brief Compute the hash key for a string.
66 @param key Character string to use for key.
71 The key is stored anyway in the struct so that collision can be avoided
72 by comparing the key itself in last resort.
75 unsigned dictionary_hash(char * key);
105 @param key Key to look for in the dictionary.
106 @param def Default value to return if key not found.
109 This function locates a key in a dictionary and returns a pointer to its
110 value, or the passed 'def' pointer if no such key can be found in
115 char * dictionary_get(dictionary * d, char * key, char * def);
122 @param key Key to look for in the dictionary.
123 @param def Default value for the key if not found.
126 This function locates a key in a dictionary using dictionary_get,
130 char dictionary_getchar(dictionary * d, char * key, char def) ;
136 @param key Key to look for in the dictionary.
137 @param def Default value for the key if not found.
140 This function locates a key in a dictionary using dictionary_get,
145 int dictionary_getint(dictionary * d, char * key, int def);
151 @param key Key to look for in the dictionary.
152 @param def Default value for the key if not found.
155 This function locates a key in a dictionary using dictionary_get,
160 double dictionary_getdouble(dictionary * d, char * key, double def);
166 @param key Key to modify or add.
170 If the given key is found in the dictionary, the associated value is
171 replaced by the provided one. If the key cannot be found in the
175 or the key are considered as errors: the function will return immediately
182 dictionary. It is not possible (in this implementation) to have a key in
186 void dictionary_set(dictionary * vd, char * key, char * val);
190 @brief Delete a key in a dictionary
192 @param key Key to remove.
195 This function deletes a key in a dictionary. Nothing is done if the
196 key cannot be found.
199 void dictionary_unset(dictionary * d, char * key);
204 @brief Set a key in a dictionary, providing an int.
206 @param key Key to modify or add
214 void dictionary_setint(dictionary * d, char * key, int val);
218 @brief Set a key in a dictionary, providing a double.
220 @param key Key to modify or add
228 void dictionary_setdouble(dictionary * d, char * key, double val);