Changeset 5375:2b4d1e027b2d in roaraudio for include


Ignore:
Timestamp:
12/22/11 21:16:34 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

made some _LIBROAR_ATTR_TO_STATIC functions static

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r5369 r5375  
    5151 
    5252int roar_socket_listen  (int type, const char * host, int port); 
    53 int roar_socket_connect (const char * host, int port); 
     53int roar_socket_connect (int type, const char * host, int port); 
    5454 
    5555// TODO: those function should be made /static/. 
     
    6262 
    6363int roar_socket_open       (int mode, int type, const char * host, int port); 
    64 int roar_socket_open_file  (int mode, const char * host, int port) _LIBROAR_ATTR_TO_STATIC; 
    65 int roar_socket_open_proxy (int mode, int type, const char * host, int port, const char * proxy_type) _LIBROAR_ATTR_TO_STATIC; 
    6664 
    6765int roar_socket_listen_decnet (const char * object, int num); 
     
    7068 
    7169int roar_socket_nonblock(int fh, int state); 
    72 int roar_socket_decnet_set_timeout (int fh, time_t sec, int usec); 
    73 int roar_socket_recvbuf(int fh, int len); 
    74 int roar_socket_set_tos(int fh); 
     70int roar_socket_decnet_set_timeout (int fh, time_t sec, int_least32_t usec); 
    7571 
    7672int roar_socket_dup_udp_local_end (int fh); 
     
    7975int roar_socket_recv_fh (int sock,         char * mes, size_t * len); 
    8076 
    81 int roar_socket_open_socks4 (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts) _LIBROAR_ATTR_TO_STATIC; 
    82 int roar_socket_open_socks4a(int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts) _LIBROAR_ATTR_TO_STATIC; 
    83 int roar_socket_open_socks4d(int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts) _LIBROAR_ATTR_TO_STATIC; 
    84 int roar_socket_open_socks4x(int mode, int fh, char host[4], int port, const char * app, size_t app_len, const char * user) _LIBROAR_ATTR_TO_STATIC; 
    85  
    86 int roar_socket_open_http   (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts) _LIBROAR_ATTR_TO_STATIC; 
    87  
    88 int roar_socket_open_ssh    (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts) _LIBROAR_ATTR_TO_STATIC; 
    89  
    9077#endif 
    9178 
Note: See TracChangeset for help on using the changeset viewer.