Changeset 24ab58b3 in mainline for uspace/srv/net/net/net_bundle.c


Ignore:
Timestamp:
2010-04-06T11:41:48Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14f1db0
Parents:
4dd8529
Message:

more compact network startup messages (usually one line instead of multiple lines)
pass module name as an argument to nil_message() and friends
deeper cstyle changes (replace forward prototypes with proper extern declarations and static functions, change doxygen comments, stick more closely to the 80-column rule, no argument names in header files, spacing, comments, etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/net/net_bundle.c

    r4dd8529 r24ab58b3  
    6060extern net_globals_t    net_globals;
    6161
     62/** Initializes the networking module for the chosen subsystem build type.
     63 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
     64 *  @returns EOK on success.
     65 *  @returns ENOMEM if there is not enough memory left.
     66 */
    6267int net_initialize_build(async_client_conn_t client_connection){
    6368        ERROR_DECLARE;
     
    7984}
    8085
     86/** Processes the module message.
     87 *  Distributes the message to the right bundled module.
     88 *  @param[in] callid The message identifier.
     89 *  @param[in] call The message parameters.
     90 *  @param[out] answer The message answer parameters.
     91 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
     92 *  @returns EOK on success.
     93 *  @returns ENOTSUP if the message is not known.
     94 *  @returns Other error codes as defined for each bundled module message function.
     95 */
    8196int net_module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
    8297        if((IPC_GET_METHOD(*call) == IPC_M_CONNECT_TO_ME)
Note: See TracChangeset for help on using the changeset viewer.