* all : declaration of http and httpd.

This commit is contained in:
Laurent Aimar 2003-02-23 19:07:02 +00:00
parent 84aaa859bc
commit 312754c3a2
5 changed files with 12 additions and 2 deletions

View File

@ -170,6 +170,7 @@ HEADERS_include = \
include/interface.h \
include/intf_eject.h \
include/iso_lang.h \
include/httpd.h \
include/main.h \
include/mmx.h \
include/modules.h \

View File

@ -2,7 +2,7 @@
* vlc_objects.h: vlc_object_t definition.
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: vlc_objects.h,v 1.15 2003/01/27 17:41:01 ipkiss Exp $
* $Id: vlc_objects.h,v 1.16 2003/02/23 19:07:02 fenrir Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
@ -33,6 +33,8 @@
#define VLC_OBJECT_VOUT (-9)
#define VLC_OBJECT_AOUT (-10)
#define VLC_OBJECT_SOUT (-11)
#define VLC_OBJECT_HTTPD (-12)
#define VLC_OBJECT_GENERIC (-666)
/* Object search mode */

View File

@ -1,3 +1,4 @@
SOURCES_access_output_dummy = modules/access_output/dummy.c
SOURCES_access_output_file = modules/access_output/file.c
SOURCES_access_output_udp = modules/access_output/udp.c
SOURCES_access_output_http = modules/access_output/http.c

View File

@ -3,3 +3,4 @@ SOURCES_gnome_main = modules/misc/gtk_main.c
SOURCES_sap = modules/misc/sap.c
SOURCES_screensaver = modules/misc/screensaver.c
SOURCES_qte_main = modules/misc/qte_main.cpp
SOURCES_httpd = modules/misc/httpd.c

View File

@ -2,7 +2,7 @@
* objects.c: vlc_object_t handling
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: objects.c,v 1.34 2003/01/27 17:41:01 ipkiss Exp $
* $Id: objects.c,v 1.35 2003/02/23 19:07:02 fenrir Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
@ -44,6 +44,7 @@
#include "vlc_playlist.h"
#include "interface.h"
#include "httpd.h"
/*****************************************************************************
* Local prototypes
*****************************************************************************/
@ -123,6 +124,10 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size = sizeof(sout_instance_t);
psz_type = "stream output";
break;
case VLC_OBJECT_HTTPD:
i_size = sizeof( httpd_t );
psz_type = "http daemon";
break;
default:
i_size = i_type > 0
? i_type > (int)sizeof(vlc_object_t)