| 1097 | |
| 1098 | |
| 1099 | const char *icmap_iter_next(icmap_iter_t iter, size_t *value_len, icmap_value_types_t *type) |
| 1100 | { |
| 1101 | struct icmap_item *item; |
| 1102 | const char *res; |
| 1103 | |
| 1104 | res = qb_map_iter_next(iter, (void **)&item); |
| 1105 | if (res == NULL) { |
| 1106 | return (res); |
| 1107 | } |
| 1108 | |
| 1109 | if (value_len != NULL) { |
| 1110 | *value_len = item->value_len; |
| 1111 | } |
| 1112 | |
| 1113 | if (type != NULL) { |
| 1114 | *type = item->type; |
| 1115 | } |
| 1116 | |
| 1117 | return (res); |
| 1118 | } |
| 1119 | |
| 1120 | void icmap_iter_finalize(icmap_iter_t iter) |
| 1121 | { |
no outgoing calls
no test coverage detected