Changeset 6da3baec in mainline for uspace/srv/audio/hound/connection.h
- Timestamp:
- 2013-04-03T21:25:28Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be7eccf
- Parents:
- 8f8ec69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/connection.h
r8f8ec69 r6da3baec 54 54 static inline connection_t * connection_from_source_list(link_t *l) 55 55 { 56 return l ist_get_instance(l, connection_t, source_link);56 return l ? list_get_instance(l, connection_t, source_link) : NULL; 57 57 } 58 58 59 59 static inline connection_t * connection_from_sink_list(link_t *l) 60 60 { 61 return l ist_get_instance(l, connection_t, sink_link);61 return l ? list_get_instance(l, connection_t, sink_link) : NULL; 62 62 } 63 63 64 64 static inline connection_t * connection_from_hound_list(link_t *l) 65 65 { 66 return l ist_get_instance(l, connection_t, hound_link);66 return l ? list_get_instance(l, connection_t, hound_link) : NULL; 67 67 } 68 68
Note:
See TracChangeset
for help on using the changeset viewer.