]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mms.h
MMS: close access on network timeout
[vlc] / modules / access / mms / mms.h
index 2ac7cb6be679ec120c6dc08726336e1dfb4bd150..b78fac3c8c269037c89d4dbed2cafb7c667c5cdb 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef _MMS_H_
+#define _MMS_H_ 1
+
 #define MMS_PROTO_AUTO  0
 #define MMS_PROTO_TCP   1
 #define MMS_PROTO_UDP   2
 #define MMS_PROTO_HTTP  3
 
-
 /* mmst and mmsu */
 int  E_( MMSTUOpen )  ( access_t * );
 void E_( MMSTUClose ) ( access_t * );
@@ -35,4 +37,5 @@ void E_( MMSTUClose ) ( access_t * );
 int  E_( MMSHOpen )  ( access_t * );
 void E_( MMSHClose ) ( access_t * );
 
-#define FREE( p ) if( p ) { free( p ); (p) = NULL; }
+#endif
+