libquvi
src
quvi-0.9
quvi
qdef.h
Go to the documentation of this file.
1
/* libquvi
2
* Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com>
3
*
4
* This file is part of libquvi <http://quvi.sourceforge.net/>.
5
*
6
* This library is free software: you can redistribute it and/or
7
* modify it under the terms of the GNU Affero General Public
8
* License as published by the Free Software Foundation, either
9
* version 3 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Affero General Public License for more details.
15
*
16
* You should have received a copy of the GNU Affero General
17
* Public License along with this library. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef qdef_h
22
#define qdef_h
23
26
typedef
int (*
quvi_callback_status
)(long,
void
*,
void
*);
28
typedef
void
*
quvi_subtitle_export_t
;
29
typedef
void
*
quvi_subtitle_type_t
;
30
typedef
void
*
quvi_subtitle_lang_t
;
31
typedef
void
*
quvi_http_metainfo_t
;
32
typedef
void
*
quvi_file_ext_t
;
33
typedef
void
*
quvi_playlist_t
;
34
typedef
void
*
quvi_subtitle_t
;
35
typedef
void
*
quvi_resolve_t
;
36
typedef
void
*
quvi_media_t
;
37
typedef
void
*
quvi_scan_t
;
38
typedef
void
*
quvi_t
;
40
typedef
uint32_t
quvi_word
;
41
typedef
uint8_t
quvi_byte
;
43
#define quvi_lobyte(w) ((quvi_byte)((uint64_t)(w) & 0xff))
44
#define quvi_hibyte(w) ((quvi_byte)((uint64_t)(w) >> 8))
45
#define quvi_loword(l) ((quvi_word)((uint64_t)(l) & 0xffff))
46
#define quvi_hiword(l) ((quvi_word)((uint64_t)(l) >> 16))
48
#endif
/* qdef_h */
49
50
/* vim: set ts=2 sw=2 tw=72 expandtab: */
quvi_media_t
void * quvi_media_t
Definition:
qdef.h:36
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_subtitle_lang_t
void * quvi_subtitle_lang_t
Definition:
qdef.h:30
quvi_subtitle_t
void * quvi_subtitle_t
Definition:
qdef.h:34
quvi_file_ext_t
void * quvi_file_ext_t
Definition:
qdef.h:32
quvi_word
uint32_t quvi_word
Definition:
qdef.h:40
quvi_callback_status
int(* quvi_callback_status)(long, void *, void *)
Definition:
qdef.h:26
quvi_t
void * quvi_t
Definition:
qdef.h:38
quvi_scan_t
void * quvi_scan_t
Definition:
qdef.h:37
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_playlist_t
void * quvi_playlist_t
Definition:
qdef.h:33
quvi_byte
uint8_t quvi_byte
Definition:
qdef.h:41
Generated on Wed Apr 15 2020 16:39:17 for libquvi by
1.8.17