Changeset 528:d42830e32ea1 in roaraudio


Ignore:
Timestamp:
08/16/08 02:15:56 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

adding dummy IPX implementation: are there no docs? Can't even find correct socket() values!

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configure

    r500 r528  
    144144test_lib_defmake ROAR_HAVE_LIBARTSC      libroararts  libartsc      artsc      -- kde/artsc/artsc.h 
    145145test_lib_defmake ROAR_HAVE_LIBDNET       %            libdnet       dnet       -- sys/socket.h netdnet/dn.h netdnet/dnetdb.h 
     146test_lib_defmake ROAR_HAVE_IPXSPX        %            IPX                      -- netipx/ipx.h 
    146147 
    147148# add a better test here 
  • include/libroar/libroar.h

    r501 r528  
    1515#include <netdnet/dn.h> 
    1616#include <netdnet/dnetdb.h> 
     17#endif 
     18#ifdef ROAR_HAVE_IPXSPX 
     19#include <netipx/ipx.h> 
    1720#endif 
    1821 
  • include/libroar/socket.h

    r524 r528  
    2323#define ROAR_SOCKET_TYPE_UDP6    9 
    2424#define ROAR_SOCKET_TYPE_INET6   ROAR_SOCKET_TYPE_TCP6 
     25#define ROAR_SOCKET_TYPE_IPXSPX  10 
    2526 
    26 #define ROAR_SOCKET_TYPE_MAX  9 
     27#define ROAR_SOCKET_TYPE_MAX  10 
    2728 
    2829#define ROAR_SOCKET_QUEUE_LEN 8 
     
    4344int roar_socket_new_decnet_seqpacket (void); 
    4445int roar_socket_new_decnet_stream (void); 
     46int roar_socket_new_ipxspx (void); 
    4547 
    4648int roar_socket_open       (int mode, int type, char * host, int port); 
  • libroar/socket.c

    r521 r528  
    9898} 
    9999 
     100int roar_socket_new_ipxspx (void) { 
     101 return -1; 
     102} 
    100103 
    101104int roar_socket_nonblock(int fh, int state) { 
Note: See TracChangeset for help on using the changeset viewer.