Changeset 5375:2b4d1e027b2d in roaraudio for include
- Timestamp:
- 12/22/11 21:16:34 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/socket.h
r5369 r5375 51 51 52 52 int roar_socket_listen (int type, const char * host, int port); 53 int roar_socket_connect ( const char * host, int port);53 int roar_socket_connect (int type, const char * host, int port); 54 54 55 55 // TODO: those function should be made /static/. … … 62 62 63 63 int 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;66 64 67 65 int roar_socket_listen_decnet (const char * object, int num); … … 70 68 71 69 int 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); 70 int roar_socket_decnet_set_timeout (int fh, time_t sec, int_least32_t usec); 75 71 76 72 int roar_socket_dup_udp_local_end (int fh); … … 79 75 int roar_socket_recv_fh (int sock, char * mes, size_t * len); 80 76 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 90 77 #endif 91 78
Note: See TracChangeset
for help on using the changeset viewer.