gmarkup.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <stdarg.h>
#include <glib/gerror.h>

Go to the source code of this file.


Data Structures

struct   _GMarkupParser

Defines

#define  G_MARKUP_ERROR   g_markup_error_quark ()

Typedefs

typedef _GMarkupParseContext  GMarkupParseContext
typedef _GMarkupParser  GMarkupParser

Enumerations

enum   GMarkupError {
  G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_UNKNOWN_ELEMENT,
  G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, G_MARKUP_ERROR_INVALID_CONTENT
}
enum   GMarkupParseFlags { G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0 }

Functions

IMPORT_C GQuark  g_markup_error_quark (void)
IMPORT_C GMarkupParseContext g_markup_parse_context_new (const GMarkupParser *parser, GMarkupParseFlags flags, gpointer user_data, GDestroyNotify user_data_dnotify)
IMPORT_C void  g_markup_parse_context_free (GMarkupParseContext *context)
IMPORT_C gboolean  g_markup_parse_context_parse (GMarkupParseContext *context, const gchar *text, gssize text_len, GError **error)
IMPORT_C gboolean  g_markup_parse_context_end_parse (GMarkupParseContext *context, GError **error)
IMPORT_C G_CONST_RETURN gchar g_markup_parse_context_get_element (GMarkupParseContext *context)
IMPORT_C void  g_markup_parse_context_get_position (GMarkupParseContext *context, gint *line_number, gint *char_number)
IMPORT_C gchar g_markup_escape_text (const gchar *text, gssize length)
IMPORT_C gchar g_markup_printf_escaped (const char *format,...) G_GNUC_PRINTF(1
IMPORT_C gchar *IMPORT_C gchar g_markup_vprintf_escaped (const char *format, va_list args)

Define Documentation

#define G_MARKUP_ERROR   g_markup_error_quark ()
 

Typedef Documentation

typedef struct _GMarkupParseContext GMarkupParseContext
 
typedef struct _GMarkupParser GMarkupParser
 

Enumeration Type Documentation

enum GMarkupError
 
Enumerator:
G_MARKUP_ERROR_BAD_UTF8 
G_MARKUP_ERROR_EMPTY 
G_MARKUP_ERROR_PARSE 
G_MARKUP_ERROR_UNKNOWN_ELEMENT 
G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE 
G_MARKUP_ERROR_INVALID_CONTENT 
enum GMarkupParseFlags
 
Enumerator:
G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG 

Function Documentation

IMPORT_C GQuark g_markup_error_quark void   ) 
 
IMPORT_C gchar* g_markup_escape_text const gchar text,
gssize  length
 
IMPORT_C gboolean g_markup_parse_context_end_parse GMarkupParseContext context,
GError **  error
 
IMPORT_C void g_markup_parse_context_free GMarkupParseContext context  ) 
 
IMPORT_C G_CONST_RETURN gchar* g_markup_parse_context_get_element GMarkupParseContext context  ) 
 
IMPORT_C void g_markup_parse_context_get_position GMarkupParseContext context,
gint line_number,
gint char_number
 
IMPORT_C GMarkupParseContext* g_markup_parse_context_new const GMarkupParser parser,
GMarkupParseFlags  flags,
gpointer  user_data,
GDestroyNotify  user_data_dnotify
 
IMPORT_C gboolean g_markup_parse_context_parse GMarkupParseContext context,
const gchar text,
gssize  text_len,
GError **  error
 
IMPORT_C gchar* g_markup_printf_escaped const char *  format,
  ...
 
IMPORT_C gchar* IMPORT_C gchar* g_markup_vprintf_escaped const char *  format,
va_list  args
 

Copyright © Nokia Corporation 2001-2008
Back to top