Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/ucall.h

    r2f19103 r69a93df7  
    11/*
    2  * Copyright (c) 2015 Jiri Svoboda
     2 * Copyright (c) 2011 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3636#define UCALL_H
    3737
    38 #include <inet/endpoint.h>
    3938#include <sys/types.h>
    4039#include "tcp_type.h"
     
    4342 * User calls
    4443 */
    45 extern tcp_error_t tcp_uc_open(inet_ep2_t *, acpass_t,
     44extern tcp_error_t tcp_uc_open(tcp_sock_t *, tcp_sock_t *, acpass_t,
    4645    tcp_open_flags_t, tcp_conn_t **);
    4746extern tcp_error_t tcp_uc_send(tcp_conn_t *, void *, size_t, xflags_t);
     
    5150extern void tcp_uc_status(tcp_conn_t *, tcp_conn_status_t *);
    5251extern void tcp_uc_delete(tcp_conn_t *);
    53 extern void tcp_uc_set_cb(tcp_conn_t *, tcp_cb_t *, void *);
    54 extern void *tcp_uc_get_userptr(tcp_conn_t *);
     52extern void tcp_uc_set_cstate_cb(tcp_conn_t *, tcp_cstate_cb_t, void *);
    5553
    5654/*
    5755 * Arriving segments
    5856 */
    59 extern void tcp_as_segment_arrived(inet_ep2_t *, tcp_segment_t *);
     57extern void tcp_as_segment_arrived(tcp_sockpair_t *, tcp_segment_t *);
    6058
    6159/*
Note: See TracChangeset for help on using the changeset viewer.