include/os_specific.h \
include/stream_control.h \
include/stream_output.h \
- include/announce.h \
include/variables.h \
include/video_output.h \
include/vlc_common.h \
src/audio_output/output.c \
src/audio_output/intf.c \
src/stream_output/stream_output.c \
- src/stream_output/announce.c \
src/misc/mtime.c \
src/misc/modules.c \
src/misc/threads.c \
dnl Autoconf settings for vlc
-dnl $Id: configure.ac,v 1.58 2003/08/13 23:26:55 gbazin Exp $
+dnl $Id: configure.ac,v 1.59 2003/08/14 20:02:55 zorglub Exp $
AC_INIT(vlc,0.6.3-cvs)
then
AX_ADD_PLUGINS([slp])
AX_ADD_LDFLAGS([slp],[-lslp])
- AX_ADD_LDFLAGS([vlc],[-lslp])
+ AX_ADD_LDFLAGS([stream_out_standard],[-lslp])
fi
else
AC_MSG_CHECKING(for slp headers in ${with_slp})
AC_MSG_RESULT(yes)
AX_ADD_PLUGINS([slp])
AX_ADD_LDFLAGS([slp],[-L${with_slp} -lslp])
- AX_ADD_LDFLAGS([vlc],[-L${with_slp} -lslp])
+ AX_ADD_LDFLAGS([stream_out_standard],[-L${with_slp} -lslp])
AX_ADD_CPPFLAGS([slp],[-I${with_slp}])
AC_DEFINE(HAVE_SLP_H)
else
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vlc_common.h,v 1.72 2003/08/14 11:47:32 gbazin Exp $
+ * $Id: vlc_common.h,v 1.73 2003/08/14 20:02:55 zorglub Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
typedef struct sout_stream_t sout_stream_t;
typedef struct sout_cfg_t sout_cfg_t;
typedef struct sout_format_t sout_format_t;
-typedef struct sap_session_t sap_session_t;
-typedef struct slp_session_t slp_session_t;
+/*typedef struct sap_session_t sap_session_t;
+typedef struct slp_session_t slp_session_t;*/
/* Decoders */
typedef struct decoder_fifo_t decoder_fifo_t;
SOURCES_stream_out_dummy = dummy.c
-SOURCES_stream_out_standard = standard.c
+SOURCES_stream_out_standard = standard.c \
+ announce.c
SOURCES_stream_out_transcode = transcode.c
SOURCES_stream_out_duplicate = duplicate.c
SOURCES_stream_out_es = es.c
* and the one which is after.
* NULL is returned if delim is not found
****************************************************************************/
-
static char * split( char *psz_in, char *psz_out1, char *psz_out2, char delim)
{
unsigned int i_count = 0; /* pos in input string */
/*****************************************************************************
* sout_SAPNew: Creates a SAP Session
*****************************************************************************/
-sap_session_t * sout_SAPNew ( sout_instance_t *p_sout, char * psz_url_arg,
- char * psz_name_arg, int ip_version,
- char * psz_v6_scope )
+sap_session_t * sout_SAPNew ( sout_instance_t *p_sout,
+ char * psz_url_arg,
+ char * psz_name_arg,
+ int ip_version,
+ char * psz_v6_scope )
{
sap_session_t *p_sap; /* The SAP structure */
module_t *p_network; /* Network module */
/*****************************************************************************
* sout_SLPBuildName: Builds a service name according to SLP standard
*****************************************************************************/
-char * sout_SLPBuildName(char *psz_url,char *psz_name)
+static char * sout_SLPBuildName(char *psz_url,char *psz_name)
{
char *psz_service;
unsigned int i_size;
* sout_SLPReport: Reporting function. Unused at the moment but needed
*****************************************************************************/
#ifdef HAVE_SLP_H
-void sout_SLPReport(SLPHandle slp_handle,SLPError slp_error,void* cookie)
+static void sout_SLPReport(SLPHandle slp_handle,SLPError slp_error,void* cookie)
{
}
#endif
* announce.h : Session announcement
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: announce.h,v 1.9 2003/08/13 19:38:27 gbazin Exp $
+ * $Id: announce.h,v 1.1 2003/08/14 20:02:55 zorglub Exp $
*
* Authors: Clément Stenac <zorglub@via.ecp.fr>
*
*****************************************************************************/
/*****************************************************************************
- * sap_session_t: SAP Session descriptor
+ * Preamble
*****************************************************************************/
#if defined( UNDER_CE )
# endif
#endif
+#ifdef HAVE_SLP_H
+# include <slp.h>
+#endif
+
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
-
+/*****************************************************************************
+ * sap_session_t: SAP Session descriptor
+ *****************************************************************************/
struct sap_session_t
{
char psz_url[256];
int i_ip_version;
};
-
+typedef struct sap_session_t sap_session_t;
+/*****************************************************************************
+ * slp_session_t: SLP Session descriptor
+ *****************************************************************************/
struct slp_session_t
{
char *psz_url;
char *psz_name;
};
+typedef struct slp_session_t slp_session_t;
/*****************************************************************************
* Prototypes
*****************************************************************************/
+sap_session_t * sout_SAPNew (sout_instance_t *,
+ char *, 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*) );
+VLC_EXPORT( int, sout_SLPDereg, (sout_instance_t*,char*,char*) );*/
* standard.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: standard.c,v 1.11 2003/08/13 21:15:42 gbazin Exp $
+ * $Id: standard.c,v 1.12 2003/08/14 20:02:55 zorglub Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
#include <vlc/vlc.h>
#include <vlc/sout.h>
-#include <announce.h>
+#include "announce.h"
#define DEFAULT_IPV6_SCOPE "8"
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.127 2003/08/01 00:00:50 fenrir Exp $
+ * $Id: modules.c,v 1.128 2003/08/14 20:02:55 zorglub Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
#include "aout_internal.h"
#include "stream_output.h"
-#include "announce.h"
+/*#include "announce.h"*/
#include "osd.h"
#include "iso_lang.h"