Re: [PATCH v2 1/4] config: Get configurations that are provisioned

2012-07-12 Thread Jukka Rissanen
On 07/10/2012 06:07 PM, Marcel Holtmann wrote: Hi Jukka, +struct connman_config_item **connman_config_get_configs(void) +{ + GHashTableIter iter_file, iter_config; + gpointer value, key; + struct connman_config_item **configs = NULL; + int i, count = 0; + +

Re: [PATCH v2 1/4] config: Get configurations that are provisioned

2012-07-10 Thread Marcel Holtmann
Hi Jukka, We need the list of provisioned services so that all the hidden ones can be scanned. --- Makefile.am |2 +- include/provision.h | 51 ++ src/config.c| 68 +++ 3 files

Re: [PATCH v2 1/4] config: Get configurations that are provisioned

2012-07-10 Thread Marcel Holtmann
Hi Jukka, +struct connman_config_item **connman_config_get_configs(void) +{ + GHashTableIter iter_file, iter_config; + gpointer value, key; + struct connman_config_item **configs = NULL; + int i, count = 0; + + g_hash_table_iter_init(iter_file, config_table); + while

[PATCH v2 1/4] config: Get configurations that are provisioned

2012-07-09 Thread Jukka Rissanen
We need the list of provisioned services so that all the hidden ones can be scanned. --- Makefile.am |2 +- include/provision.h | 51 ++ src/config.c| 68 +++ 3 files changed, 120