vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / media / plugins / rtsp_streamer / rtsp.h
bloba8d2404045984f42895f39bb27cf7d73150ed8c0
1 /**********
2 This library is free software; you can redistribute it and/or modify it under
3 the terms of the GNU Lesser General Public License as published by the
4 Free Software Foundation; either version 2.1 of the License, or (at your
5 option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
6 This library is distributed in the hope that it will be useful, but WITHOUT
7 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
9 more details.
10 You should have received a copy of the GNU Lesser General Public License
11 along with this library; if not, write to the Free Software Foundation, Inc.,
12 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
13 **********/
14 // Copyright (c) 1996-2016, Live Networks, Inc. All rights reserved
15 // Copyright (c) 2016, Dario Casalinuovo. All rights reserved.
16 #ifndef _RTSP_H
17 #define _RTSP_H
19 #include "liveMedia.hh"
20 #include "BasicUsageEnvironment.hh"
23 void continueAfterDESCRIBE(RTSPClient* rtspClient, int resultCode, char* resultString);
24 void continueAfterSETUP(RTSPClient* rtspClient, int resultCode, char* resultString);
25 void continueAfterPLAY(RTSPClient* rtspClient, int resultCode, char* resultString);
27 void subsessionAfterPlaying(void* clientData);
28 void subsessionByeHandler(void* clientData);
29 void streamTimerHandler(void* clientData);
30 void setupNextSubsession(RTSPClient* rtspClient);
31 void shutdownStream(RTSPClient* rtspClient, int exitCode = 1);
34 #endif