qdef.h
Go to the documentation of this file.
/* libquvi
* Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com>
*
* This file is part of libquvi <http://quvi.sourceforge.net/>.
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This library 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General
* Public License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef qdef_h
#define qdef_h
typedef int (*quvi_callback_status)(long,void*,void*);
typedef void *quvi_subtitle_export_t;
typedef void *quvi_subtitle_type_t;
typedef void *quvi_subtitle_lang_t;
typedef void *quvi_http_metainfo_t;
typedef void *quvi_file_ext_t;
typedef void *quvi_playlist_t;
typedef void *quvi_subtitle_t;
typedef void *quvi_resolve_t;
typedef void *quvi_media_t;
typedef void *quvi_scan_t;
typedef void *quvi_t;
typedef uint32_t quvi_word;
typedef uint8_t quvi_byte;
#define quvi_lobyte(w) ((quvi_byte)((uint64_t)(w) & 0xff))
#define quvi_hibyte(w) ((quvi_byte)((uint64_t)(w) >> 8))
#define quvi_loword(l) ((quvi_word)((uint64_t)(l) & 0xffff))
#define quvi_hiword(l) ((quvi_word)((uint64_t)(l) >> 16))
#endif /* qdef_h */
/* vim: set ts=2 sw=2 tw=72 expandtab: */
quvi_media_t
void * quvi_media_t
Definition qdef.h:36
quvi_byte
uint8_t quvi_byte
Definition qdef.h:41
quvi_http_metainfo_t
void * quvi_http_metainfo_t
Definition qdef.h:31
quvi_subtitle_export_t
void * quvi_subtitle_export_t
Definition qdef.h:28
quvi_file_ext_t
void * quvi_file_ext_t
Definition qdef.h:32
quvi_subtitle_t
void * quvi_subtitle_t
Definition qdef.h:34
quvi_subtitle_type_t
void * quvi_subtitle_type_t
Definition qdef.h:29
quvi_resolve_t
void * quvi_resolve_t
Definition qdef.h:35
quvi_callback_status
int(* quvi_callback_status)(long, void *, void *)
Definition qdef.h:26
quvi_scan_t
void * quvi_scan_t
Definition qdef.h:37
quvi_t
void * quvi_t
Definition qdef.h:38
quvi_word
uint32_t quvi_word
Definition qdef.h:40
quvi_subtitle_lang_t
void * quvi_subtitle_lang_t
Definition qdef.h:30
quvi_playlist_t
void * quvi_playlist_t
Definition qdef.h:33