format_ebml.h 785 Bytes
Newer Older
1
2
/* Icecast
 *
3
 * This program is distributed under the GNU General Public License,
4
5
6
 * version 2. A copy of this license is included with this source.
 * At your option, this specific source file can also be distributed
 * under the GNU GPL version 3.
7
 *
8
 * Copyright 2012,      David Richards, Mozilla Foundation,
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 *                      and others (see AUTHORS for details).
 */

/* format_ebml.h
**
** ebml format plugin header
**
*/
#ifndef __FORMAT_EBML_H__
#define __FORMAT_EBML_H__

#include "format.h"

typedef struct ebml_st ebml_t;
typedef struct ebml_source_state_st ebml_source_state_t;

struct ebml_source_state_st {

    ebml_t *ebml;
    refbuf_t *header;
    int file_headers_written;

};

int format_ebml_get_plugin (source_t *source);

#endif  /* __FORMAT_EBML_H__ */