Changeset 2669:3b6eb870e562 in roaraudio for roard/include
- Timestamp:
- 09/12/09 22:46:02 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/container_framework.h
r2668 r2669 32 32 struct cont_fw_parent_inst; 33 33 34 struct cont_fw_child {34 struct cont_fw_child_vio_inst { 35 35 int child; 36 36 void * u_inst; 37 };38 39 struct cont_fw_child_vio_inst {40 int child;41 struct cont_fw_child * inst;42 37 struct cont_fw_parent_inst * parent; 43 38 }; 44 39 45 40 struct cont_fw_parent_inst { 46 struct cont_fw_child * child[CONT_FW_MAX_CHILDS];41 struct cont_fw_child_vio_inst * child[CONT_FW_MAX_CHILDS]; 47 42 void * u_inst; 48 43 struct { 49 ssize_t (*read) (struct cont_fw_parent_inst * self, struct cont_fw_child * child, void *buf, size_t len);50 ssize_t (*write)(struct cont_fw_parent_inst * self, struct cont_fw_child * child, void *buf, size_t len);51 int (*flush)(struct cont_fw_parent_inst * self, struct cont_fw_child * child);52 int (*close)(struct cont_fw_parent_inst * self, struct cont_fw_child * child);44 ssize_t (*read) (struct cont_fw_parent_inst * self, struct cont_fw_child_vio_inst * child, void *buf, size_t len); 45 ssize_t (*write)(struct cont_fw_parent_inst * self, struct cont_fw_child_vio_inst * child, void *buf, size_t len); 46 int (*flush)(struct cont_fw_parent_inst * self, struct cont_fw_child_vio_inst * child); 47 int (*close)(struct cont_fw_parent_inst * self, struct cont_fw_child_vio_inst * child); 53 48 } ccb; 54 49 struct {
Note: See TracChangeset
for help on using the changeset viewer.