Changeset 2665:511a75b53cba in roaraudio
- Timestamp:
- 09/12/09 22:14:36 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/container_framework.c
r2664 r2665 35 35 _PREP() 36 36 37 // Parent: 37 38 int cont_fw_new (struct cont_fw_parent_inst ** inst) { 38 39 struct cont_fw_parent_inst * self; … … 69 70 return 0; 70 71 } 72 73 int cont_fw_set_uinst(struct cont_fw_parent_inst * inst, void * u_inst) { 74 if ( inst == NULL ) 75 return -1; 76 77 inst->u_inst = u_inst; 78 79 return 0; 80 } 81 82 int cont_fw_get_uinst(struct cont_fw_parent_inst * inst, void ** u_inst) { 83 if ( inst == NULL || u_inst == NULL ) 84 return -1; 85 86 *u_inst = inst->u_inst; 87 88 return 0; 89 } 90 91 // VIOs: 71 92 72 93 int cont_fw_init_vio(struct roar_vio_calls * vio, void * inst) { -
roard/include/container_framework.h
r2663 r2665 53 53 }; 54 54 55 int cont_fw_new (struct cont_fw_parent_inst ** inst); 56 int cont_fw_delete (struct cont_fw_parent_inst * inst); 55 int cont_fw_new (struct cont_fw_parent_inst ** inst); 56 int cont_fw_delete (struct cont_fw_parent_inst * inst); 57 int cont_fw_set_uinst(struct cont_fw_parent_inst * inst, void * u_inst); 58 int cont_fw_get_uinst(struct cont_fw_parent_inst * inst, void ** u_inst); 59 57 60 int cont_fw_init_vio(struct roar_vio_calls * vio, void * inst); 58 61 ssize_t cont_fw_read (struct roar_vio_calls * vio, void *buf, size_t count);
Note: See TracChangeset
for help on using the changeset viewer.