summaryrefslogtreecommitdiff
path: root/lib/include/turns-participant.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/turns-participant.h')
-rw-r--r--lib/include/turns-participant.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/include/turns-participant.h b/lib/include/turns-participant.h
index 28588a7..695d029 100644
--- a/lib/include/turns-participant.h
+++ b/lib/include/turns-participant.h
@@ -8,6 +8,7 @@
#include <glib-object.h>
#include <glib.h>
+#include <glibconfig.h>
G_BEGIN_DECLS
@@ -66,6 +67,19 @@ TurnsParticipant * turns_participant_new(void);
G_GNUC_WARN_UNUSED_RESULT
TurnsParticipant * turns_participant_new_with(gchar const * name, gfloat priority, TurnsParticipantDisposition disposition);
+
+/**
+ * turns_participant_compare:
+ * @self: A #TurnsParticipant
+ * @other: A #TurnsParticipant
+ *
+ * Compares two participants by priority.
+ *
+ * Returns: a new `TurnsParticipant`
+ */
+G_GNUC_WARN_UNUSED_RESULT
+gint turns_participant_compare(TurnsParticipant const * self, TurnsParticipant const * other);
+
/**
* turns_participant_get_active: (get-property active)
* @self: a participant