From: Daniel Carl <danielcarl@gmx.de>
Date: Thu, 15 Jan 2015 21:58:34 +0000 (+0100)
Subject: Added some docs.
X-Git-Url: https://git.owens.tech/assets/dummy.html/assets/dummy.html/git?a=commitdiff_plain;h=0359d5033839a1f432c77fc5d5cbf1ad59ffb165;p=vimb.git

Added some docs.
---

diff --git a/src/util.c b/src/util.c
index 0ca874f..cb2361e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -31,7 +31,10 @@ extern VbCore vb;
 static gboolean match(const char *pattern, int patlen, const char *subject);
 static gboolean match_list(const char *pattern, int patlen, const char *subject);
 
-
+/**
+ * Retrieves newly allocated string with vimb config directory.
+ * Retruned string must be freed.
+ */
 char *util_get_config_dir(void)
 {
     char *path = g_build_filename(g_get_user_config_dir(), PROJECT, NULL);
@@ -52,6 +55,9 @@ char *util_get_cache_dir(void)
     return path;
 }
 
+/**
+ * Retrieves the users home directory.
+ */
 const char *util_get_home_dir(void)
 {
     const char *dir = g_getenv("HOME");