gutils.h File Reference

#include <g_types.h>
#include <stdarg.h>

Go to the source code of this file.

Classes

struct  _GDebugKey
struct  _GTrashStack

Defines

#define G_DIR_SEPARATOR   '/'
#define G_DIR_SEPARATOR_S   "/"
#define G_SEARCHPATH_SEPARATOR   ':'
#define G_SEARCHPATH_SEPARATOR_S   ":"
#define G_VA_COPY(ap1, ap2)   ((ap1) = (ap2))
#define G_CAN_INLINE   1
#define inline
#define G_INLINE_FUNC   extern
#define ATEXIT(proc)   g_ATEXIT(proc)
#define GLIB_VAR   extern
#define GLIB_CHECK_VERSION(major, minor, micro)

Typedefs

typedef _GDebugKey GDebugKey
typedef void(*) GVoidFunc (void)
typedef _GTrashStack GTrashStack

Functions

gcharg_get_user_name (void)
gcharg_get_real_name (void)
gcharg_get_home_dir (void)
gcharg_get_tmp_dir (void)
gcharg_get_prgname (void)
void g_set_prgname (const gchar *prgname)
guint g_parse_debug_string (const gchar *string, GDebugKey *keys, guint nkeys)
gint g_snprintf (gchar *string, gulong n, gchar const *format,...) G_GNUC_PRINTF(3
gint gint g_vsnprintf (gchar *string, gulong n, gchar const *format, va_list args)
gboolean g_path_is_absolute (const gchar *file_name)
gcharg_path_skip_root (gchar *file_name)
gcharg_basename (const gchar *file_name)
gcharg_dirname (const gchar *file_name)
gcharg_get_current_dir (void)
gcharg_path_get_basename (const gchar *file_name)
gcharg_path_get_dirname (const gchar *file_name)
gcharg_getenv (const gchar *variable)
void g_atexit (GVoidFunc func)
gcharg_find_program_in_path (const gchar *program)
G_INLINE_FUNC gint g_bit_nth_lsf (guint32 mask, gint nth_bit)
G_INLINE_FUNC gint g_bit_nth_msf (guint32 mask, gint nth_bit)
G_INLINE_FUNC guint g_bit_storage (guint number)
G_INLINE_FUNC void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p)
G_INLINE_FUNC gpointer g_trash_stack_pop (GTrashStack **stack_p)
G_INLINE_FUNC gpointer g_trash_stack_peek (GTrashStack **stack_p)
G_INLINE_FUNC guint g_trash_stack_height (GTrashStack **stack_p)

Variables

GLIB_VAR const guint glib_major_version
GLIB_VAR const guint glib_minor_version
GLIB_VAR const guint glib_micro_version
GLIB_VAR const guint glib_interface_age
GLIB_VAR const guint glib_binary_age


Define Documentation

#define ATEXIT ( proc   )     g_ATEXIT(proc)

Definition at line 175 of file gutils.h.

#define G_CAN_INLINE   1

Definition at line 85 of file gutils.h.

#define G_DIR_SEPARATOR   '/'

Definition at line 49 of file gutils.h.

#define G_DIR_SEPARATOR_S   "/"

Definition at line 50 of file gutils.h.

#define G_INLINE_FUNC   extern

Definition at line 109 of file gutils.h.

#define G_SEARCHPATH_SEPARATOR   ':'

Definition at line 51 of file gutils.h.

#define G_SEARCHPATH_SEPARATOR_S   ":"

Definition at line 52 of file gutils.h.

#define G_VA_COPY ( ap1,
ap2   )     ((ap1) = (ap2))

Definition at line 65 of file gutils.h.

#define GLIB_CHECK_VERSION ( major,
minor,
micro   ) 

Value:

(GLIB_MAJOR_VERSION > (major) || \
     (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION > (minor)) || \
     (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION == (minor) && \
      GLIB_MICRO_VERSION >= (micro)))

Definition at line 324 of file gutils.h.

#define GLIB_VAR   extern

Definition at line 315 of file gutils.h.

#define inline

Definition at line 97 of file gutils.h.


Typedef Documentation

typedef struct _GDebugKey GDebugKey

Definition at line 124 of file gutils.h.

typedef struct _GTrashStack GTrashStack

Definition at line 200 of file gutils.h.

typedef void(*) GVoidFunc(void)

Definition at line 173 of file gutils.h.


Function Documentation

void g_atexit ( GVoidFunc  func  ) 

Referenced by gdk_init_check().

gchar* g_basename ( const gchar file_name  ) 

G_INLINE_FUNC gint g_bit_nth_lsf ( guint32  mask,
gint  nth_bit 
)

G_INLINE_FUNC gint g_bit_nth_msf ( guint32  mask,
gint  nth_bit 
)

G_INLINE_FUNC guint g_bit_storage ( guint  number  ) 

gchar* g_dirname ( const gchar file_name  ) 

gchar* g_find_program_in_path ( const gchar program  ) 

gchar* g_get_current_dir ( void   ) 

gchar* g_get_home_dir ( void   ) 

gchar* g_get_prgname ( void   ) 

Referenced by gdk_init_check(), and gdk_window_new().

gchar* g_get_real_name ( void   ) 

gchar* g_get_tmp_dir ( void   ) 

gchar* g_get_user_name ( void   ) 

gchar* g_getenv ( const gchar variable  ) 

guint g_parse_debug_string ( const gchar string,
GDebugKey keys,
guint  nkeys 
)

Referenced by gdk_arg_debug_cb(), gdk_arg_no_debug_cb(), and gdk_init_check().

gchar* g_path_get_basename ( const gchar file_name  ) 

gchar* g_path_get_dirname ( const gchar file_name  ) 

gboolean g_path_is_absolute ( const gchar file_name  ) 

gchar* g_path_skip_root ( gchar file_name  ) 

void g_set_prgname ( const gchar prgname  ) 

Referenced by gdk_arg_name_cb(), and gdk_init_check().

gint g_snprintf ( gchar string,
gulong  n,
gchar const *  format,
  ... 
)

G_INLINE_FUNC guint g_trash_stack_height ( GTrashStack **  stack_p  ) 

G_INLINE_FUNC gpointer g_trash_stack_peek ( GTrashStack **  stack_p  ) 

G_INLINE_FUNC gpointer g_trash_stack_pop ( GTrashStack **  stack_p  ) 

G_INLINE_FUNC void g_trash_stack_push ( GTrashStack **  stack_p,
gpointer  data_p 
)

gint gint g_vsnprintf ( gchar string,
gulong  n,
gchar const *  format,
va_list  args 
)


Variable Documentation

GLIB_VAR const guint glib_binary_age

Definition at line 322 of file gutils.h.

GLIB_VAR const guint glib_interface_age

Definition at line 321 of file gutils.h.

GLIB_VAR const guint glib_major_version

Definition at line 318 of file gutils.h.

GLIB_VAR const guint glib_micro_version

Definition at line 320 of file gutils.h.

GLIB_VAR const guint glib_minor_version

Definition at line 319 of file gutils.h.


Generated on Tue Jul 5 15:58:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1