Ignore:
Timestamp:
2010-03-15T19:35:25Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6092b56e
Parents:
92307f1 (diff), 4684368 (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.
Message:

Merge from bzr://bzr.helenos.org/head.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netif/netif_nil_bundle.c

    r92307f1 r858fc90  
    6161 *  @returns Other error codes as defined for each specific module message function.
    6262 */
    63 int     module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
     63int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
    6464
    6565/** Starts the bundle network interface module.
     
    6969 *  @returns Other error codes as defined for each specific module message function.
    7070 */
    71 int     module_start( async_client_conn_t client_connection );
     71int module_start(async_client_conn_t client_connection);
    7272
    73 int     module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ){
    74         if( IS_NET_NIL_MESSAGE( call ) || ( IPC_GET_METHOD( * call ) == IPC_M_CONNECT_TO_ME )){
    75                 return nil_message( callid, call, answer, answer_count );
     73int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
     74        if(IS_NET_NIL_MESSAGE(call) || (IPC_GET_METHOD(*call) == IPC_M_CONNECT_TO_ME)){
     75                return nil_message(callid, call, answer, answer_count);
    7676        }else{
    77                 return netif_message( callid, call, answer, answer_count );
     77                return netif_message(callid, call, answer, answer_count);
    7878        }
    7979}
    8080
    81 int     module_start( async_client_conn_t client_connection ){
     81int module_start(async_client_conn_t client_connection){
    8282        ERROR_DECLARE;
    8383
    84         ERROR_PROPAGATE( netif_init_module( client_connection ));
    85         if( ERROR_OCCURRED( nil_initialize( netif_globals.net_phone ))){
     84        ERROR_PROPAGATE(netif_init_module(client_connection));
     85        if(ERROR_OCCURRED(nil_initialize(netif_globals.net_phone))){
    8686                pm_destroy();
    8787                return ERROR_CODE;
Note: See TracChangeset for help on using the changeset viewer.