1159b3361Sopenharmony_ci/* 2159b3361Sopenharmony_ci * rtp socket communication include file 3159b3361Sopenharmony_ci * 4159b3361Sopenharmony_ci * initially contributed by Felix von Leitner 5159b3361Sopenharmony_ci * 6159b3361Sopenharmony_ci * Copyright (c) 2000 Mark Taylor 7159b3361Sopenharmony_ci * 2010 Robert Hegemann 8159b3361Sopenharmony_ci * 9159b3361Sopenharmony_ci * This library is free software; you can redistribute it and/or 10159b3361Sopenharmony_ci * modify it under the terms of the GNU Library General Public 11159b3361Sopenharmony_ci * License as published by the Free Software Foundation; either 12159b3361Sopenharmony_ci * version 2 of the License, or (at your option) any later version. 13159b3361Sopenharmony_ci * 14159b3361Sopenharmony_ci * This library is distributed in the hope that it will be useful, 15159b3361Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 16159b3361Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17159b3361Sopenharmony_ci * Library General Public License for more details. 18159b3361Sopenharmony_ci * 19159b3361Sopenharmony_ci * You should have received a copy of the GNU Library General Public 20159b3361Sopenharmony_ci * License along with this library; if not, write to the 21159b3361Sopenharmony_ci * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22159b3361Sopenharmony_ci * Boston, MA 02111-1307, USA. 23159b3361Sopenharmony_ci */ 24159b3361Sopenharmony_ci 25159b3361Sopenharmony_ci#ifndef LAME_RTP_H 26159b3361Sopenharmony_ci#define LAME_RTP_H 27159b3361Sopenharmony_ci 28159b3361Sopenharmony_ci#if defined(__cplusplus) 29159b3361Sopenharmony_ciextern "C" { 30159b3361Sopenharmony_ci#endif 31159b3361Sopenharmony_ci 32159b3361Sopenharmony_ci struct RtpStruct; 33159b3361Sopenharmony_ci typedef struct RtpStruct *RtpHandle; 34159b3361Sopenharmony_ci 35159b3361Sopenharmony_ci void rtp_initialization(void); 36159b3361Sopenharmony_ci void rtp_deinitialization(void); 37159b3361Sopenharmony_ci int rtp_socket( /*RtpHandle rtp, */ char const *Address, unsigned int port, 38159b3361Sopenharmony_ci unsigned int TTL); 39159b3361Sopenharmony_ci void rtp_output( /*RtpHandle rtp, */ unsigned char const *mp3buffer, int mp3size); 40159b3361Sopenharmony_ci 41159b3361Sopenharmony_ci#if defined(__cplusplus) 42159b3361Sopenharmony_ci} 43159b3361Sopenharmony_ci#endif 44159b3361Sopenharmony_ci#endif 45