libvlc_structures.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * libvlc_structures.h:  libvlc_* new external API structures
00003  *****************************************************************************
00004  * Copyright (C) 1998-2008 VLC authors and VideoLAN
00005  * $Id $
00006  *
00007  * Authors: Filippo Carone <littlejohn@videolan.org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify it
00010  * under the terms of the GNU Lesser General Public License as published by
00011  * the Free Software Foundation; either version 2.1 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00017  * GNU Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public License
00020  * along with this program; if not, write to the Free Software Foundation,
00021  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef LIBVLC_STRUCTURES_H
00025 #define LIBVLC_STRUCTURES_H 1
00026 
00027 /**
00028  * \file
00029  * This file defines libvlc_* new external API structures
00030  */
00031 
00032 #include <stdint.h>
00033 
00034 # ifdef __cplusplus
00035 extern "C" {
00036 # endif
00037 
00038 /**
00039  * \ingroup libvlc_core
00040  * @{
00041  */
00042 
00043 /** This structure is opaque. It represents a libvlc instance */
00044 typedef struct libvlc_instance_t libvlc_instance_t;
00045 
00046 typedef int64_t libvlc_time_t;
00047 
00048 /**@} */
00049 
00050 /**
00051  * \ingroup libvlc_log
00052  * @{
00053  */
00054 
00055 /** This structure is opaque. It represents a libvlc log instance */
00056 typedef struct libvlc_log_t libvlc_log_t;
00057 
00058 /** This structure is opaque. It represents a libvlc log iterator */
00059 typedef struct libvlc_log_iterator_t libvlc_log_iterator_t;
00060 
00061 typedef struct libvlc_log_message_t
00062 {
00063     int         i_severity;   /* 0=INFO, 1=ERR, 2=WARN, 3=DBG */
00064     const char *psz_type;     /* module type */
00065     const char *psz_name;     /* module name */
00066     const char *psz_header;   /* optional header */
00067     const char *psz_message;  /* message */
00068 } libvlc_log_message_t;
00069 
00070 /**@} */
00071 
00072 # ifdef __cplusplus
00073 }
00074 # endif
00075 
00076 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines