Changeset f9b2cb4c in mainline for uspace/lib/c/generic/io/io.c


Ignore:
Timestamp:
2015-08-23T12:50:23Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ef495f
Parents:
0dd16778
Message:

unify interface API

  • introduce new interfaces
  • unify location service clients to always expect service ID as the second argument
  • remove obsolete methods that take explicit exchange management arguments (first phase)
  • use interfaces in device drivers, devman, location service, logger, inet
File:
1 edited

Legend:

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

    r0dd16778 rf9b2cb4c  
    748748}
    749749
    750 async_sess_t *fsession(exch_mgmt_t mgmt, FILE *stream)
     750async_sess_t *fsession(FILE *stream, iface_t iface)
    751751{
    752752        if (stream->fd >= 0) {
    753753                if (stream->sess == NULL)
    754                         stream->sess = fd_session(mgmt, stream->fd);
     754                        stream->sess = fd_session(stream->fd, iface);
    755755               
    756756                return stream->sess;
Note: See TracChangeset for help on using the changeset viewer.