Changeset 5109:4f9fc788fe91 in roaraudio for include/libroar/socket.h


Ignore:
Timestamp:
07/28/11 16:32:34 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Started to use compiler attributes (Also see: #130)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r4708 r5109  
    5353int roar_socket_connect (char * host, int port); 
    5454 
    55 int roar_socket_new_tcp    (void); 
    56 int roar_socket_new_udp    (void); 
    57 int roar_socket_new_tcp6   (void); 
    58 int roar_socket_new_udp6   (void); 
    59 int roar_socket_new_unix   (void); 
    60 int roar_socket_new_decnet_seqpacket (void); 
    61 int roar_socket_new_decnet_stream (void); 
    62 int roar_socket_new_ipxspx (void); 
    63 int roar_socket_new_ipx    (void); 
     55// TODO: those function should be made /static/. 
     56int roar_socket_new_tcp    (void) _LIBROAR_ATTR_TO_STATIC; 
     57int roar_socket_new_udp    (void) _LIBROAR_ATTR_TO_STATIC; 
     58int roar_socket_new_tcp6   (void) _LIBROAR_ATTR_TO_STATIC; 
     59int roar_socket_new_udp6   (void) _LIBROAR_ATTR_TO_STATIC; 
     60int roar_socket_new_unix   (void) _LIBROAR_ATTR_TO_STATIC; 
     61int roar_socket_new_decnet_seqpacket (void) _LIBROAR_ATTR_TO_STATIC; 
     62int roar_socket_new_decnet_stream (void) _LIBROAR_ATTR_TO_STATIC; 
     63int roar_socket_new_ipxspx (void) _LIBROAR_ATTR_TO_STATIC; 
     64int roar_socket_new_ipx    (void) _LIBROAR_ATTR_TO_STATIC; 
    6465 
    6566int roar_socket_open       (int mode, int type, char * host, int port); 
Note: See TracChangeset for help on using the changeset viewer.