test: separate linker flags
[libass.git] / libass / ass_library.h
blob8faf15e93f27a8966a1c68d20100cffdea55dfe4
1 /*
2 * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
4 * This file is part of libass.
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 #ifndef LIBASS_LIBRARY_H
20 #define LIBASS_LIBRARY_H
22 #include <stdarg.h>
24 typedef struct {
25 char *name;
26 char *data;
27 int size;
28 } ASS_Fontdata;
30 struct ass_library {
31 char *fonts_dir;
32 int extract_fonts;
33 char **style_overrides;
35 ASS_Fontdata *fontdata;
36 int num_fontdata;
37 void (*msg_callback)(int, const char *, va_list, void *);
38 void *msg_callback_data;
41 #endif /* LIBASS_LIBRARY_H */