Changeset 75:bca1641a0cd8 in roaraudio for include/libroar/socket.h


Ignore:
Timestamp:
07/12/08 17:18:37 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to open files like sockets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r69 r75  
    1212#define ROAR_SOCKET_TYPE_FORK 3 
    1313#define ROAR_SOCKET_TYPE_PIPE ROAR_SOCKET_TYPE_FORK 
     14#define ROAR_SOCKET_TYPE_FILE 4 
    1415 
    1516#define ROAR_SOCKET_QUEUE_LEN 8 
     
    2728int roar_socket_open       (int mode, int type, char * host, int port); 
    2829int roar_socket_open_fork  (int mode, char * host, int port); 
     30int roar_socket_open_file  (int mode, char * host, int port); 
    2931int roar_socket_open_proxy (int mode, int type, char * host, int port, char * proxy_type); 
    3032 
Note: See TracChangeset for help on using the changeset viewer.