summaryrefslogtreecommitdiff
path: root/lib/src/turns-participant.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-12 16:41:24 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-12 16:41:24 +0200
commit7522b5e9881e7e14207d78b0e741f52b42b723e4 (patch)
tree3e4785cb027218d9ac88d0d416a876f9377346b2 /lib/src/turns-participant.h
parenta2c73b6ba3c9ea307b0b0eb94c9e769a1f31dc00 (diff)
downloadturns-7522b5e9881e7e14207d78b0e741f52b42b723e4.tar.xz
turns-7522b5e9881e7e14207d78b0e741f52b42b723e4.zip
lib: sort functions
Diffstat (limited to 'lib/src/turns-participant.h')
-rw-r--r--lib/src/turns-participant.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/src/turns-participant.h b/lib/src/turns-participant.h
index 502de32..a2af8d6 100644
--- a/lib/src/turns-participant.h
+++ b/lib/src/turns-participant.h
@@ -32,6 +32,14 @@ TurnsParticipant * turns_participant_new() G_GNUC_WARN_UNUSED_RESULT;
TurnsParticipant * turns_participant_new_with(gchar const * name, gfloat priority, TurnsDisposition disposition) G_GNUC_WARN_UNUSED_RESULT;
/**
+ * @brief Get the disposition of a participant.
+ *
+ * @param self A Participant instance. The value *must not* be NULL.
+ * @return The disposition of the instance.
+ */
+TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self);
+
+/**
* @brief Get the name of a participant.
*
* @param self A Participant instance. The value *must not* be NULL.
@@ -48,12 +56,12 @@ gchar const * turns_participant_get_name(TurnsParticipant const * self);
gfloat turns_participant_get_priority(TurnsParticipant const * self);
/**
- * @brief Get the disposition of a participant.
+ * @brief Set the disposition of a participant.
*
* @param self A Participant instance. The value *must not* be NULL.
- * @return The disposition of the instance.
+ * @param value The new disposition.
*/
-TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self);
+void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value);
/**
* @brief Set the name of a participant.
@@ -71,14 +79,6 @@ void turns_participant_set_name(TurnsParticipant * self, gchar const * value);
*/
void turns_participant_set_priority(TurnsParticipant * self, gfloat value);
-/**
- * @brief Set the disposition of a participant.
- *
- * @param self A Participant instance. The value *must not* be NULL.
- * @param value The new disposition.
- */
-void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value);
-
G_END_DECLS
#endif \ No newline at end of file