Changeset 69:5ef65a9359b3 in roaraudio for include/libroar/socket.h


Ignore:
Timestamp:
07/12/08 14:49:32 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to fork a roard instance in background

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r2 r69  
    1010#define ROAR_SOCKET_TYPE_INET 1 
    1111#define ROAR_SOCKET_TYPE_UNIX 2 
     12#define ROAR_SOCKET_TYPE_FORK 3 
     13#define ROAR_SOCKET_TYPE_PIPE ROAR_SOCKET_TYPE_FORK 
    1214 
    1315#define ROAR_SOCKET_QUEUE_LEN 8 
     
    2325int roar_socket_new_tcp (void); 
    2426int roar_socket_new_unix (void); 
    25 int roar_socket_open (int mode, int type, char * host, int port); 
     27int roar_socket_open       (int mode, int type, char * host, int port); 
     28int roar_socket_open_fork  (int mode, char * host, int port); 
    2629int roar_socket_open_proxy (int mode, int type, char * host, int port, char * proxy_type); 
    2730 
Note: See TracChangeset for help on using the changeset viewer.