Changeset 14f1db0 in mainline for uspace/srv/net/tl/tcp/tcp_module.c
- Timestamp:
- 2010-04-09T12:54:57Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1caa3c2
- Parents:
- 24ab58b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp_module.c
r24ab58b3 r14f1db0 49 49 #include <ip_protocols.h> 50 50 #include <ip_interface.h> 51 #include <tl_ standalone.h>51 #include <tl_local.h> 52 52 53 53 #include "tcp.h" … … 65 65 * @returns Other error codes as defined for the REGISTER_ME() macro function. 66 66 */ 67 int tl_module_start(async_client_conn_t client_connection){ 67 int tl_module_start_standalone(async_client_conn_t client_connection) 68 { 68 69 ERROR_DECLARE; 69 70 ipcarg_t phonehash; 71 70 72 71 async_set_client_connection(client_connection); 73 72 tcp_globals.net_phone = net_connect_module(SERVICE_NETWORKING); 74 73 ERROR_PROPAGATE(pm_init()); 75 if(ERROR_OCCURRED(tcp_initialize(client_connection)) 76 || ERROR_OCCURRED(REGISTER_ME(SERVICE_TCP, &phonehash))){ 74 75 ipcarg_t phonehash; 76 if (ERROR_OCCURRED(tcp_initialize(client_connection)) 77 || ERROR_OCCURRED(REGISTER_ME(SERVICE_TCP, &phonehash))) { 77 78 pm_destroy(); 78 79 return ERROR_CODE; 79 80 } 80 81 81 82 async_manager(); 82 83 83 84 pm_destroy(); 84 85 return EOK; … … 93 94 * @returns Other error codes as defined for the tcp_message() function. 94 95 */ 95 int tl_module_message (ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){96 return tcp_message (callid, call, answer, answer_count);96 int tl_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 97 return tcp_message_standalone(callid, call, answer, answer_count); 97 98 } 98 99
Note:
See TracChangeset
for help on using the changeset viewer.