Changeset 2a786f9 in mainline for uspace/lib/net/generic/net_remote.c
- Timestamp:
- 2010-09-22T19:07:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec1bdc8
- Parents:
- dc94cb2 (diff), 921a860 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/net_remote.c
rdc94cb2 r2a786f9 47 47 #include <net_net_messages.h> 48 48 49 int net_connect_module(services_t service){ 49 int net_connect_module(services_t service) 50 { 50 51 return connect_to_service(SERVICE_NETWORKING); 51 52 } 52 53 53 void net_free_settings(measured_string_ref settings, char * data){ 54 if(settings){ 54 void net_free_settings(measured_string_ref settings, char * data) 55 { 56 if (settings) 55 57 free(settings); 56 } 57 if (data){58 59 if (data) 58 60 free(data); 59 }60 61 } 61 62 62 int net_get_conf_req(int net_phone, measured_string_ref * configuration, size_t count, char ** data){ 63 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, 0, 0, * configuration, count, configuration, data); 63 int 64 net_get_conf_req(int net_phone, measured_string_ref * configuration, 65 size_t count, char ** data) 66 { 67 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, 0, 0, 68 *configuration, count, configuration, data); 64 69 } 65 70 66 int net_get_device_conf_req(int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data){ 67 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, device_id, 0, * configuration, count, configuration, data); 71 int 72 net_get_device_conf_req(int net_phone, device_id_t device_id, 73 measured_string_ref * configuration, size_t count, char ** data) 74 { 75 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, 76 device_id, 0, *configuration, count, configuration, data); 68 77 } 69 78
Note:
See TracChangeset
for help on using the changeset viewer.