Changeset 5361:8a301f128b89 in roaraudio


Ignore:
Timestamp:
12/19/11 08:39:10 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some _LIBROAR_ATTR_TO_STATICs for socket functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r5260 r5361  
    6363int roar_socket_open       (int mode, int type, const char * host, int port); 
    6464int roar_socket_open_fork  (int mode, const char * host, int port); 
    65 int roar_socket_open_file  (int mode, const char * host, int port); 
    66 int roar_socket_open_proxy (int mode, int type, const char * host, int port, const char * proxy_type); 
     65int roar_socket_open_file  (int mode, const char * host, int port) _LIBROAR_ATTR_TO_STATIC; 
     66int roar_socket_open_proxy (int mode, int type, const char * host, int port, const char * proxy_type) _LIBROAR_ATTR_TO_STATIC; 
    6767 
    6868int roar_socket_listen_decnet (char * object, int num); 
     
    8080int roar_socket_recv_fh (int sock,         char * mes, size_t * len); 
    8181 
    82 int roar_socket_open_socks4 (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 
    83 int roar_socket_open_socks4a(int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 
    84 int roar_socket_open_socks4d(int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 
    85 int roar_socket_open_socks4x(int mode, int fh, char host[4], int port, const char * app, size_t app_len, const char * user); 
     82int 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; 
     83int 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; 
     84int 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; 
     85int 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; 
    8686 
    87 int roar_socket_open_http   (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 
     87int 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; 
    8888 
    89 int roar_socket_open_ssh    (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 
     89int 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; 
    9090 
    9191#endif 
Note: See TracChangeset for help on using the changeset viewer.