Changeset 5534:ea9da1d777c7 in roaraudio for roarclients/roarsocktypes.c
- Timestamp:
- 06/12/12 14:59:42 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarsocktypes.c
r5381 r5534 26 26 #include <roaraudio.h> 27 27 28 static const struct { 29 const char * name; 30 int (*func)(void); 31 } tests[] = { 32 {"TCPv4" , roar_socket_new_tcp }, 33 {"UDPv4" , roar_socket_new_udp }, 34 {"TCPv6" , roar_socket_new_tcp6}, 35 {"UDPv6" , roar_socket_new_udp6}, 36 {"UNIX" , roar_socket_new_unix}, 37 {"DECnet seqpacket", roar_socket_new_decnet_seqpacket}, 38 {"DECnet stream" , roar_socket_new_decnet_stream}, 39 {"IPX" , roar_socket_new_ipx}, 40 {"IPX/SPX" , roar_socket_new_ipxspx}, 41 {NULL, NULL} 42 }; 43 28 44 int main (int argc, char * argv[]) { 29 45 int i, fh; 30 struct {31 char * name;32 int (*func)(void);33 } tests[] = {34 {"TCPv4" , roar_socket_new_tcp },35 {"UDPv4" , roar_socket_new_udp },36 {"TCPv6" , roar_socket_new_tcp6},37 {"UDPv6" , roar_socket_new_udp6},38 {"UNIX" , roar_socket_new_unix},39 {"DECnet seqpacket", roar_socket_new_decnet_seqpacket},40 {"DECnet stream" , roar_socket_new_decnet_stream},41 {"IPX" , roar_socket_new_ipx},42 {"IPX/SPX" , roar_socket_new_ipxspx},43 {NULL, NULL}44 };45 46 46 47 roar_debug_bin_obsolete(argv[0], NULL, NULL);
Note: See TracChangeset
for help on using the changeset viewer.