Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 939871a in mainline


Ignore:
Timestamp:
2013-03-23T13:04:22Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
5ae1c51
Parents:
493817b0
Message:

loibhound: Disallow STREAM_EXIT in general context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/protocol.c

    r493817b0 r939871a  
    139139
    140140static int hound_server_read_data(void *stream);
    141 static hound_server_iface_t *server_iface;
     141static const hound_server_iface_t *server_iface;
    142142
    143143void hound_service_set_server_iface(hound_server_iface_t *iface)
     
    206206                        break;
    207207                }
     208                case IPC_M_HOUND_STREAM_EXIT:
     209                        /* Stream exit is only allowed in stream context */
     210                        async_answer_0(callid, EINVAL);
     211                        break;
    208212                case IPC_M_HOUND_CONTEXT_UNREGISTER:
    209                 case IPC_M_HOUND_STREAM_EXIT:
    210213                case IPC_M_HOUND_STREAM_DRAIN:
    211214                default:
Note: See TracChangeset for help on using the changeset viewer.