Changeset 9934f7d in mainline for uspace/lib/net/tl/tl_skel.c


Ignore:
Timestamp:
2011-06-13T19:53:48Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a07a454
Parents:
43ac0cc
Message:

Add extra argument to async connection handlers that can be used for passing
information from async_connect_to_me() to the handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/tl/tl_skel.c

    r43ac0cc r9934f7d  
    4747/** Default thread for new connections.
    4848 *
    49  * @param[in] iid   The initial message identifier.
    50  * @param[in] icall The initial message call structure.
     49 * @param[in] iid       The initial message identifier.
     50 * @param[in] icall     The initial message call structure.
     51 * @param[in] arg       Local argument.
    5152 *
    5253 */
    53 static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall)
     54static void tl_client_connection(ipc_callid_t iid, ipc_call_t *icall,
     55    void *arg)
    5456{
    5557        /*
     
    119121                goto out;
    120122       
    121         rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
     123        rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL);
    122124        if (rc != EOK)
    123125                goto out;
Note: See TracChangeset for help on using the changeset viewer.