Changeset a372663 in mainline for uspace/lib/usb/src/pipes.c
- Timestamp:
- 2011-03-21T13:53:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3954a63b
- Parents:
- 8a951ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/pipes.c
r8a951ca ra372663 244 244 * @return Error code. 245 245 */ 246 int usb_endpoint_pipe_start_session(usb_ endpoint_pipe_t *pipe)246 int usb_endpoint_pipe_start_session(usb_pipe_t *pipe) 247 247 { 248 248 assert(pipe); … … 270 270 * @return Error code. 271 271 */ 272 int usb_endpoint_pipe_end_session(usb_ endpoint_pipe_t *pipe)272 int usb_endpoint_pipe_end_session(usb_pipe_t *pipe) 273 273 { 274 274 assert(pipe); … … 296 296 * @return Whether @p pipe has opened a session. 297 297 */ 298 bool usb_endpoint_pipe_is_session_started(usb_ endpoint_pipe_t *pipe)298 bool usb_endpoint_pipe_is_session_started(usb_pipe_t *pipe) 299 299 { 300 300 return (pipe->hc_phone >= 0);
Note:
See TracChangeset
for help on using the changeset viewer.