Signed-off-by: Martin Milata mmilata@redhat.com --- include/thread.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/thread.h b/include/thread.h index 7694bd3..cb73577 100644 --- a/include/thread.h +++ b/include/thread.h @@ -51,12 +51,15 @@ struct sr_frame * sr_thread_frames(struct sr_thread *thread);
/** - * Compares two threads. Returns 0 on equality. Threads of distinct type are - * always unequal. + * Returns the number of frames in the thread. */ int sr_thread_frame_count(struct sr_thread *thread);
+/** + * Compares two threads. Returns 0 on equality. Threads of distinct type are + * always unequal. + */ int sr_thread_cmp(struct sr_thread *t1, struct sr_thread *t2);