MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / g_hash_table_iter_next

Function g_hash_table_iter_next

include/portability.h:130–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static inline gboolean
131g_hash_table_iter_next(GHashTableIter * iter, gpointer * key, gpointer * value)
132{
133 gboolean found = FALSE;
134
135 iter->lpc = 0;
136 iter->key = NULL;
137 iter->value = NULL;
138 if (iter->nth < g_hash_table_size(iter->hash)) {
139 found = ! !g_hash_table_find(iter->hash, g_hash_table_nth_data, iter);
140 iter->nth++;
141 }
142 if (key)
143 *key = iter->key;
144 if (value)
145 *value = iter->value;
146 return found;
147}
148
149/* Since: 2.16 */
150static inline void

Callers 15

generate_resource_paramsFunction · 0.85
print_ticketFunction · 0.85
print_ticket_listFunction · 0.85
generate_paramsFunction · 0.85
send_cmd_complete_notifyFunction · 0.85
lrmd_rsc_execute_stonithFunction · 0.85
merge_duplicatesFunction · 0.85
stonith_fence_historyFunction · 0.85
device_has_duplicateFunction · 0.85

Calls

no outgoing calls

Tested by 1

generate_paramsFunction · 0.68