| xmlroff Reference Manual |
|---|
fo-libfo-basic —
enum FoLibfoBasicError; #define FO_LIBFO_BASIC_ERRORGQuark fo_libfo_basic_error_quark (void); enum FoEnumType; struct FoLibfoContext;gboolean fo_libfo_init (void);gpointer (*FoMalloc) (gsize n_bytes);gpointer (*FoRealloc) (gpointer mem,gsize n_bytes); void (*FoFree) (gpointer mem);gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free);gboolean fo_libfo_shutdown (void); FoLibfoContext* fo_libfo_context_new (void); void fo_libfo_context_close (FoLibfoContext *libfo_context);gboolean fo_libfo_format (FoLibfoContext *libfo_context, constgchar *xml, constgchar *xslt, constgchar *out,GError **error);
typedef enum
{
FO_LIBFO_BASIC_ERROR_FAILED, /* Generic error code */
FO_LIBFO_BASIC_ERROR_UNKNOWN_FORMAT,
FO_LIBFO_BASIC_ERROR_WARNING, /* Non-fatal error */
FO_LIBFO_BASIC_ERROR_LAST
} FoLibfoBasicError;
GQuark fo_libfo_basic_error_quark (void);
Get the error quark for
If the quark does not yet exist, create it.
| Returns : | Quark associated with |
gboolean fo_libfo_init2 (FoMalloc fo_malloc, FoRealloc fo_realloc, FoFree fo_free);
| fo_malloc : | |
| fo_realloc : | |
| fo_free : | |
| Returns : |
FoLibfoContext* fo_libfo_context_new (void);
Creates a new FoLibfoContext initialized to default value.
| Returns : |
void fo_libfo_context_close (FoLibfoContext *libfo_context);
| libfo_context : |
gboolean fo_libfo_format (FoLibfoContext *libfo_context, constgchar *xml, constgchar *xslt, constgchar *out,GError **error);
| libfo_context : | |
| xml : | |
| xslt : | |
| out : | |
| error : | |
| Returns : |
| << fo-layout-pdflib | FoLibfoContext >> |