Changeset 0dd16778 in mainline for uspace/lib/c/generic/ns.c


Ignore:
Timestamp:
2015-08-22T14:32:11Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f9b2cb4c
Parents:
78bb04b
Message:

start migrating devman to interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ns.c

    r78bb04b r0dd16778  
    5858        async_sess_t *sess =
    5959            async_connect_me_to(mgmt, exch, iface, service, arg3);
     60        async_exchange_end(exch);
     61       
     62        if (!sess)
     63                return NULL;
     64       
     65        /*
     66         * FIXME Ugly hack to work around limitation of implementing
     67         * parallel exchanges using multiple connections. Shift out
     68         * first argument for non-initial connections.
     69         */
     70        async_sess_args_set(sess, iface, arg3, 0);
     71       
     72        return sess;
     73}
     74
     75async_sess_t *service_connect_iface_extended(service_t service, iface_t iface,
     76    sysarg_t arg3)
     77{
     78        async_exch_t *exch = async_exchange_begin(session_ns);
     79        if (!exch)
     80                return NULL;
     81       
     82        async_sess_t *sess =
     83            async_connect_me_to_iface(exch, iface, service, arg3);
    6084        async_exchange_end(exch);
    6185       
Note: See TracChangeset for help on using the changeset viewer.