* Function implementation */
| 125 | * Function implementation |
| 126 | */ |
| 127 | int32_t icmap_tt_to_qbtt(int32_t track_type) |
| 128 | { |
| 129 | int32_t res = 0; |
| 130 | |
| 131 | if (track_type & ICMAP_TRACK_DELETE) { |
| 132 | res |= QB_MAP_NOTIFY_DELETED; |
| 133 | } |
| 134 | |
| 135 | if (track_type & ICMAP_TRACK_MODIFY) { |
| 136 | res |= QB_MAP_NOTIFY_REPLACED; |
| 137 | } |
| 138 | |
| 139 | if (track_type & ICMAP_TRACK_ADD) { |
| 140 | res |= QB_MAP_NOTIFY_INSERTED; |
| 141 | } |
| 142 | |
| 143 | if (track_type & ICMAP_TRACK_PREFIX) { |
| 144 | res |= QB_MAP_NOTIFY_RECURSIVE; |
| 145 | } |
| 146 | |
| 147 | return (res); |
| 148 | } |
| 149 | |
| 150 | int32_t icmap_qbtt_to_tt(int32_t track_type) |
| 151 | { |
no outgoing calls
no test coverage detected