Changeset 3312:f425c2ff782d in roaraudio for include/libroar/vio_dstr.h


Ignore:
Timestamp:
02/03/10 14:03:41 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

more general internal API, support to register types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio_dstr.h

    r3309 r3312  
    174174char *  roar_vio_dstr_get_name(int type); 
    175175 
     176int     roar_vio_dstr_register_type(int   type, 
     177                                    char *name, 
     178                                    int (*setdef) (struct roar_vio_dstr_chain * cur, 
     179                                                   struct roar_vio_dstr_chain * next), 
     180                                    int (*openvio)(struct roar_vio_calls      * calls, 
     181                                                   struct roar_vio_calls      * dst, 
     182                                                   struct roar_vio_dstr_chain * cur)); 
     183 
    176184int     roar_vio_dstr_init_defaults (struct roar_vio_defaults * def, int type, int o_flags, mode_t o_mode); 
    177185int     roar_vio_dstr_init_defaults_c (struct roar_vio_defaults * def, int type, struct roar_vio_defaults * odef, int o_flags); 
Note: See TracChangeset for help on using the changeset viewer.