Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9934f7d in mainline for uspace/srv/bd/file_bd/file_bd.c


Ignore:
Timestamp:
2011-06-13T19:53:48Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
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/bd/file_bd/file_bd.c

    r43ac0cc r9934f7d  
    6666static void print_usage(void);
    6767static int file_bd_init(const char *fname);
    68 static void file_bd_connection(ipc_callid_t iid, ipc_call_t *icall);
     68static void file_bd_connection(ipc_callid_t iid, ipc_call_t *icall, void *);
    6969static int file_bd_read_blocks(uint64_t ba, size_t cnt, void *buf);
    7070static int file_bd_write_blocks(uint64_t ba, size_t cnt, const void *buf);
     
    170170}
    171171
    172 static void file_bd_connection(ipc_callid_t iid, ipc_call_t *icall)
     172static void file_bd_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    173173{
    174174        void *fs_va = NULL;
Note: See TracChangeset for help on using the changeset viewer.