Changeset 5253:a9d4cba9e8dc in roaraudio for include


Ignore:
Timestamp:
11/13/11 17:01:45 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

improved situation on opening files with DSTR/old roar_vio_open_file()

Location:
include/libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_dstr.h

    r5227 r5253  
    140140 
    141141 union { 
    142   char *   file; 
    143   int      fh; 
     142  const char *  file; 
     143  int           fh; 
    144144  struct { 
    145145          int               domain; 
    146146          int               type; 
    147           char            * host; 
     147          const char      * host; 
    148148          union { 
    149149                 struct sockaddr     sa; 
  • include/libroar/vio_socket.h

    r4708 r5253  
    5151int     roar_vio_socket_get_port          (char * service, int domain, int type); 
    5252 
    53 int     roar_vio_socket_init_unix_def     (struct roar_vio_defaults * def, char * path); 
     53int     roar_vio_socket_init_unix_def     (struct roar_vio_defaults * def, const char * path); 
    5454 
    5555int     roar_vio_socket_init_decnetnode_def(struct roar_vio_defaults * def); 
    56 int     roar_vio_socket_init_decnet_def   (struct roar_vio_defaults * def, char * node, int object, char * objname); 
     56int     roar_vio_socket_init_decnet_def   (struct roar_vio_defaults * def, const char * node, int object, char * objname); 
    5757 
    5858int     roar_vio_socket_init_inet4host_def(struct roar_vio_defaults * def); 
    59 int     roar_vio_socket_init_inet4_def    (struct roar_vio_defaults * def, char * host, int port, int type); 
    60 int     roar_vio_socket_init_tcp4_def     (struct roar_vio_defaults * def, char * host, int port); 
    61 int     roar_vio_socket_init_udp4_def     (struct roar_vio_defaults * def, char * host, int port); 
     59int     roar_vio_socket_init_inet4_def    (struct roar_vio_defaults * def, const char * host, int port, int type); 
     60int     roar_vio_socket_init_tcp4_def     (struct roar_vio_defaults * def, const char * host, int port); 
     61int     roar_vio_socket_init_udp4_def     (struct roar_vio_defaults * def, const char * host, int port); 
    6262int     roar_vio_socket_init_inet6host_def(struct roar_vio_defaults * def); 
    63 int     roar_vio_socket_init_inet6_def    (struct roar_vio_defaults * def, char * host, int port, int type); 
    64 int     roar_vio_socket_init_tcp6_def     (struct roar_vio_defaults * def, char * host, int port); 
    65 int     roar_vio_socket_init_udp6_def     (struct roar_vio_defaults * def, char * host, int port); 
     63int     roar_vio_socket_init_inet6_def    (struct roar_vio_defaults * def, const char * host, int port, int type); 
     64int     roar_vio_socket_init_tcp6_def     (struct roar_vio_defaults * def, const char * host, int port); 
     65int     roar_vio_socket_init_udp6_def     (struct roar_vio_defaults * def, const char * host, int port); 
    6666 
    6767#endif 
Note: See TracChangeset for help on using the changeset viewer.