]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/announce.h
* first update of the German translation
[vlc] / modules / stream_out / announce.h
index e89e1a21ec1dc6dedcd94a7afac1c52e2df41ccd..902bed0c316ea3fef6b4c9cb7f712f5ff23467d7 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * announce.h : Session announcement
  *****************************************************************************
- * Copyright (C) 2002 VideoLAN
+ * Copyright (C) 2002 the VideoLAN team
  * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@via.ecp.fr>
  * Preamble
  *****************************************************************************/
 
-#if defined( UNDER_CE )
-#   include <winsock.h>
-#elif defined( WIN32 )
-#   include <winsock2.h>
-#   include <ws2tcpip.h>
-#   define close closesocket
-#else
-#   include <netdb.h>                                         /* hostent ... */
-#   include <sys/socket.h>
-#   include <netinet/in.h>
-#   ifdef HAVE_ARPA_INET_H
-#       include <arpa/inet.h>                    /* inet_ntoa(), inet_aton() */
-#   endif
-#endif
-
 #ifdef HAVE_SLP_H
 #   include <slp.h>
 #endif
 #   include <sys/types.h>
 #endif
 
-/*****************************************************************************
- * sap_session_t: SAP Session descriptor
- *****************************************************************************/
-struct sap_session_t
-{
-        char * psz_sdp;
-        module_t p_network;
-        unsigned int i_socket;
-        unsigned int i_calls;
-        int i_ip_version;
-};
-
-typedef struct sap_session_t sap_session_t;
 /*****************************************************************************
  * slp_session_t: SLP Session descriptor
  *****************************************************************************/
@@ -75,19 +47,6 @@ typedef struct slp_session_t slp_session_t;
 /*****************************************************************************
  * Prototypes
  *****************************************************************************/
-
-char * SDPGenerateUDP(char * ,char *);
-sap_session_t *  sout_SAPNew        (sout_instance_t *,
-                                     char* , int, char *);
-void             sout_SAPDelete     (sout_instance_t *,sap_session_t*);
-void             sout_SAPSend       (sout_instance_t *,sap_session_t *);
 int              sout_SLPReg        (sout_instance_t *,char *,char *);
 int              sout_SLPDereg      (sout_instance_t *,char *,char *);
 
-/*
-VLC_EXPORT( sap_session_t *, sout_SAPNew, ( sout_instance_t *,char * , char * , int , char *) );
-VLC_EXPORT( void, sout_SAPSend, ( sout_instance_t *,sap_session_t *) );
-VLC_EXPORT( void, sout_SAPDelete, ( sout_instance_t *,sap_session_t * ) );
-
-VLC_EXPORT( int, sout_SLPReg, (sout_instance_t*,char*,char*) );
-VLC_EXPORT( int, sout_SLPDereg, (sout_instance_t*,char*,char*) );*/