Changeset 3be9d10 in mainline for uspace/lib/c/generic/inet/tcp.c


Ignore:
Timestamp:
2018-03-21T21:29:31Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e242d2
Parents:
eadaeae8
Message:

Get rid of ipc_callid_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet/tcp.c

    readaeae8 r3be9d10  
    4141#include <stdlib.h>
    4242
    43 static void tcp_cb_conn(ipc_callid_t, ipc_call_t *, void *);
     43static void tcp_cb_conn(cap_call_handle_t, ipc_call_t *, void *);
    4444static errno_t tcp_conn_fibril(void *);
    4545
     
    637637 * @param icall Call data
    638638 */
    639 static void tcp_ev_connected(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     639static void tcp_ev_connected(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    640640{
    641641        tcp_conn_t *conn;
     
    665665 * @param icall Call data
    666666 */
    667 static void tcp_ev_conn_failed(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     667static void tcp_ev_conn_failed(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    668668{
    669669        tcp_conn_t *conn;
     
    693693 * @param icall Call data
    694694 */
    695 static void tcp_ev_conn_reset(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     695static void tcp_ev_conn_reset(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    696696{
    697697        tcp_conn_t *conn;
     
    721721 * @param icall Call data
    722722 */
    723 static void tcp_ev_data(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     723static void tcp_ev_data(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    724724{
    725725        tcp_conn_t *conn;
     
    750750 * @param icall Call data
    751751 */
    752 static void tcp_ev_urg_data(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     752static void tcp_ev_urg_data(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    753753{
    754754        async_answer_0(iid, ENOTSUP);
     
    761761 * @param icall Call data
    762762 */
    763 static void tcp_ev_new_conn(tcp_t *tcp, ipc_callid_t iid, ipc_call_t *icall)
     763static void tcp_ev_new_conn(tcp_t *tcp, cap_call_handle_t iid, ipc_call_t *icall)
    764764{
    765765        tcp_listener_t *lst;
     
    813813 * @param arg Argument, TCP client
    814814 */
    815 static void tcp_cb_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     815static void tcp_cb_conn(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
    816816{
    817817        tcp_t *tcp = (tcp_t *)arg;
     
    821821        while (true) {
    822822                ipc_call_t call;
    823                 ipc_callid_t callid = async_get_call(&call);
     823                cap_call_handle_t callid = async_get_call(&call);
    824824
    825825                if (!IPC_GET_IMETHOD(call)) {
Note: See TracChangeset for help on using the changeset viewer.