Changeset 2658:f3303540d659 in roaraudio


Ignore:
Timestamp:
09/12/09 15:10:50 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

first defs for multi child cont fw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/container_framework.h

    r2657 r2658  
    2828#include <roaraudio.h> 
    2929 
     30#define CONT_FW_MAX_CHILDS 8 
     31 
     32struct cont_fw_child { 
     33 int child; 
     34 void * u_inst; 
     35}; 
     36 
     37struct cont_fw_child_vio_inst { 
     38 int child; 
     39 struct cont_fw_child * inst; 
     40}; 
     41 
     42struct cont_fw_parent_inst { 
     43 struct cont_fw_child * child[CONT_FW_MAX_CHILDS]; 
     44}; 
     45 
     46ssize_t cont_fw_read    (struct roar_vio_calls * vio, void *buf, size_t count); 
     47ssize_t cont_fw_write   (struct roar_vio_calls * vio, void *buf, size_t count); 
     48off_t   cont_fw_lseek   (struct roar_vio_calls * vio, off_t offset, int whence); 
     49int     cont_fw_nonblock(struct roar_vio_calls * vio, int state); 
     50int     cont_fw_sync    (struct roar_vio_calls * vio); 
     51int     cont_fw_ctl     (struct roar_vio_calls * vio, int cmd, void * data); 
     52int     cont_fw_close   (struct roar_vio_calls * vio); 
     53 
    3054#endif 
    3155 
Note: See TracChangeset for help on using the changeset viewer.