Lines Matching full:value
20 typedef BOOL (*dictCleanupFunc)(char *id, void *value, void *rock);
21 typedef void (*dictFreeValueFunc)(void *value, void *rock);
37 * freeValue - callback when freeing a value
67 * Function: dictSearch - search for value in dictionary.
68 * Description: Searches for <id> in <dict>, and returns value if
71 * the returned value. Until this lock is passed to
72 * dictReleaseLock(), the value will not be passed to the
76 * plock - place for value lock (or NULL).
77 * Output: plock - set to value lock.
78 * Return: Value associated with <id>, or NULL if <id> not found.
84 * Function: dictNext - search for next value in dictionary.
87 * isn't usefully externally. Will return the value if
90 * the returned value. Until this lock is passed to
91 * dictReleaseLock(), the value will not be passed to the
96 * plock - place for value lock (or NULL).
97 * Output: plock - set to value lock.
98 * id - pointer to id of found value
99 * Return: Value associated with <id>, or NULL if <id> not found.
105 * Function: dictReleaseLock - release lock on value.
106 * Description: Releases the lock on the value associated with <lock>. Once
108 * be called for the value (see dictCleanup()).
109 * Input: dict - dictionary containing value to release.
116 NEOERR *dictSetValue(dictCtx dict, const char *id, void *value);
118 * Function: dictSetValue - set/reset an items value.
119 * Description: Updates the <id>/<value> pair into <dict>.
123 * value - value to store (may NOT be NULL)
130 typedef NEOERR *(*dictUpdateValueCB)(const char *id, void *value, void *rock);
136 * Description: Finds <id>'s value and calls <update>. If <id> is
137 * not in <dict>, calls <new> to obtain a new value.
139 * id - identifier of value
140 * new - function to call to create new value (may be NULL)
141 * update - function to call to modify value (if NULL, the old
142 * value is freed, and <new> is used)