Changeset aaa3f33a in mainline for uspace/srv/net/tl/tcp/tcp.c


Ignore:
Timestamp:
2010-11-19T21:26:08Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a7811f17, cc3c2a1c
Parents:
4eca056
Message:

Remove xxx_ref typedefs (part 5).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp.c

    r4eca056 raaa3f33a  
    139139
    140140        /** Local sockets. */
    141         socket_cores_ref local_sockets;
     141        socket_cores_t *local_sockets;
    142142
    143143        /** Socket identifier. */
     
    172172
    173173static int tcp_process_packet(device_id_t, packet_t, services_t);
    174 static int tcp_connect_core(socket_core_t *, socket_cores_ref,
     174static int tcp_connect_core(socket_core_t *, socket_cores_t *,
    175175    struct sockaddr *, socklen_t);
    176176static int tcp_queue_prepare_packet(socket_core_t *, tcp_socket_data_t *,
     
    209209static int tcp_process_client_messages(ipc_callid_t, ipc_call_t);
    210210
    211 static int tcp_listen_message(socket_cores_ref, int, int);
    212 static int tcp_connect_message(socket_cores_ref, int, struct sockaddr *,
     211static int tcp_listen_message(socket_cores_t *, int, int);
     212static int tcp_connect_message(socket_cores_t *, int, struct sockaddr *,
    213213    socklen_t);
    214 static int tcp_recvfrom_message(socket_cores_ref, int, int, size_t *);
    215 static int tcp_send_message(socket_cores_ref, int, int, size_t *, int);
    216 static int tcp_accept_message(socket_cores_ref, int, int, size_t *, size_t *);
    217 static int tcp_close_message(socket_cores_ref, int);
     214static int tcp_recvfrom_message(socket_cores_t *, int, int, size_t *);
     215static int tcp_send_message(socket_cores_t *, int, int, size_t *, int);
     216static int tcp_accept_message(socket_cores_t *, int, int, size_t *, size_t *);
     217static int tcp_close_message(socket_cores_t *, int);
    218218
    219219/** TCP global data. */
     
    16781678}
    16791679
    1680 int tcp_listen_message(socket_cores_ref local_sockets, int socket_id,
     1680int tcp_listen_message(socket_cores_t *local_sockets, int socket_id,
    16811681    int backlog)
    16821682{
     
    17041704}
    17051705
    1706 int tcp_connect_message(socket_cores_ref local_sockets, int socket_id,
     1706int tcp_connect_message(socket_cores_t *local_sockets, int socket_id,
    17071707    struct sockaddr *addr, socklen_t addrlen)
    17081708{
     
    17321732}
    17331733
    1734 int tcp_connect_core(socket_core_t *socket, socket_cores_ref local_sockets,
     1734int tcp_connect_core(socket_core_t *socket, socket_cores_t *local_sockets,
    17351735    struct sockaddr *addr, socklen_t addrlen)
    17361736{
     
    20912091}
    20922092
    2093 int tcp_recvfrom_message(socket_cores_ref local_sockets, int socket_id,
     2093int tcp_recvfrom_message(socket_cores_t *local_sockets, int socket_id,
    20942094    int flags, size_t *addrlen)
    20952095{
     
    21492149}
    21502150
    2151 int tcp_send_message(socket_cores_ref local_sockets, int socket_id,
     2151int tcp_send_message(socket_cores_t *local_sockets, int socket_id,
    21522152    int fragments, size_t *data_fragment_size, int flags)
    21532153{
     
    22252225
    22262226int
    2227 tcp_close_message(socket_cores_ref local_sockets, int socket_id)
     2227tcp_close_message(socket_cores_t *local_sockets, int socket_id)
    22282228{
    22292229        socket_core_t *socket;
     
    23272327}
    23282328
    2329 int tcp_accept_message(socket_cores_ref local_sockets, int socket_id,
     2329int tcp_accept_message(socket_cores_t *local_sockets, int socket_id,
    23302330    int new_socket_id, size_t *data_fragment_size, size_t *addrlen)
    23312331{
Note: See TracChangeset for help on using the changeset viewer.