00001 /***************************************************************************** 00002 * libvlc.h: libvlc_* new external API structures 00003 ***************************************************************************** 00004 * Copyright (C) 1998-2008 the VideoLAN team 00005 * $Id $ 00006 * 00007 * Authors: Filippo Carone <littlejohn@videolan.org> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 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 General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, 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 unsigned sizeof_msg; /* sizeof() of message structure, must be filled in by user */ 00064 int i_severity; /* 0=INFO, 1=ERR, 2=WARN, 3=DBG */ 00065 const char *psz_type; /* module type */ 00066 const char *psz_name; /* module name */ 00067 const char *psz_header; /* optional header */ 00068 const char *psz_message; /* message */ 00069 } libvlc_log_message_t; 00070 00071 /**@} */ 00072 00073 # ifdef __cplusplus 00074 } 00075 # endif 00076 00077 #endif
1.5.6