127,7 → 127,7 |
* @param data The found configuration settings data. Output parameter. |
* @returns EOK. |
*/ |
int net_get_conf( measured_strings_ref netif_conf, measured_string_ref configuration, int count, char ** data ); |
int net_get_conf( measured_strings_ref netif_conf, measured_string_ref configuration, size_t count, char ** data ); |
|
/** Networking module global data. |
*/ |
160,7 → 160,7 |
return EOK; |
} |
|
int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, int count, char ** data ){ |
int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data ){ |
netif_ref netif; |
|
if( !( configuration && ( count > 0 ))) return EINVAL; |
172,14 → 172,14 |
} |
} |
|
int net_get_conf_req( int net_phone, measured_string_ref * configuration, int count, char ** data ){ |
int net_get_conf_req( int net_phone, measured_string_ref * configuration, size_t count, char ** data ){ |
if( !( configuration && ( count > 0 ))) return EINVAL; |
return net_get_conf( NULL, * configuration, count, data ); |
} |
|
int net_get_conf( measured_strings_ref netif_conf, measured_string_ref configuration, int count, char ** data ){ |
int net_get_conf( measured_strings_ref netif_conf, measured_string_ref configuration, size_t count, char ** data ){ |
measured_string_ref setting; |
int index; |
size_t index; |
|
if( data ) * data = NULL; |
for( index = 0; index < count; ++ index ){ |