diff options
author | Frederic PAUT <frederic.paut@intel.com> | 2012-07-05 16:10:43 +0200 |
---|---|---|
committer | Frederic PAUT <frederic.paut@intel.com> | 2012-07-05 16:10:43 +0200 |
commit | 43248495a37f18193e6fd9bdc5507be666fc5470 (patch) | |
tree | 794883eb72608f6cbb4c1de785b2faf24c044998 /lib/neardal_tools.c | |
parent | f89fd31da2f42e2cf91b9a839a782ba2231690a1 (diff) | |
download | neardal-43248495a37f18193e6fd9bdc5507be666fc5470.tar.gz neardal-43248495a37f18193e6fd9bdc5507be666fc5470.tar.bz2 neardal-43248495a37f18193e6fd9bdc5507be666fc5470.zip |
starting code factoring to improve merging facility (with 'master' branch)
Diffstat (limited to 'lib/neardal_tools.c')
-rw-r--r-- | lib/neardal_tools.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/neardal_tools.c b/lib/neardal_tools.c index 7291493..cba9a7a 100644 --- a/lib/neardal_tools.c +++ b/lib/neardal_tools.c @@ -30,9 +30,9 @@ #include "neardal_prv.h" -/****************************************************************************** +/***************************************************************************** * neardal_tools_prv_free_gerror: freeing gerror in neardal context - *****************************************************************************/ + ****************************************************************************/ void neardal_tools_prv_free_gerror(GError **gerror) { g_assert(gerror != NULL); @@ -42,10 +42,10 @@ void neardal_tools_prv_free_gerror(GError **gerror) *gerror = NULL; } -/****************************************************************************** +/***************************************************************************** * neardal_tools_prv_cmp_path: Compare dbus path. * return true (<>0) if path is same, 0 otherwise - *****************************************************************************/ + ****************************************************************************/ int neardal_tools_prv_cmp_path(const char *neardalPath, const char *reqPath) { const char *shortest; @@ -77,17 +77,17 @@ int neardal_tools_prv_cmp_path(const char *neardalPath, const char *reqPath) return ret; } -/****************************************************************************** +/***************************************************************************** * neardal_tools_create_dict: Create a GHashTable for dict_entries. - *****************************************************************************/ + ****************************************************************************/ GHashTable *neardal_tools_create_dict(void) { return g_hash_table_new(g_str_hash, g_str_equal); } -/****************************************************************************** +/***************************************************************************** * neardal_tools_add_dict_entry: add an entry in a dictionnary - *****************************************************************************/ + ****************************************************************************/ errorCode_t neardal_tools_add_dict_entry(GVariantBuilder *builder, gchar *key, void *value, int gVariantType) { |