Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4704 | Rev 4723 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | */ |
51 | */ |
| 52 | /*@{*/ |
52 | /*@{*/ |
| 53 | 53 | ||
| 54 | /** Returns the device specific configuration. |
54 | /** Returns the device specific configuration. |
| 55 | * Returns the global configuration if the device specific is not found. |
55 | * Returns the global configuration if the device specific is not found. |
| - | 56 | * The configuration names are read and the appropriate settings are set instead. |
|
| - | 57 | * Call net_free_settings() function to release the returned configuration. |
|
| 56 | * @param net_phone The networking module phone. Input parameter. |
58 | * @param net_phone The networking module phone. Input parameter. |
| 57 | * @param device_id The device identifier. Input parameter. |
59 | * @param device_id The device identifier. Input parameter. |
| 58 | * @param configuration The configuration and settings. Input/output parameter. |
60 | * @param configuration The requested device configuration. The names are read and the appropriate settings are set instead. Input/output parameter. |
| 59 | * @param count The configuration entries count. Input parameter. |
61 | * @param count The configuration entries count. Input parameter. |
| 60 | * @param data The configuration and settings data. Input/output parameter. |
62 | * @param data The configuration and settings data. Input/output parameter. |
| 61 | * @returns EOK on success. |
63 | * @returns EOK on success. |
| 62 | * @returns EINVAL if the configuration is NULL. |
64 | * @returns EINVAL if the configuration is NULL. |
| 63 | * @returns EINVAL if the count is zero (0). |
65 | * @returns EINVAL if the count is zero (0). |
| 64 | * @returns Other error codes as defined for the generic_translate_req() function. |
66 | * @returns Other error codes as defined for the generic_translate_req() function. |
| 65 | */ |
67 | */ |
| 66 | int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data ); |
68 | int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data ); |
| 67 | 69 | ||
| 68 | /** Returns the global configuration. |
70 | /** Returns the global configuration. |
| - | 71 | * The configuration names are read and the appropriate settings are set instead. |
|
| - | 72 | * Call net_free_settings() function to release the returned configuration. |
|
| 69 | * @param net_phone The networking module phone. Input parameter. |
73 | * @param net_phone The networking module phone. Input parameter. |
| 70 | * @param configuration The configuration and settings. Input/output parameter. |
74 | * @param configuration The requested configuration. The names are read and the appropriate settings are set instead. Input/output parameter. |
| 71 | * @param count The configuration entries count. Input parameter. |
75 | * @param count The configuration entries count. Input parameter. |
| 72 | * @param data The configuration and settings data. Input/output parameter. |
76 | * @param data The configuration and settings data. Input/output parameter. |
| 73 | * @returns EOK on success. |
77 | * @returns EOK on success. |
| 74 | * @returns EINVAL if the configuration is NULL. |
78 | * @returns EINVAL if the configuration is NULL. |
| 75 | * @returns EINVAL if the count is zero (0). |
79 | * @returns EINVAL if the count is zero (0). |