Changeset 5260:03340eac5983 in roaraudio for include
- Timestamp:
- 11/14/11 00:29:49 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/libroar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/socket.h
r5248 r5260 50 50 #define ROAR_SOCKET_MAX_HOSTNAMELEN 64 51 51 52 int roar_socket_listen (int type, c har * host, int port);53 int roar_socket_connect (c har * host, int port);52 int roar_socket_listen (int type, const char * host, int port); 53 int roar_socket_connect (const char * host, int port); 54 54 55 55 // TODO: those function should be made /static/. … … 61 61 int roar_socket_new (int type); 62 62 63 int roar_socket_open (int mode, int type, c har * host, int port);64 int roar_socket_open_fork (int mode, c har * host, int port);65 int roar_socket_open_file (int mode, c har * host, int port);66 int roar_socket_open_proxy (int mode, int type, c har * host, int port,char * proxy_type);63 int roar_socket_open (int mode, int type, const char * host, int port); 64 int 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); 67 67 68 68 int roar_socket_listen_decnet (char * object, int num); … … 80 80 int roar_socket_recv_fh (int sock, char * mes, size_t * len); 81 81 82 int roar_socket_open_socks4 (int mode, int fh, c har * host, int port, char * user, char * pw,char * opts);83 int roar_socket_open_socks4a(int mode, int fh, c har * host, int port, char * user, char * pw,char * opts);84 int roar_socket_open_socks4d(int mode, int fh, c har * host, int port, char * user, char * pw,char * opts);85 int roar_socket_open_socks4x(int mode, int fh, char host[4], int port, c har * app, size_t app_len,char * user);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); 86 86 87 int roar_socket_open_http (int mode, int fh, c har * host, int port, char * user, char * pw,char * opts);87 int roar_socket_open_http (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 88 88 89 int roar_socket_open_ssh (int mode, int fh, c har * host, int port, char * user, char * pw,char * opts);89 int roar_socket_open_ssh (int mode, int fh, const char * host, int port, const char * user, const char * pw, const char * opts); 90 90 91 91 #endif -
include/libroar/vio.h
r5242 r5260 87 87 int roar_vio_open_fh_socket(struct roar_vio_calls * calls, int fh) _LIBROAR_ATTR_NONNULL_ALL; 88 88 89 int roar_vio_open_socket (struct roar_vio_calls * calls, c har * host, int port) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL;90 int roar_vio_open_socket_listen(struct roar_vio_calls * calls, int type, c har * host, int port) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL;89 int roar_vio_open_socket (struct roar_vio_calls * calls, const char * host, int port) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 90 int roar_vio_open_socket_listen(struct roar_vio_calls * calls, int type, const char * host, int port) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 91 91 92 92 int roar_vio_simple_stream (struct roar_vio_calls * calls, int rate, int channels, int bits, int codec,
Note: See TracChangeset
for help on using the changeset viewer.