Changeset 7715994 in mainline for uspace/srv/net/net/net_remote.c
- Timestamp:
- 2010-03-13T12:17:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ba20a6b
- Parents:
- d0febca (diff), 2070570 (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/srv/net/net/net_remote.c
rd0febca r7715994 50 50 #include "net_messages.h" 51 51 52 int net_get_device_conf_req( int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data){53 return generic_translate_req( net_phone, NET_NET_GET_DEVICE_CONF, device_id, 0, * configuration, count, configuration, data);52 int net_connect_module(services_t service){ 53 return connect_to_service(SERVICE_NETWORKING); 54 54 } 55 55 56 int net_get_conf_req( int net_phone, measured_string_ref * configuration, size_t count, char ** data ){ 57 return generic_translate_req( net_phone, NET_NET_GET_DEVICE_CONF, 0, 0, * configuration, count, configuration, data ); 56 void net_free_settings(measured_string_ref settings, char * data){ 57 if(settings){ 58 free(settings); 59 } 60 if(data){ 61 free(data); 62 } 58 63 } 59 64 60 void net_free_settings( measured_string_ref settings, char * data ){ 61 if( settings ) free( settings ); 62 if( data ) free( data ); 65 int net_get_conf_req(int net_phone, measured_string_ref * configuration, size_t count, char ** data){ 66 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, 0, 0, * configuration, count, configuration, data); 63 67 } 64 68 65 int net_ connect_module( services_t service){66 return connect_to_service( SERVICE_NETWORKING);69 int net_get_device_conf_req(int net_phone, device_id_t device_id, measured_string_ref * configuration, size_t count, char ** data){ 70 return generic_translate_req(net_phone, NET_NET_GET_DEVICE_CONF, device_id, 0, * configuration, count, configuration, data); 67 71 } 68 72
Note:
See TracChangeset
for help on using the changeset viewer.