Changeset 5534:ea9da1d777c7 in roaraudio for roarclients/roarsocktypes.c


Ignore:
Timestamp:
06/12/12 14:59:42 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Done more hardending work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarsocktypes.c

    r5381 r5534  
    2626#include <roaraudio.h> 
    2727 
     28static 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 
    2844int main (int argc, char * argv[]) { 
    2945 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  }; 
    4546 
    4647 roar_debug_bin_obsolete(argv[0], NULL, NULL); 
Note: See TracChangeset for help on using the changeset viewer.