Changeset 5227:beb26bba0901 in roaraudio for include


Ignore:
Timestamp:
11/12/11 13:26:38 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added const keywords to roar_vio_open_dstr(), roar_vio_open_dstr_vio(), roar_vs_file_simple() and roar_vs_new_from_file()

Location:
include/libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_dstr.h

    r4956 r5227  
    197197int     roar_vio_open_default (struct roar_vio_calls * calls, struct roar_vio_defaults * def, char * opts); 
    198198 
    199 int     roar_vio_open_dstr    (struct roar_vio_calls * calls, char * dstr, struct roar_vio_defaults * def, int dnum); 
    200 int     roar_vio_open_dstr_vio(struct roar_vio_calls * calls, char * dstr, struct roar_vio_defaults * def, int dnum, struct roar_vio_calls * vio); 
     199int     roar_vio_open_dstr    (struct roar_vio_calls * calls, const char * dstr, struct roar_vio_defaults * def, int dnum); 
     200int     roar_vio_open_dstr_vio(struct roar_vio_calls * calls, const char * dstr, struct roar_vio_defaults * def, int dnum, struct roar_vio_calls * vio); 
    201201 
    202202int     roar_vio_dstr_parse_opts(struct roar_vio_dstr_chain * chain); 
  • include/libroar/vs.h

    r5109 r5227  
    7979/* Open a file and attach it. 
    8080 */ 
    81 int roar_vs_file_simple(roar_vs_t * vss, char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(1, 2); 
     81int roar_vs_file_simple(roar_vs_t * vss, const char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(1, 2); 
    8282 
    8383/* Connects to a server to just play a file. 
    8484 */ 
    85 roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(3); 
     85roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, const char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(3); 
    8686 
    8787/* Switch to buffered mode. 
Note: See TracChangeset for help on using the changeset viewer.