preparser.h
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:
midi
开发平台:
Unix_Linux
- /*****************************************************************************
- * playlist_preparser.h:
- *****************************************************************************
- * Copyright (C) 1999-2008 the VideoLAN team
- * $Id: 2df0d1a932e6e5c48cdaa888dae62c22e3e5fb1b $
- *
- * Authors: Samuel Hocevar <sam@zoy.org>
- * Clément Stenac <zorglub@videolan.org>
- *
- * 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
- #ifndef _PLAYLIST_PREPARSER_H
- #define _PLAYLIST_PREPARSER_H 1
- /**
- * Preparser opaque structure.
- *
- * The preparser object will retreive the meta data of any given input item in
- * an asynchronous way.
- * It will also issue art fetching requests.
- */
- typedef struct playlist_preparser_t playlist_preparser_t;
- /**
- * This function creates the preparser object and thread.
- */
- playlist_preparser_t *playlist_preparser_New( playlist_t *, playlist_fetcher_t * );
- /**
- * This function enqueues the provided item to be preparsed.
- *
- * The input item is retained until the preparsing is done or until the
- * preparser object is deleted.
- */
- void playlist_preparser_Push( playlist_preparser_t *, input_item_t * );
- /**
- * This function destroys the preparser object and thread.
- *
- * All pending input items will be released.
- */
- void playlist_preparser_Delete( playlist_preparser_t * );
- #endif