Changeset 9934f7d in mainline for uspace/srv/hid/console/console.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/srv/hid/console/console.c

    r43ac0cc r9934f7d  
    427427
    428428/** Handler for keyboard */
    429 static void keyboard_events(ipc_callid_t iid, ipc_call_t *icall)
     429static void keyboard_events(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    430430{
    431431        /* Ignore parameters, the connection is already opened */
     
    474474
    475475/** Handler for mouse events */
    476 static void mouse_events(ipc_callid_t iid, ipc_call_t *icall)
     476static void mouse_events(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    477477{
    478478        /* Ignore parameters, the connection is already opened */
     
    597597
    598598/** Default thread for new connections */
    599 static void client_connection(ipc_callid_t iid, ipc_call_t *icall)
     599static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    600600{
    601601        console_t *cons = NULL;
     
    759759        if (client_receiver != NULL)
    760760                async_new_connection(task_hash, phone_hash, phone_hash, NULL,
    761                     client_receiver);
     761                    client_receiver, NULL);
    762762       
    763763        if (hash != NULL)
Note: See TracChangeset for help on using the changeset viewer.