Subversion Repositories HelenOS

Rev

Rev 4350 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4350 Rev 4505
Line 56... Line 56...
56
 *  @returns EOK on success.
56
 *  @returns EOK on success.
57
 *  @returns EINVAL if the configuration is NULL.
57
 *  @returns EINVAL if the configuration is NULL.
58
 *  @returns EINVAL if the count is zero (0).
58
 *  @returns EINVAL if the count is zero (0).
59
 *  @returns Other error codes as defined for the generic_translate_req() function.
59
 *  @returns Other error codes as defined for the generic_translate_req() function.
60
 */
60
 */
61
int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, int count, char ** data );
61
int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data );
62
 
62
 
63
/** Returns the global configuration.
63
/** Returns the global configuration.
64
 *  @param net_phone The networking module phone. Input parameter.
64
 *  @param net_phone The networking module phone. Input parameter.
65
 *  @param configuration The configuration and settings. Input/output parameter.
65
 *  @param configuration The configuration and settings. Input/output parameter.
66
 *  @param count The configuration entries count. Input parameter.
66
 *  @param count The configuration entries count. Input parameter.
Line 68... Line 68...
68
 *  @returns EOK on success.
68
 *  @returns EOK on success.
69
 *  @returns EINVAL if the configuration is NULL.
69
 *  @returns EINVAL if the configuration is NULL.
70
 *  @returns EINVAL if the count is zero (0).
70
 *  @returns EINVAL if the count is zero (0).
71
 *  @returns Other error codes as defined for the generic_translate_req() function.
71
 *  @returns Other error codes as defined for the generic_translate_req() function.
72
 */
72
 */
73
int net_get_conf_req( int net_phone, measured_string_ref * configuration, int count, char ** data );
73
int net_get_conf_req( int net_phone, measured_string_ref * configuration, size_t count, char ** data );
74
 
74
 
75
/** Frees the received settings.
75
/** Frees the received settings.
76
 *  @param settings The received settings. Input parameter.
76
 *  @param settings The received settings. Input parameter.
77
 *  @param data The received settings data. Input parameter.
77
 *  @param data The received settings data. Input parameter.
78
 *  @see net_get_device_conf_req()
78
 *  @see net_get_device_conf_req()