Changeset aaa3f33a in mainline for uspace/srv


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).

Location:
uspace/srv/net
Files:
5 edited

Legend:

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

    r4eca056 raaa3f33a  
    8888 *
    8989 */
    90 int add_configuration(measured_strings_ref configuration, const char *name,
     90int add_configuration(measured_strings_t *configuration, const char *name,
    9191    const char *value)
    9292{
     
    117117}
    118118
    119 static int parse_line(measured_strings_ref configuration, char *line)
     119static int parse_line(measured_strings_t *configuration, char *line)
    120120{
    121121        int rc;
     
    179179
    180180static int read_configuration_file(const char *directory, const char *filename,
    181     measured_strings_ref configuration)
     181    measured_strings_t *configuration)
    182182{
    183183        printf("%s: Reading configuration file %s/%s\n", NAME, directory, filename);
     
    356356 *
    357357 */
    358 static int net_get_conf(measured_strings_ref netif_conf,
     358static int net_get_conf(measured_strings_t *netif_conf,
    359359    measured_string_t *configuration, size_t count, char **data)
    360360{
  • uspace/srv/net/net/net.h

    r4eca056 raaa3f33a  
    133133} net_globals_t;
    134134
    135 extern int add_configuration(measured_strings_ref, const char *, const char *);
     135extern int add_configuration(measured_strings_t *, const char *, const char *);
    136136extern int net_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, int *);
    137137extern int net_initialize_build(async_client_conn_t);
  • 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{
  • uspace/srv/net/tl/tcp/tcp.h

    r4eca056 raaa3f33a  
    262262        uint16_t dest_port;
    263263        /** Parent local sockets. */
    264         socket_cores_ref local_sockets;
     264        socket_cores_t *local_sockets;
    265265       
    266266        /** Local sockets safety lock.
  • uspace/srv/net/tl/udp/udp.c

    r4eca056 raaa3f33a  
    453453 *                      function.
    454454 */
    455 static int udp_sendto_message(socket_cores_ref local_sockets, int socket_id,
     455static int udp_sendto_message(socket_cores_t *local_sockets, int socket_id,
    456456    const struct sockaddr *addr, socklen_t addrlen, int fragments,
    457457    size_t *data_fragment_size, int flags)
     
    609609 *                      function.
    610610 */
    611 static int udp_recvfrom_message(socket_cores_ref local_sockets, int socket_id,
     611static int udp_recvfrom_message(socket_cores_t *local_sockets, int socket_id,
    612612    int flags, size_t *addrlen)
    613613{
Note: See TracChangeset for help on using the changeset viewer.