dcerpc: remove use-after-free (found by clang).
[metze/wireshark/wip.git] / epan / uat-int.h
index c36a5c136ec3bea73c2f20cc6a3e3f029f121c08..a272c8f20933df92b3efdac49ef604ef220a3c4c 100644 (file)
@@ -111,6 +111,12 @@ void uat_insert_record_idx(uat_t *uat, guint rec_idx, const void *src_record);
 WS_DLL_PUBLIC
 void uat_remove_record_idx(uat_t *uat, guint rec_idx);
 
+/**
+ * Moves the entry from the old position to the new one
+ */
+WS_DLL_PUBLIC
+void uat_move_index(uat_t *uat, guint old_idx, guint new_idx);
+
 /**
  * Removes and destroys all records from the UAT.
  */