File: libfo-compat.h

package info (click to toggle)
xmlroff 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 36,456 kB
  • ctags: 25,964
  • sloc: ansic: 178,200; xml: 109,155; sh: 8,973; makefile: 1,331; perl: 30
file content (33 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
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
/* Fo
 * libfo-compat.h: LibFo compatibility processing
 *
 * Copyright (C) 2003 Sun Microsystems
 * Copyright (C) 2007 Menteith Consulting
 *
 * !See COPYING for the status of this software.
 */

#ifndef __LIBFO_COMPAT_H__
#define __LIBFO_COMPAT_H__

#include <libfo/fo-utils.h>
#include <libfo/fo-xml-doc.h>

G_BEGIN_DECLS

#define LIBFO_COMPAT_ERROR libfo_compat_error_quark ()
GQuark libfo_compat_error_quark (void);

typedef enum
{
  LIBFO_COMPAT_ERROR_FAILED
} LibfoCompatError;

const gchar* libfo_compat_get_stylesheet  (void);
FoXmlDoc *   libfo_compat_make_compatible (FoXmlDoc       *result_tree,
					   FoLibfoContext *libfo_context,
					   GError        **error);

G_END_DECLS

#endif /* !__LIBFO_COMPAT_H__ */