Changeset 6022:db3345439191 in roaraudio
- Timestamp:
- 07/13/14 18:21:10 (10 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/socket.h
r5961 r6022 53 53 int roar_socket_connect (int type, const char * host, int port); 54 54 55 // TODO: those function should be made /static/.56 #if 057 int roar_socket_new_decnet_seqpacket (void) _LIBROAR_ATTR_TO_STATIC;58 int roar_socket_new_ipxspx (void) _LIBROAR_ATTR_TO_STATIC;59 #endif60 61 55 int roar_socket_new (int type); 62 56 -
libroar/socket.c
r5961 r6022 101 101 } 102 102 103 #if 0104 static int roar_socket_new_decnet_seqpacket (void) {105 #ifdef ROAR_HAVE_LIBDNET106 int fh;107 108 fh = socket(AF_DECnet, SOCK_SEQPACKET, DNPROTO_NSP);109 110 roar_socket_decnet_set_timeout(fh, 300, 0);111 112 return fh;113 #else114 return -1;115 #endif116 }117 #endif118 119 120 #if 0121 static int roar_socket_new_ipxspx (void) {122 return -1;123 }124 #endif125 126 103 int roar_socket_new (int type) { 127 104 #ifdef ROAR_HAVE_BSDSOCKETS
Note: See TracChangeset
for help on using the changeset viewer.