1 /* 2 * rtp socket communication include file 3 * 4 * initially contributed by Felix von Leitner 5 * 6 * Copyright (c) 2000 Mark Taylor 7 * 2010 Robert Hegemann 8 * 9 * This library is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Library General Public 11 * License as published by the Free Software Foundation; either 12 * version 2 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Library General Public License for more details. 18 * 19 * You should have received a copy of the GNU Library General Public 20 * License along with this library; if not, write to the 21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22 * Boston, MA 02111-1307, USA. 23 */ 24 25 #ifndef LAME_RTP_H 26 #define LAME_RTP_H 27 28 #if defined(__cplusplus) 29 extern "C" { 30 #endif 31 32 struct RtpStruct; 33 typedef struct RtpStruct *RtpHandle; 34 35 void rtp_initialization(void); 36 void rtp_deinitialization(void); 37 int rtp_socket( /*RtpHandle rtp, */ char const *Address, unsigned int port, 38 unsigned int TTL); 39 void rtp_output( /*RtpHandle rtp, */ unsigned char const *mp3buffer, int mp3size); 40 41 #if defined(__cplusplus) 42 } 43 #endif 44 #endif 45