libvlc_internal.h 1.66 KB
Newer Older
1
/*****************************************************************************
Clément Stenac's avatar
Clément Stenac committed
2 3
 * libvlc_internal.h : Definition of opaque structures for libvlc exported API
 * Also contains some internal utility functions
4 5
 *****************************************************************************
 * Copyright (C) 2005 the VideoLAN team
Clément Stenac's avatar
Clément Stenac committed
6
 * $Id: control_structures.h 13752 2005-12-15 10:14:42Z oaubert $
7
 *
Clément Stenac's avatar
Clément Stenac committed
8
 * Authors: Clément Stenac <zorglub@videolan.org>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 *****************************************************************************/

Clément Stenac's avatar
Clément Stenac committed
25 26
#ifndef _LIBVLC_INTERNAL_H
#define _LIBVLC_INTERNAL_H 1
27 28 29 30 31

# ifdef __cplusplus
extern "C" {
# endif

Clément Stenac's avatar
Clément Stenac committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#include <vlc/vlc.h>

struct libvlc_instance_t
{
    vlc_t *p_vlc;
    playlist_t *p_playlist;
    int    i_vlc_id;
};

struct libvlc_input_t
{
    int i_input_id;  ///< Input object id. We don't use a pointer to
                     /// avoid any crash
    struct libvlc_instance_t *p_instance; ///< Parent instance
};

48 49 50 51 52 53

# ifdef __cplusplus
}
# endif

#endif