summaryrefslogtreecommitdiff
path: root/src/trg-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-client.c')
-rw-r--r--src/trg-client.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/trg-client.c b/src/trg-client.c
index 2d3fbe6..2f42d99 100644
--- a/src/trg-client.c
+++ b/src/trg-client.c
@@ -386,6 +386,12 @@ void trg_client_updatelock(TrgClient *tc)
g_mutex_lock(priv->updateMutex);
}
+void trg_client_configlock(TrgClient *tc)
+{
+ TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc);
+ g_mutex_lock(priv->configMutex);
+}
+
guint trg_client_get_failcount(TrgClient *tc)
{
TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc);
@@ -410,6 +416,12 @@ void trg_client_updateunlock(TrgClient *tc)
g_mutex_unlock(priv->updateMutex);
}
+void trg_client_configunlock(TrgClient *tc)
+{
+ TrgClientPrivate *priv = TRG_CLIENT_GET_PRIVATE(tc);
+ g_mutex_unlock(priv->configMutex);
+}
+
/* formerly http.c */
void trg_response_free(trg_response *response)