Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50524 Details for
Bug 80970
gcc crashes during compilation producing an Internal compiler error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
the compiler output
cc7Fxqx3-kino.out (text/plain), 1.28 MB, created by
massimo
on 2005-02-06 04:42:28 UTC
(
hide
)
Description:
the compiler output
Filename:
MIME Type:
Creator:
massimo
Created:
2005-02-06 04:42:28 UTC
Size:
1.28 MB
patch
obsolete
>// /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/cc1plus -fpreprocessed /root/.ccache/preference.tmp.ughosts.3843.ii -quiet -dumpbase preference.tmp.ughosts.3843.ii -mcpu=ultrasparc -auxbase-strip /root/.ccache/tmp.hash.ughosts.3843.o -O2 -Wall -Wno-deprecated -o - -frandom-seed=0 ># 1 "preferences.cc" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "preferences.cc" ># 21 "preferences.cc" ># 1 "../config.h" 1 ># 22 "preferences.cc" 2 > > ># 1 "preferences.h" 1 ># 22 "preferences.h" ># 1 "/usr/include/glib-1.2/glib.h" 1 ># 66 "/usr/include/glib-1.2/glib.h" ># 1 "/usr/lib/glib/include/glibconfig.h" 1 ># 9 "/usr/lib/glib/include/glibconfig.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 26 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 295 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 296 "/usr/include/features.h" 2 3 4 ># 318 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 319 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/limits.h" 2 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 130 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 131 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 2 3 4 ># 10 "/usr/lib/glib/include/glibconfig.h" 2 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/float.h" 1 3 4 ># 11 "/usr/lib/glib/include/glibconfig.h" 2 > > > >extern "C" { ># 28 "/usr/lib/glib/include/glibconfig.h" >typedef signed char gint8; >typedef unsigned char guint8; >typedef signed short gint16; >typedef unsigned short guint16; >typedef signed int gint32; >typedef unsigned int guint32; ># 43 "/usr/lib/glib/include/glibconfig.h" >__extension__ typedef signed long long gint64; >__extension__ typedef unsigned long long guint64; ># 79 "/usr/lib/glib/include/glibconfig.h" >typedef struct _GStaticMutex GStaticMutex; >struct _GStaticMutex >{ > struct _GMutex *runtime_mutex; > union { > char pad[24]; > double dummy_double; > void *dummy_pointer; > long dummy_long; > } aligned_pad_u; >}; ># 128 "/usr/lib/glib/include/glibconfig.h" >} ># 67 "/usr/include/glib-1.2/glib.h" 2 > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 105 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 71 "/usr/include/glib-1.2/glib.h" 2 ># 112 "/usr/include/glib-1.2/glib.h" >extern "C" { ># 473 "/usr/include/glib-1.2/glib.h" >typedef char gchar; >typedef short gshort; >typedef long glong; >typedef int gint; >typedef gint gboolean; > >typedef unsigned char guchar; >typedef unsigned short gushort; >typedef unsigned long gulong; >typedef unsigned int guint; > >typedef float gfloat; >typedef double gdouble; ># 498 "/usr/include/glib-1.2/glib.h" >typedef void* gpointer; >typedef const void *gconstpointer; > > >typedef gint32 gssize; >typedef guint32 gsize; >typedef guint32 GQuark; >typedef gint32 GTime; ># 676 "/usr/include/glib-1.2/glib.h" >extern const guint glib_major_version; >extern const guint glib_minor_version; >extern const guint glib_micro_version; >extern const guint glib_interface_age; >extern const guint glib_binary_age; ># 690 "/usr/include/glib-1.2/glib.h" >typedef struct _GAllocator GAllocator; >typedef struct _GArray GArray; >typedef struct _GByteArray GByteArray; >typedef struct _GCache GCache; >typedef struct _GCompletion GCompletion; >typedef struct _GData GData; >typedef struct _GDebugKey GDebugKey; >typedef struct _GHashTable GHashTable; >typedef struct _GHook GHook; >typedef struct _GHookList GHookList; >typedef struct _GList GList; >typedef struct _GMemChunk GMemChunk; >typedef struct _GNode GNode; >typedef struct _GPtrArray GPtrArray; >typedef struct _GRelation GRelation; >typedef struct _GScanner GScanner; >typedef struct _GScannerConfig GScannerConfig; >typedef struct _GSList GSList; >typedef struct _GString GString; >typedef struct _GStringChunk GStringChunk; >typedef struct _GTimer GTimer; >typedef struct _GTree GTree; >typedef struct _GTuples GTuples; >typedef union _GTokenValue GTokenValue; >typedef struct _GIOChannel GIOChannel; > > >typedef enum >{ > G_TRAVERSE_LEAFS = 1 << 0, > G_TRAVERSE_NON_LEAFS = 1 << 1, > G_TRAVERSE_ALL = G_TRAVERSE_LEAFS | G_TRAVERSE_NON_LEAFS, > G_TRAVERSE_MASK = 0x03 >} GTraverseFlags; > > >typedef enum >{ > G_IN_ORDER, > G_PRE_ORDER, > G_POST_ORDER, > G_LEVEL_ORDER >} GTraverseType; ># 741 "/usr/include/glib-1.2/glib.h" >typedef enum >{ > > G_LOG_FLAG_RECURSION = 1 << 0, > G_LOG_FLAG_FATAL = 1 << 1, > > > G_LOG_LEVEL_ERROR = 1 << 2, > G_LOG_LEVEL_CRITICAL = 1 << 3, > G_LOG_LEVEL_WARNING = 1 << 4, > G_LOG_LEVEL_MESSAGE = 1 << 5, > G_LOG_LEVEL_INFO = 1 << 6, > G_LOG_LEVEL_DEBUG = 1 << 7, > > G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) >} GLogLevelFlags; > > > > > >typedef gpointer (*GCacheNewFunc) (gpointer key); >typedef gpointer (*GCacheDupFunc) (gpointer value); >typedef void (*GCacheDestroyFunc) (gpointer value); >typedef gint (*GCompareFunc) (gconstpointer a, > gconstpointer b); >typedef gchar* (*GCompletionFunc) (gpointer); >typedef void (*GDestroyNotify) (gpointer data); >typedef void (*GDataForeachFunc) (GQuark key_id, > gpointer data, > gpointer user_data); >typedef void (*GFunc) (gpointer data, > gpointer user_data); >typedef guint (*GHashFunc) (gconstpointer key); >typedef void (*GFreeFunc) (gpointer data); >typedef void (*GHFunc) (gpointer key, > gpointer value, > gpointer user_data); >typedef gboolean (*GHRFunc) (gpointer key, > gpointer value, > gpointer user_data); >typedef gint (*GHookCompareFunc) (GHook *new_hook, > GHook *sibling); >typedef gboolean (*GHookFindFunc) (GHook *hook, > gpointer data); >typedef void (*GHookMarshaller) (GHook *hook, > gpointer data); >typedef gboolean (*GHookCheckMarshaller) (GHook *hook, > gpointer data); >typedef void (*GHookFunc) (gpointer data); >typedef gboolean (*GHookCheckFunc) (gpointer data); >typedef void (*GHookFreeFunc) (GHookList *hook_list, > GHook *hook); >typedef void (*GLogFunc) (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer user_data); >typedef gboolean (*GNodeTraverseFunc) (GNode *node, > gpointer data); >typedef void (*GNodeForeachFunc) (GNode *node, > gpointer data); >typedef gint (*GSearchFunc) (gpointer key, > gpointer data); >typedef void (*GScannerMsgFunc) (GScanner *scanner, > gchar *message, > gint error); >typedef gint (*GTraverseFunc) (gpointer key, > gpointer value, > gpointer data); >typedef void (*GVoidFunc) (void); > > >struct _GList >{ > gpointer data; > GList *next; > GList *prev; >}; > >struct _GSList >{ > gpointer data; > GSList *next; >}; > >struct _GString >{ > gchar *str; > gint len; >}; > >struct _GArray >{ > gchar *data; > guint len; >}; > >struct _GByteArray >{ > guint8 *data; > guint len; >}; > >struct _GPtrArray >{ > gpointer *pdata; > guint len; >}; > >struct _GTuples >{ > guint len; >}; > >struct _GDebugKey >{ > gchar *key; > guint value; >}; > > > > >void g_list_push_allocator (GAllocator *allocator); >void g_list_pop_allocator (void); >GList* g_list_alloc (void); >void g_list_free (GList *list); >void g_list_free_1 (GList *list); >GList* g_list_append (GList *list, > gpointer data); >GList* g_list_prepend (GList *list, > gpointer data); >GList* g_list_insert (GList *list, > gpointer data, > gint position); >GList* g_list_insert_sorted (GList *list, > gpointer data, > GCompareFunc func); >GList* g_list_concat (GList *list1, > GList *list2); >GList* g_list_remove (GList *list, > gpointer data); >GList* g_list_remove_link (GList *list, > GList *llink); >GList* g_list_reverse (GList *list); >GList* g_list_copy (GList *list); >GList* g_list_nth (GList *list, > guint n); >GList* g_list_find (GList *list, > gpointer data); >GList* g_list_find_custom (GList *list, > gpointer data, > GCompareFunc func); >gint g_list_position (GList *list, > GList *llink); >gint g_list_index (GList *list, > gpointer data); >GList* g_list_last (GList *list); >GList* g_list_first (GList *list); >guint g_list_length (GList *list); >void g_list_foreach (GList *list, > GFunc func, > gpointer user_data); >GList* g_list_sort (GList *list, > GCompareFunc compare_func); >gpointer g_list_nth_data (GList *list, > guint n); > > > > > > >void g_slist_push_allocator (GAllocator *allocator); >void g_slist_pop_allocator (void); >GSList* g_slist_alloc (void); >void g_slist_free (GSList *list); >void g_slist_free_1 (GSList *list); >GSList* g_slist_append (GSList *list, > gpointer data); >GSList* g_slist_prepend (GSList *list, > gpointer data); >GSList* g_slist_insert (GSList *list, > gpointer data, > gint position); >GSList* g_slist_insert_sorted (GSList *list, > gpointer data, > GCompareFunc func); >GSList* g_slist_concat (GSList *list1, > GSList *list2); >GSList* g_slist_remove (GSList *list, > gpointer data); >GSList* g_slist_remove_link (GSList *list, > GSList *llink); >GSList* g_slist_reverse (GSList *list); >GSList* g_slist_copy (GSList *list); >GSList* g_slist_nth (GSList *list, > guint n); >GSList* g_slist_find (GSList *list, > gpointer data); >GSList* g_slist_find_custom (GSList *list, > gpointer data, > GCompareFunc func); >gint g_slist_position (GSList *list, > GSList *llink); >gint g_slist_index (GSList *list, > gpointer data); >GSList* g_slist_last (GSList *list); >guint g_slist_length (GSList *list); >void g_slist_foreach (GSList *list, > GFunc func, > gpointer user_data); >GSList* g_slist_sort (GSList *list, > GCompareFunc compare_func); >gpointer g_slist_nth_data (GSList *list, > guint n); > > > > > >GHashTable* g_hash_table_new (GHashFunc hash_func, > GCompareFunc key_compare_func); >void g_hash_table_destroy (GHashTable *hash_table); >void g_hash_table_insert (GHashTable *hash_table, > gpointer key, > gpointer value); >void g_hash_table_remove (GHashTable *hash_table, > gconstpointer key); >gpointer g_hash_table_lookup (GHashTable *hash_table, > gconstpointer key); >gboolean g_hash_table_lookup_extended(GHashTable *hash_table, > gconstpointer lookup_key, > gpointer *orig_key, > gpointer *value); >void g_hash_table_freeze (GHashTable *hash_table); >void g_hash_table_thaw (GHashTable *hash_table); >void g_hash_table_foreach (GHashTable *hash_table, > GHFunc func, > gpointer user_data); >guint g_hash_table_foreach_remove (GHashTable *hash_table, > GHRFunc func, > gpointer user_data); >guint g_hash_table_size (GHashTable *hash_table); > > > > >GCache* g_cache_new (GCacheNewFunc value_new_func, > GCacheDestroyFunc value_destroy_func, > GCacheDupFunc key_dup_func, > GCacheDestroyFunc key_destroy_func, > GHashFunc hash_key_func, > GHashFunc hash_value_func, > GCompareFunc key_compare_func); >void g_cache_destroy (GCache *cache); >gpointer g_cache_insert (GCache *cache, > gpointer key); >void g_cache_remove (GCache *cache, > gpointer value); >void g_cache_key_foreach (GCache *cache, > GHFunc func, > gpointer user_data); >void g_cache_value_foreach (GCache *cache, > GHFunc func, > gpointer user_data); > > > > >GTree* g_tree_new (GCompareFunc key_compare_func); >void g_tree_destroy (GTree *tree); >void g_tree_insert (GTree *tree, > gpointer key, > gpointer value); >void g_tree_remove (GTree *tree, > gpointer key); >gpointer g_tree_lookup (GTree *tree, > gpointer key); >void g_tree_traverse (GTree *tree, > GTraverseFunc traverse_func, > GTraverseType traverse_type, > gpointer data); >gpointer g_tree_search (GTree *tree, > GSearchFunc search_func, > gpointer data); >gint g_tree_height (GTree *tree); >gint g_tree_nnodes (GTree *tree); > > > > > >struct _GNode >{ > gpointer data; > GNode *next; > GNode *prev; > GNode *parent; > GNode *children; >}; > > > > > > >void g_node_push_allocator (GAllocator *allocator); >void g_node_pop_allocator (void); >GNode* g_node_new (gpointer data); >void g_node_destroy (GNode *root); >void g_node_unlink (GNode *node); >GNode* g_node_insert (GNode *parent, > gint position, > GNode *node); >GNode* g_node_insert_before (GNode *parent, > GNode *sibling, > GNode *node); >GNode* g_node_prepend (GNode *parent, > GNode *node); >guint g_node_n_nodes (GNode *root, > GTraverseFlags flags); >GNode* g_node_get_root (GNode *node); >gboolean g_node_is_ancestor (GNode *node, > GNode *descendant); >guint g_node_depth (GNode *node); >GNode* g_node_find (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gpointer data); ># 1089 "/usr/include/glib-1.2/glib.h" >void g_node_traverse (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gint max_depth, > GNodeTraverseFunc func, > gpointer data); > > > > > > >guint g_node_max_height (GNode *root); > >void g_node_children_foreach (GNode *node, > GTraverseFlags flags, > GNodeForeachFunc func, > gpointer data); >void g_node_reverse_children (GNode *node); >guint g_node_n_children (GNode *node); >GNode* g_node_nth_child (GNode *node, > guint n); >GNode* g_node_last_child (GNode *node); >GNode* g_node_find_child (GNode *node, > GTraverseFlags flags, > gpointer data); >gint g_node_child_position (GNode *node, > GNode *child); >gint g_node_child_index (GNode *node, > gpointer data); > >GNode* g_node_first_sibling (GNode *node); >GNode* g_node_last_sibling (GNode *node); ># 1134 "/usr/include/glib-1.2/glib.h" >typedef enum >{ > G_HOOK_FLAG_ACTIVE = 1 << 0, > G_HOOK_FLAG_IN_CALL = 1 << 1, > G_HOOK_FLAG_MASK = 0x0f >} GHookFlagMask; > > > >struct _GHookList >{ > guint seq_id; > guint hook_size; > guint is_setup : 1; > GHook *hooks; > GMemChunk *hook_memchunk; > GHookFreeFunc hook_free; > GHookFreeFunc hook_destroy; >}; > >struct _GHook >{ > gpointer data; > GHook *next; > GHook *prev; > guint ref_count; > guint hook_id; > guint flags; > gpointer func; > GDestroyNotify destroy; >}; ># 1177 "/usr/include/glib-1.2/glib.h" >void g_hook_list_init (GHookList *hook_list, > guint hook_size); >void g_hook_list_clear (GHookList *hook_list); >GHook* g_hook_alloc (GHookList *hook_list); >void g_hook_free (GHookList *hook_list, > GHook *hook); >void g_hook_ref (GHookList *hook_list, > GHook *hook); >void g_hook_unref (GHookList *hook_list, > GHook *hook); >gboolean g_hook_destroy (GHookList *hook_list, > guint hook_id); >void g_hook_destroy_link (GHookList *hook_list, > GHook *hook); >void g_hook_prepend (GHookList *hook_list, > GHook *hook); >void g_hook_insert_before (GHookList *hook_list, > GHook *sibling, > GHook *hook); >void g_hook_insert_sorted (GHookList *hook_list, > GHook *hook, > GHookCompareFunc func); >GHook* g_hook_get (GHookList *hook_list, > guint hook_id); >GHook* g_hook_find (GHookList *hook_list, > gboolean need_valids, > GHookFindFunc func, > gpointer data); >GHook* g_hook_find_data (GHookList *hook_list, > gboolean need_valids, > gpointer data); >GHook* g_hook_find_func (GHookList *hook_list, > gboolean need_valids, > gpointer func); >GHook* g_hook_find_func_data (GHookList *hook_list, > gboolean need_valids, > gpointer func, > gpointer data); > >GHook* g_hook_first_valid (GHookList *hook_list, > gboolean may_be_in_call); > > > >GHook* g_hook_next_valid (GHookList *hook_list, > GHook *hook, > gboolean may_be_in_call); > > >gint g_hook_compare_ids (GHook *new_hook, > GHook *sibling); > > > > > > > >void g_hook_list_invoke (GHookList *hook_list, > gboolean may_recurse); > > > >void g_hook_list_invoke_check (GHookList *hook_list, > gboolean may_recurse); > > >void g_hook_list_marshal (GHookList *hook_list, > gboolean may_recurse, > GHookMarshaller marshaller, > gpointer data); >void g_hook_list_marshal_check (GHookList *hook_list, > gboolean may_recurse, > GHookCheckMarshaller marshaller, > gpointer data); ># 1263 "/usr/include/glib-1.2/glib.h" >void g_on_error_query (const gchar *prg_name); >void g_on_error_stack_trace (const gchar *prg_name); > > > > >extern const gchar *g_log_domain_glib; >guint g_log_set_handler (const gchar *log_domain, > GLogLevelFlags log_levels, > GLogFunc log_func, > gpointer user_data); >void g_log_remove_handler (const gchar *log_domain, > guint handler_id); >void g_log_default_handler (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer unused_data); >void g_log (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > ...) __attribute__((format (printf, 3, 4))); >void g_logv (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > va_list args); >GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, > GLogLevelFlags fatal_mask); >GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); ># 1350 "/usr/include/glib-1.2/glib.h" >typedef void (*GPrintFunc) (const gchar *string); >void g_print (const gchar *format, > ...) __attribute__((format (printf, 1, 2))); >GPrintFunc g_set_print_handler (GPrintFunc func); >void g_printerr (const gchar *format, > ...) __attribute__((format (printf, 1, 2))); >GPrintFunc g_set_printerr_handler (GPrintFunc func); > > >typedef void (*GErrorFunc) (const gchar *str); >typedef void (*GWarningFunc) (const gchar *str); >GErrorFunc g_set_error_handler (GErrorFunc func); >GWarningFunc g_set_warning_handler (GWarningFunc func); >GPrintFunc g_set_message_handler (GPrintFunc func); ># 1377 "/usr/include/glib-1.2/glib.h" >gpointer g_malloc (gulong size); >gpointer g_malloc0 (gulong size); >gpointer g_realloc (gpointer mem, > gulong size); >void g_free (gpointer mem); > > > >void g_mem_profile (void); >void g_mem_check (gpointer mem); > > > >GAllocator* g_allocator_new (const gchar *name, > guint n_preallocs); >void g_allocator_free (GAllocator *allocator); ># 1421 "/usr/include/glib-1.2/glib.h" >GMemChunk* g_mem_chunk_new (gchar *name, > gint atom_size, > gulong area_size, > gint type); >void g_mem_chunk_destroy (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); >void g_mem_chunk_free (GMemChunk *mem_chunk, > gpointer mem); >void g_mem_chunk_clean (GMemChunk *mem_chunk); >void g_mem_chunk_reset (GMemChunk *mem_chunk); >void g_mem_chunk_print (GMemChunk *mem_chunk); >void g_mem_chunk_info (void); ># 1443 "/usr/include/glib-1.2/glib.h" >void g_blow_chunks (void); > > > > >GTimer* g_timer_new (void); >void g_timer_destroy (GTimer *timer); >void g_timer_start (GTimer *timer); >void g_timer_stop (GTimer *timer); >void g_timer_reset (GTimer *timer); >gdouble g_timer_elapsed (GTimer *timer, > gulong *microseconds); > > > > > > >gchar* g_strdelimit (gchar *string, > const gchar *delimiters, > gchar new_delimiter); >gdouble g_strtod (const gchar *nptr, > gchar **endptr); >gchar* g_strerror (gint errnum); >gchar* g_strsignal (gint signum); >gint g_strcasecmp (const gchar *s1, > const gchar *s2); >gint g_strncasecmp (const gchar *s1, > const gchar *s2, > guint n); >void g_strdown (gchar *string); >void g_strup (gchar *string); >void g_strreverse (gchar *string); > >gchar* g_strchug (gchar *string); > >gchar* g_strchomp (gchar *string); > > > > > > >gchar* g_strdup (const gchar *str); >gchar* g_strdup_printf (const gchar *format, > ...) __attribute__((format (printf, 1, 2))); >gchar* g_strdup_vprintf (const gchar *format, > va_list args); >gchar* g_strndup (const gchar *str, > guint n); >gchar* g_strnfill (guint length, > gchar fill_char); >gchar* g_strconcat (const gchar *string1, > ...); >gchar* g_strjoin (const gchar *separator, > ...); >gchar* g_strescape (gchar *string); >gpointer g_memdup (gconstpointer mem, > guint byte_size); ># 1510 "/usr/include/glib-1.2/glib.h" >gchar** g_strsplit (const gchar *string, > const gchar *delimiter, > gint max_tokens); >gchar* g_strjoinv (const gchar *separator, > gchar **str_array); >void g_strfreev (gchar **str_array); > > > > > >guint g_printf_string_upper_bound (const gchar* format, > va_list args); > > > > >gchar* g_get_user_name (void); >gchar* g_get_real_name (void); >gchar* g_get_home_dir (void); >gchar* g_get_tmp_dir (void); >gchar* g_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, > ...) __attribute__((format (printf, 3, 4))); >gint g_vsnprintf (gchar *string, > gulong n, > gchar const *format, > va_list args); >gchar* g_basename (const gchar *file_name); > >gboolean g_path_is_absolute (const gchar *file_name); > >gchar* g_path_skip_root (gchar *file_name); > > >gchar* g_dirname (const gchar *file_name); >gchar* g_get_current_dir (void); > > > >gchar* g_getenv (const gchar *variable); > > > > > > > >void g_atexit (GVoidFunc func); > > > > >extern inline gint g_bit_nth_lsf (guint32 mask, > gint nth_bit); > >extern inline gint >g_bit_nth_lsf (guint32 mask, > gint nth_bit) >{ > do > { > nth_bit++; > if (mask & (1 << (guint) nth_bit)) > return nth_bit; > } > while (nth_bit < 32); > return -1; >} > > >extern inline gint g_bit_nth_msf (guint32 mask, > gint nth_bit); > >extern inline gint >g_bit_nth_msf (guint32 mask, > gint nth_bit) >{ > if (nth_bit < 0) > nth_bit = 32; > do > { > nth_bit--; > if (mask & (1 << (guint) nth_bit)) > return nth_bit; > } > while (nth_bit > 0); > return -1; >} > > >extern inline guint g_bit_storage (guint number); > >extern inline guint >g_bit_storage (guint number) >{ > register guint n_bits = 0; > > do > { > n_bits++; > number >>= 1; > } > while (number); > return n_bits; >} > > > > >GStringChunk* g_string_chunk_new (gint size); >void g_string_chunk_free (GStringChunk *chunk); >gchar* g_string_chunk_insert (GStringChunk *chunk, > const gchar *string); >gchar* g_string_chunk_insert_const (GStringChunk *chunk, > const gchar *string); > > > > >GString* g_string_new (const gchar *init); >GString* g_string_sized_new (guint dfl_size); >void g_string_free (GString *string, > gint free_segment); >GString* g_string_assign (GString *lval, > const gchar *rval); >GString* g_string_truncate (GString *string, > gint len); >GString* g_string_append (GString *string, > const gchar *val); >GString* g_string_append_c (GString *string, > gchar c); >GString* g_string_prepend (GString *string, > const gchar *val); >GString* g_string_prepend_c (GString *string, > gchar c); >GString* g_string_insert (GString *string, > gint pos, > const gchar *val); >GString* g_string_insert_c (GString *string, > gint pos, > gchar c); >GString* g_string_erase (GString *string, > gint pos, > gint len); >GString* g_string_down (GString *string); >GString* g_string_up (GString *string); >void g_string_sprintf (GString *string, > const gchar *format, > ...) __attribute__((format (printf, 2, 3))); >void g_string_sprintfa (GString *string, > const gchar *format, > ...) __attribute__((format (printf, 2, 3))); ># 1685 "/usr/include/glib-1.2/glib.h" >GArray* g_array_new (gboolean zero_terminated, > gboolean clear, > guint element_size); >void g_array_free (GArray *array, > gboolean free_segment); >GArray* g_array_append_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_prepend_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_insert_vals (GArray *array, > guint index, > gconstpointer data, > guint len); >GArray* g_array_set_size (GArray *array, > guint length); >GArray* g_array_remove_index (GArray *array, > guint index); >GArray* g_array_remove_index_fast (GArray *array, > guint index); > > > > > > > >GPtrArray* g_ptr_array_new (void); >void g_ptr_array_free (GPtrArray *array, > gboolean free_seg); >void g_ptr_array_set_size (GPtrArray *array, > gint length); >gpointer g_ptr_array_remove_index (GPtrArray *array, > guint index); >gpointer g_ptr_array_remove_index_fast (GPtrArray *array, > guint index); >gboolean g_ptr_array_remove (GPtrArray *array, > gpointer data); >gboolean g_ptr_array_remove_fast (GPtrArray *array, > gpointer data); >void g_ptr_array_add (GPtrArray *array, > gpointer data); > > > > > >GByteArray* g_byte_array_new (void); >void g_byte_array_free (GByteArray *array, > gboolean free_segment); >GByteArray* g_byte_array_append (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_prepend (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_set_size (GByteArray *array, > guint length); >GByteArray* g_byte_array_remove_index (GByteArray *array, > guint index); >GByteArray* g_byte_array_remove_index_fast (GByteArray *array, > guint index); > > > > >gint g_str_equal (gconstpointer v, > gconstpointer v2); >guint g_str_hash (gconstpointer v); > >gint g_int_equal (gconstpointer v, > gconstpointer v2); >guint g_int_hash (gconstpointer v); > > > > > > > >guint g_direct_hash (gconstpointer v); >gint g_direct_equal (gconstpointer v, > gconstpointer v2); > > > > >GQuark g_quark_try_string (const gchar *string); >GQuark g_quark_from_static_string (const gchar *string); >GQuark g_quark_from_string (const gchar *string); >gchar* g_quark_to_string (GQuark quark); > > > > > >void g_datalist_init (GData **datalist); >void g_datalist_clear (GData **datalist); >gpointer g_datalist_id_get_data (GData **datalist, > GQuark key_id); >void g_datalist_id_set_data_full (GData **datalist, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >void g_datalist_id_remove_no_notify (GData **datalist, > GQuark key_id); >void g_datalist_foreach (GData **datalist, > GDataForeachFunc func, > gpointer user_data); ># 1814 "/usr/include/glib-1.2/glib.h" >void g_dataset_destroy (gconstpointer dataset_location); >gpointer g_dataset_id_get_data (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_id_set_data_full (gconstpointer dataset_location, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >void g_dataset_id_remove_no_notify (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_foreach (gconstpointer dataset_location, > GDataForeachFunc func, > gpointer user_data); ># 1858 "/usr/include/glib-1.2/glib.h" >typedef enum >{ > G_ERR_UNKNOWN, > G_ERR_UNEXP_EOF, > G_ERR_UNEXP_EOF_IN_STRING, > G_ERR_UNEXP_EOF_IN_COMMENT, > G_ERR_NON_DIGIT_IN_CONST, > G_ERR_DIGIT_RADIX, > G_ERR_FLOAT_RADIX, > G_ERR_FLOAT_MALFORMED >} GErrorType; > > >typedef enum >{ > G_TOKEN_EOF = 0, > > G_TOKEN_LEFT_PAREN = '(', > G_TOKEN_RIGHT_PAREN = ')', > G_TOKEN_LEFT_CURLY = '{', > G_TOKEN_RIGHT_CURLY = '}', > G_TOKEN_LEFT_BRACE = '[', > G_TOKEN_RIGHT_BRACE = ']', > G_TOKEN_EQUAL_SIGN = '=', > G_TOKEN_COMMA = ',', > > G_TOKEN_NONE = 256, > > G_TOKEN_ERROR, > > G_TOKEN_CHAR, > G_TOKEN_BINARY, > G_TOKEN_OCTAL, > G_TOKEN_INT, > G_TOKEN_HEX, > G_TOKEN_FLOAT, > G_TOKEN_STRING, > > G_TOKEN_SYMBOL, > G_TOKEN_IDENTIFIER, > G_TOKEN_IDENTIFIER_NULL, > > G_TOKEN_COMMENT_SINGLE, > G_TOKEN_COMMENT_MULTI, > G_TOKEN_LAST >} GTokenType; > >union _GTokenValue >{ > gpointer v_symbol; > gchar *v_identifier; > gulong v_binary; > gulong v_octal; > gulong v_int; > gdouble v_float; > gulong v_hex; > gchar *v_string; > gchar *v_comment; > guchar v_char; > guint v_error; >}; > >struct _GScannerConfig >{ > > > gchar *cset_skip_characters; > gchar *cset_identifier_first; > gchar *cset_identifier_nth; > gchar *cpair_comment_single; > > > > guint case_sensitive : 1; > > > > > guint skip_comment_multi : 1; > guint skip_comment_single : 1; > guint scan_comment_multi : 1; > guint scan_identifier : 1; > guint scan_identifier_1char : 1; > guint scan_identifier_NULL : 1; > guint scan_symbols : 1; > guint scan_binary : 1; > guint scan_octal : 1; > guint scan_float : 1; > guint scan_hex : 1; > guint scan_hex_dollar : 1; > guint scan_string_sq : 1; > guint scan_string_dq : 1; > guint numbers_2_int : 1; > guint int_2_float : 1; > guint identifier_2_string : 1; > guint char_2_token : 1; > guint symbol_2_token : 1; > guint scope_0_fallback : 1; >}; > >struct _GScanner >{ > > gpointer user_data; > guint max_parse_errors; > > > guint parse_errors; > > > const gchar *input_name; > > > gpointer derived_data; > > > GScannerConfig *config; > > > GTokenType token; > GTokenValue value; > guint line; > guint position; > > > GTokenType next_token; > GTokenValue next_value; > guint next_line; > guint next_position; > > > GHashTable *symbol_table; > gint input_fd; > const gchar *text; > const gchar *text_end; > gchar *buffer; > guint scope_id; > > > GScannerMsgFunc msg_handler; >}; > >GScanner* g_scanner_new (GScannerConfig *config_templ); >void g_scanner_destroy (GScanner *scanner); >void g_scanner_input_file (GScanner *scanner, > gint input_fd); >void g_scanner_sync_file_offset (GScanner *scanner); >void g_scanner_input_text (GScanner *scanner, > const gchar *text, > guint text_len); >GTokenType g_scanner_get_next_token (GScanner *scanner); >GTokenType g_scanner_peek_next_token (GScanner *scanner); >GTokenType g_scanner_cur_token (GScanner *scanner); >GTokenValue g_scanner_cur_value (GScanner *scanner); >guint g_scanner_cur_line (GScanner *scanner); >guint g_scanner_cur_position (GScanner *scanner); >gboolean g_scanner_eof (GScanner *scanner); >guint g_scanner_set_scope (GScanner *scanner, > guint scope_id); >void g_scanner_scope_add_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol, > gpointer value); >void g_scanner_scope_remove_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >void g_scanner_scope_foreach_symbol (GScanner *scanner, > guint scope_id, > GHFunc func, > gpointer user_data); >gpointer g_scanner_lookup_symbol (GScanner *scanner, > const gchar *symbol); >void g_scanner_freeze_symbol_table (GScanner *scanner); >void g_scanner_thaw_symbol_table (GScanner *scanner); >void g_scanner_unexp_token (GScanner *scanner, > GTokenType expected_token, > const gchar *identifier_spec, > const gchar *symbol_spec, > const gchar *symbol_name, > const gchar *message, > gint is_error); >void g_scanner_error (GScanner *scanner, > const gchar *format, > ...) __attribute__((format (printf, 2, 3))); >void g_scanner_warn (GScanner *scanner, > const gchar *format, > ...) __attribute__((format (printf, 2, 3))); >gint g_scanner_stat_mode (const gchar *filename); ># 2064 "/usr/include/glib-1.2/glib.h" >struct _GCompletion >{ > GList* items; > GCompletionFunc func; > > gchar* prefix; > GList* cache; >}; > >GCompletion* g_completion_new (GCompletionFunc func); >void g_completion_add_items (GCompletion* cmp, > GList* items); >void g_completion_remove_items (GCompletion* cmp, > GList* items); >void g_completion_clear_items (GCompletion* cmp); >GList* g_completion_complete (GCompletion* cmp, > gchar* prefix, > gchar** new_prefix); >void g_completion_free (GCompletion* cmp); ># 2094 "/usr/include/glib-1.2/glib.h" >typedef guint16 GDateYear; >typedef guint8 GDateDay; >typedef struct _GDate GDate; > >struct tm; > > >typedef enum >{ > G_DATE_DAY = 0, > G_DATE_MONTH = 1, > G_DATE_YEAR = 2 >} GDateDMY; > > >typedef enum >{ > G_DATE_BAD_WEEKDAY = 0, > G_DATE_MONDAY = 1, > G_DATE_TUESDAY = 2, > G_DATE_WEDNESDAY = 3, > G_DATE_THURSDAY = 4, > G_DATE_FRIDAY = 5, > G_DATE_SATURDAY = 6, > G_DATE_SUNDAY = 7 >} GDateWeekday; >typedef enum >{ > G_DATE_BAD_MONTH = 0, > G_DATE_JANUARY = 1, > G_DATE_FEBRUARY = 2, > G_DATE_MARCH = 3, > G_DATE_APRIL = 4, > G_DATE_MAY = 5, > G_DATE_JUNE = 6, > G_DATE_JULY = 7, > G_DATE_AUGUST = 8, > G_DATE_SEPTEMBER = 9, > G_DATE_OCTOBER = 10, > G_DATE_NOVEMBER = 11, > G_DATE_DECEMBER = 12 >} GDateMonth; ># 2146 "/usr/include/glib-1.2/glib.h" >struct _GDate >{ > guint julian_days : 32; > > > > > > guint julian : 1; > guint dmy : 1; > > > guint day : 6; > guint month : 4; > guint year : 16; >}; > > > > > >GDate* g_date_new (void); >GDate* g_date_new_dmy (GDateDay day, > GDateMonth month, > GDateYear year); >GDate* g_date_new_julian (guint32 julian_day); >void g_date_free (GDate *date); > > > > > > >gboolean g_date_valid (GDate *date); >gboolean g_date_valid_day (GDateDay day); >gboolean g_date_valid_month (GDateMonth month); >gboolean g_date_valid_year (GDateYear year); >gboolean g_date_valid_weekday (GDateWeekday weekday); >gboolean g_date_valid_julian (guint32 julian_date); >gboolean g_date_valid_dmy (GDateDay day, > GDateMonth month, > GDateYear year); > >GDateWeekday g_date_weekday (GDate *date); >GDateMonth g_date_month (GDate *date); >GDateYear g_date_year (GDate *date); >GDateDay g_date_day (GDate *date); >guint32 g_date_julian (GDate *date); >guint g_date_day_of_year (GDate *date); > > > > > > > >guint g_date_monday_week_of_year (GDate *date); >guint g_date_sunday_week_of_year (GDate *date); > > > > > >void g_date_clear (GDate *date, > guint n_dates); > > > > > >void g_date_set_parse (GDate *date, > const gchar *str); >void g_date_set_time (GDate *date, > GTime time); >void g_date_set_month (GDate *date, > GDateMonth month); >void g_date_set_day (GDate *date, > GDateDay day); >void g_date_set_year (GDate *date, > GDateYear year); >void g_date_set_dmy (GDate *date, > GDateDay day, > GDateMonth month, > GDateYear y); >void g_date_set_julian (GDate *date, > guint32 julian_date); >gboolean g_date_is_first_of_month (GDate *date); >gboolean g_date_is_last_of_month (GDate *date); > > >void g_date_add_days (GDate *date, > guint n_days); >void g_date_subtract_days (GDate *date, > guint n_days); > > >void g_date_add_months (GDate *date, > guint n_months); >void g_date_subtract_months (GDate *date, > guint n_months); > > >void g_date_add_years (GDate *date, > guint n_years); >void g_date_subtract_years (GDate *date, > guint n_years); >gboolean g_date_is_leap_year (GDateYear year); >guint8 g_date_days_in_month (GDateMonth month, > GDateYear year); >guint8 g_date_monday_weeks_in_year (GDateYear year); >guint8 g_date_sunday_weeks_in_year (GDateYear year); > > >gint g_date_compare (GDate *lhs, > GDate *rhs); >void g_date_to_struct_tm (GDate *date, > struct tm *tm); > > > > >gsize g_date_strftime (gchar *s, > gsize slen, > const gchar *format, > GDate *date); ># 2296 "/usr/include/glib-1.2/glib.h" >GRelation* g_relation_new (gint fields); >void g_relation_destroy (GRelation *relation); >void g_relation_index (GRelation *relation, > gint field, > GHashFunc hash_func, > GCompareFunc key_compare_func); >void g_relation_insert (GRelation *relation, > ...); >gint g_relation_delete (GRelation *relation, > gconstpointer key, > gint field); >GTuples* g_relation_select (GRelation *relation, > gconstpointer key, > gint field); >gint g_relation_count (GRelation *relation, > gconstpointer key, > gint field); >gboolean g_relation_exists (GRelation *relation, > ...); >void g_relation_print (GRelation *relation); > >void g_tuples_destroy (GTuples *tuples); >gpointer g_tuples_index (GTuples *tuples, > gint index, > gint field); ># 2332 "/usr/include/glib-1.2/glib.h" >guint g_spaced_primes_closest (guint num); > > > > > >typedef struct _GIOFuncs GIOFuncs; >typedef enum >{ > G_IO_ERROR_NONE, > G_IO_ERROR_AGAIN, > G_IO_ERROR_INVAL, > G_IO_ERROR_UNKNOWN >} GIOError; >typedef enum >{ > G_SEEK_CUR, > G_SEEK_SET, > G_SEEK_END >} GSeekType; >typedef enum >{ > G_IO_IN =1, > G_IO_OUT =4, > G_IO_PRI =2, > G_IO_ERR =8, > G_IO_HUP =16, > G_IO_NVAL =32 >} GIOCondition; > >struct _GIOChannel >{ > guint channel_flags; > guint ref_count; > GIOFuncs *funcs; >}; > >typedef gboolean (*GIOFunc) (GIOChannel *source, > GIOCondition condition, > gpointer data); >struct _GIOFuncs >{ > GIOError (*io_read) (GIOChannel *channel, > gchar *buf, > guint count, > guint *bytes_read); > GIOError (*io_write) (GIOChannel *channel, > gchar *buf, > guint count, > guint *bytes_written); > GIOError (*io_seek) (GIOChannel *channel, > gint offset, > GSeekType type); > void (*io_close) (GIOChannel *channel); > guint (*io_add_watch) (GIOChannel *channel, > gint priority, > GIOCondition condition, > GIOFunc func, > gpointer user_data, > GDestroyNotify notify); > void (*io_free) (GIOChannel *channel); >}; > >void g_io_channel_init (GIOChannel *channel); >void g_io_channel_ref (GIOChannel *channel); >void g_io_channel_unref (GIOChannel *channel); >GIOError g_io_channel_read (GIOChannel *channel, > gchar *buf, > guint count, > guint *bytes_read); >GIOError g_io_channel_write (GIOChannel *channel, > gchar *buf, > guint count, > guint *bytes_written); >GIOError g_io_channel_seek (GIOChannel *channel, > gint offset, > GSeekType type); >void g_io_channel_close (GIOChannel *channel); >guint g_io_add_watch_full (GIOChannel *channel, > gint priority, > GIOCondition condition, > GIOFunc func, > gpointer user_data, > GDestroyNotify notify); >guint g_io_add_watch (GIOChannel *channel, > GIOCondition condition, > GIOFunc func, > gpointer user_data); > > > > >typedef struct _GTimeVal GTimeVal; >typedef struct _GSourceFuncs GSourceFuncs; >typedef struct _GMainLoop GMainLoop; > >struct _GTimeVal >{ > glong tv_sec; > glong tv_usec; >}; >struct _GSourceFuncs >{ > gboolean (*prepare) (gpointer source_data, > GTimeVal *current_time, > gint *timeout, > gpointer user_data); > gboolean (*check) (gpointer source_data, > GTimeVal *current_time, > gpointer user_data); > gboolean (*dispatch) (gpointer source_data, > GTimeVal *dispatch_time, > gpointer user_data); > GDestroyNotify destroy; >}; ># 2456 "/usr/include/glib-1.2/glib.h" >typedef gboolean (*GSourceFunc) (gpointer data); > > >guint g_source_add (gint priority, > gboolean can_recurse, > GSourceFuncs *funcs, > gpointer source_data, > gpointer user_data, > GDestroyNotify notify); >gboolean g_source_remove (guint tag); >gboolean g_source_remove_by_user_data (gpointer user_data); >gboolean g_source_remove_by_source_data (gpointer source_data); >gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, > gpointer user_data); > >void g_get_current_time (GTimeVal *result); > > >GMainLoop* g_main_new (gboolean is_running); >void g_main_run (GMainLoop *loop); >void g_main_quit (GMainLoop *loop); >void g_main_destroy (GMainLoop *loop); >gboolean g_main_is_running (GMainLoop *loop); > > > > >gboolean g_main_iteration (gboolean may_block); > > >gboolean g_main_pending (void); > > >guint g_timeout_add_full (gint priority, > guint interval, > GSourceFunc function, > gpointer data, > GDestroyNotify notify); >guint g_timeout_add (guint interval, > GSourceFunc function, > gpointer data); >guint g_idle_add (GSourceFunc function, > gpointer data); >guint g_idle_add_full (gint priority, > GSourceFunc function, > gpointer data, > GDestroyNotify destroy); >gboolean g_idle_remove_by_data (gpointer data); ># 2529 "/usr/include/glib-1.2/glib.h" >typedef struct _GPollFD GPollFD; >typedef gint (*GPollFunc) (GPollFD *ufds, > guint nfsd, > gint timeout); >struct _GPollFD >{ > gint fd; > gushort events; > gushort revents; >}; > >void g_main_add_poll (GPollFD *fd, > gint priority); >void g_main_remove_poll (GPollFD *fd); >void g_main_set_poll_func (GPollFunc func); ># 2556 "/usr/include/glib-1.2/glib.h" >GIOChannel* g_io_channel_unix_new (int fd); >gint g_io_channel_unix_get_fd (GIOChannel *channel); ># 2677 "/usr/include/glib-1.2/glib.h" >typedef struct _GMutex GMutex; >typedef struct _GCond GCond; >typedef struct _GPrivate GPrivate; >typedef struct _GStaticPrivate GStaticPrivate; >typedef struct _GThreadFunctions GThreadFunctions; >struct _GThreadFunctions >{ > GMutex* (*mutex_new) (void); > void (*mutex_lock) (GMutex *mutex); > gboolean (*mutex_trylock) (GMutex *mutex); > void (*mutex_unlock) (GMutex *mutex); > void (*mutex_free) (GMutex *mutex); > GCond* (*cond_new) (void); > void (*cond_signal) (GCond *cond); > void (*cond_broadcast) (GCond *cond); > void (*cond_wait) (GCond *cond, > GMutex *mutex); > gboolean (*cond_timed_wait) (GCond *cond, > GMutex *mutex, > GTimeVal *end_time); > void (*cond_free) (GCond *cond); > GPrivate* (*private_new) (GDestroyNotify destructor); > gpointer (*private_get) (GPrivate *private_key); > void (*private_set) (GPrivate *private_key, > gpointer data); >}; > >extern GThreadFunctions g_thread_functions_for_glib_use; >extern gboolean g_thread_use_default_impl; >extern gboolean g_threads_got_initialized; > > > > > >void g_thread_init (GThreadFunctions *vtable); > > >GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); ># 2760 "/usr/include/glib-1.2/glib.h" >struct _GStaticPrivate >{ > guint index; >}; > >gpointer g_static_private_get (GStaticPrivate *private_key); >void g_static_private_set (GStaticPrivate *private_key, > gpointer data, > GDestroyNotify notify); ># 2779 "/usr/include/glib-1.2/glib.h" >extern void glib_dummy_decl (void); ># 2823 "/usr/include/glib-1.2/glib.h" >} ># 23 "preferences.h" 2 > >enum { AVI, PLAYLIST, RAW_DV, QT, UNKNOWN_FORMAT }; >enum { PAL_FORMAT, NTSC_FORMAT, AVI_DV1_FORMAT, AVI_DV2_FORMAT, QT_FORMAT, RAW_FORMAT, TEST_FORMAT, UNDEFINED }; >enum { DISPLAY_XX, DISPLAY_GDKRGB, DISPLAY_GDKRGB32, DISPLAY_XV, DISPLAY_SDL }; > >enum { NORM_UNSPECIFIED=0, NORM_PAL=1, NORM_NTSC=2 }; >enum { AUDIO_32KHZ=0, AUDIO_44KHZ=1, AUDIO_48KHZ=2 }; >enum { ASPECT_43=0, ASPECT_169=1 }; > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 1 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 3 ># 44 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++config.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++config.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/os_defines.h" 1 3 ># 36 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++config.h" 2 3 ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stringfwd.h" 1 3 ># 42 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stringfwd.h" 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stringfwd.h" 3 > > > >namespace std >{ > template<typename _Alloc> > class allocator; > > template<class _CharT> > struct char_traits; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_string; > > template<> struct char_traits<char>; > > typedef basic_string<char> string; > > > template<> struct char_traits<wchar_t>; > > typedef basic_string<wchar_t> wstring; > >} ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 1 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 3 ># 44 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstddef" 1 3 ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstddef" 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstddef" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 151 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 213 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 49 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstddef" 2 3 > >namespace std >{ > using ::ptrdiff_t; > using ::size_t; >} ># 50 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 2 3 > ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw (); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw (); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw (); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern void *rawmemchr (__const void *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw (); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 115 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw (); > > > > >extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)); ># 160 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern char *strchrnul (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw (); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > > > > >extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strerror (int __errnum) throw (); ># 268 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); > > > > > >extern void __bzero (void *__s, size_t __n) throw (); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) throw (); > > >extern void bzero (void *__s, size_t __n) throw (); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) throw () __attribute__ ((__pure__)); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) throw (); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strfry (char *__string) throw (); > > >extern void *memfrob (void *__s, size_t __n) throw (); > > > > > > >extern char *basename (__const char *__filename) throw (); ># 400 "/usr/include/string.h" 3 4 >} ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 2 3 ># 77 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstring" 3 >namespace std >{ > using ::memcpy; > using ::memmove; > using ::strcpy; > using ::strncpy; > using ::strcat; > using ::strncat; > using ::memcmp; > using ::strcmp; > using ::strcoll; > using ::strncmp; > using ::strxfrm; > using ::strcspn; > using ::strspn; > using ::strtok; > using ::memset; > using ::strerror; > using ::strlen; > > using ::memchr; > > inline void* > memchr(void* __p, int __c, size_t __n) > { return memchr(const_cast<const void*>(__p), __c, __n); } > > using ::strchr; > > inline char* > strchr(char* __s1, int __n) > { return __builtin_strchr(const_cast<const char*>(__s1), __n); } > > using ::strpbrk; > > inline char* > strpbrk(char* __s1, const char* __s2) > { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); } > > using ::strrchr; > > inline char* > strrchr(char* __s1, int __n) > { return __builtin_strrchr(const_cast<const char*>(__s1), __n); } > > using ::strstr; > > inline char* > strstr(char* __s1, const char* __s2) > { return __builtin_strstr(const_cast<const char*>(__s1), __s2); } >} ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h" 1 3 ># 42 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h" 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 3 > > > > ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 >extern "C" { > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef unsigned long long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long long int __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef unsigned long long int __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long long int __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 ># 46 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE FILE; ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 354 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 163 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 173 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 196 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; > > > > >struct _IO_codecvt >{ > void (*__codecvt_destr) (struct _IO_codecvt *); > enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *, > __mbstate_t *, > const wchar_t *, > const wchar_t *, > const wchar_t **, char *, > char *, char **); > enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *, > __mbstate_t *, char *, > char *, char **); > enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *, > __mbstate_t *, > const char *, const char *, > const char **, wchar_t *, > wchar_t *, wchar_t **); > int (*__codecvt_do_encoding) (struct _IO_codecvt *); > int (*__codecvt_do_always_noconv) (struct _IO_codecvt *); > int (*__codecvt_do_length) (struct _IO_codecvt *, __mbstate_t *, > const char *, const char *, size_t); > int (*__codecvt_do_max_length) (struct _IO_codecvt *); > > _G_iconv_t __cd_in; > _G_iconv_t __cd_out; >}; > > >struct _IO_wide_data >{ > wchar_t *_IO_read_ptr; > wchar_t *_IO_read_end; > wchar_t *_IO_read_base; > wchar_t *_IO_write_base; > wchar_t *_IO_write_ptr; > wchar_t *_IO_write_end; > wchar_t *_IO_buf_base; > wchar_t *_IO_buf_end; > > wchar_t *_IO_save_base; > wchar_t *_IO_backup_base; > > wchar_t *_IO_save_end; > > __mbstate_t _IO_state; > __mbstate_t _IO_last_state; > struct _IO_codecvt _codecvt; > > wchar_t _shortbuf[1]; > > const struct _IO_jump_t *_wide_vtable; >}; > > >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 312 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > struct _IO_codecvt *_codecvt; > struct _IO_wide_data *_wide_data; > > > > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 351 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); ># 441 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 471 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); > > >extern wint_t _IO_getwc (_IO_FILE *__fp) throw (); >extern wint_t _IO_putwc (wchar_t __wc, _IO_FILE *__fp) throw (); >extern int _IO_fwide (_IO_FILE *__fp, int __mode) throw (); ># 520 "/usr/include/libio.h" 3 4 >extern int _IO_vfwscanf (_IO_FILE * __restrict, const wchar_t * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfwprintf (_IO_FILE *__restrict, const wchar_t *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_wpadn (_IO_FILE *, wint_t, __ssize_t) throw (); >extern void _IO_free_wbackup_area (_IO_FILE *) throw (); > > > >} ># 73 "/usr/include/stdio.h" 2 3 4 ># 86 "/usr/include/stdio.h" 3 4 > > > > >typedef _G_fpos64_t fpos_t; > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); ># 167 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64"); > > > > > > >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 196 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); ># 206 "/usr/include/stdio.h" 3 4 >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); ># 221 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 231 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); ># 252 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64"); > >extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64"); ># 264 "/usr/include/stdio.h" 3 4 >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) throw (); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw (); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); ># 321 "/usr/include/stdio.h" 3 4 >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); ># 393 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); ># 411 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); ># 435 "/usr/include/stdio.h" 3 4 >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); ># 454 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 465 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); ># 477 "/usr/include/stdio.h" 3 4 >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); ># 498 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); ># 526 "/usr/include/stdio.h" 3 4 >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); ># 543 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 559 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); ># 583 "/usr/include/stdio.h" 3 4 >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); ># 620 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 631 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); ># 643 "/usr/include/stdio.h" 3 4 >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); ># 675 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); > > >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); ># 700 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64"); ># 712 "/usr/include/stdio.h" 3 4 >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw (); > >extern int ferror (FILE *__stream) throw (); > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw (); >extern int ferror_unlocked (FILE *__stream) throw (); ># 740 "/usr/include/stdio.h" 3 4 >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 748 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw (); > > > > >extern int fileno_unlocked (FILE *__stream) throw (); ># 767 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw (); > > >extern void funlockfile (FILE *__stream) throw (); ># 828 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >inline int >getchar_unlocked (void) >{ > return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >inline int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >inline int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 829 "/usr/include/stdio.h" 2 3 4 > > >} ># 53 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 2 3 ># 97 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 3 >namespace std >{ > using ::FILE; > using ::fpos_t; > > using ::clearerr; > using ::fclose; > using ::feof; > using ::ferror; > using ::fflush; > using ::fgetc; > using ::fgetpos; > using ::fgets; > using ::fopen; > using ::fprintf; > using ::fputc; > using ::fputs; > using ::fread; > using ::freopen; > using ::fscanf; > using ::fseek; > using ::fsetpos; > using ::ftell; > using ::fwrite; > using ::getc; > using ::getchar; > using ::gets; > using ::perror; > using ::printf; > using ::putc; > using ::putchar; > using ::puts; > using ::remove; > using ::rename; > using ::rewind; > using ::scanf; > using ::setbuf; > using ::setvbuf; > using ::sprintf; > using ::sscanf; > using ::tmpfile; > using ::tmpnam; > using ::ungetc; > using ::vfprintf; > using ::vprintf; > using ::vsprintf; >} ># 153 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 3 >namespace __gnu_cxx >{ ># 167 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdio" 3 > using ::snprintf; > using ::vfscanf; > using ::vscanf; > using ::vsnprintf; > using ::vsscanf; > >} > >namespace std >{ > using __gnu_cxx::snprintf; > using __gnu_cxx::vfscanf; > using __gnu_cxx::vscanf; > using __gnu_cxx::vsnprintf; > using __gnu_cxx::vsscanf; >} ># 36 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h" 2 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr.h" 1 3 ># 98 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 1 3 ># 37 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 3 ># 1 "/usr/include/pthread.h" 1 3 4 ># 20 "/usr/include/pthread.h" 3 4 ># 1 "/usr/include/sched.h" 1 3 4 ># 29 "/usr/include/sched.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 118 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 30 "/usr/include/sched.h" 2 3 4 > > ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 62 "/usr/include/bits/sched.h" 3 4 >struct sched_param > { > int __sched_priority; > }; > >extern "C" { > > > >extern int clone (int (*__fn) (void *__arg), void *__child_stack, > int __flags, void *__arg) throw (); > > >} > > > > > > > >struct __sched_param > { > int __sched_priority; > }; ># 98 "/usr/include/bits/sched.h" 3 4 >typedef unsigned long int __cpu_mask; > > > > > > >typedef struct >{ > __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; >} cpu_set_t; ># 33 "/usr/include/sched.h" 2 3 4 > > > > >extern "C" { > > >extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) > throw (); > > >extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); > > >extern int sched_setscheduler (__pid_t __pid, int __policy, > __const struct sched_param *__param) throw (); > > >extern int sched_getscheduler (__pid_t __pid) throw (); > > >extern int sched_yield (void) throw (); > > >extern int sched_get_priority_max (int __algorithm) throw (); > > >extern int sched_get_priority_min (int __algorithm) throw (); > > >extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); ># 76 "/usr/include/sched.h" 3 4 >extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, > __const cpu_set_t *__cpuset) throw (); > > >extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); > > >} ># 21 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 30 "/usr/include/time.h" 3 4 >extern "C" { > > > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 39 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 43 "/usr/include/time.h" 2 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 129 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; ># 159 "/usr/include/time.h" 3 4 >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; > > > > > >typedef __pid_t pid_t; ># 181 "/usr/include/time.h" 3 4 >extern clock_t clock (void) throw (); > > >extern time_t time (time_t *__timer) throw (); > > >extern double difftime (time_t __time1, time_t __time0) > throw () __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) throw (); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) throw (); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > throw (); > > > > > > > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) throw (); > >extern char *strptime_l (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) throw (); > > > > > > >extern struct tm *gmtime (__const time_t *__timer) throw (); > > > >extern struct tm *localtime (__const time_t *__timer) throw (); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > > > >extern char *asctime (__const struct tm *__tp) throw (); > > >extern char *ctime (__const time_t *__timer) throw (); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) throw (); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) throw (); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) throw (); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) throw (); ># 309 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) throw (); > > >extern time_t timelocal (struct tm *__tp) throw (); > > >extern int dysize (int __year) throw () __attribute__ ((__const__)); ># 324 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > throw (); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) throw (); > > >extern int timer_delete (timer_t __timerid) throw (); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) throw (); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > throw (); > > >extern int timer_getoverrun (timer_t __timerid) throw (); ># 386 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 395 "/usr/include/time.h" 3 4 >extern struct tm *getdate (__const char *__string); ># 409 "/usr/include/time.h" 3 4 >extern int getdate_r (__const char *__restrict __string, > struct tm *__restrict __resbufp); > > >} ># 22 "/usr/include/pthread.h" 2 3 4 > > ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 34 "/usr/include/signal.h" 2 3 4 ># 50 "/usr/include/signal.h" 3 4 >typedef __sigset_t sigset_t; ># 392 "/usr/include/signal.h" 3 4 >} ># 25 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 26 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/initspin.h" 1 3 4 ># 27 "/usr/include/pthread.h" 2 3 4 > > >extern "C" { ># 59 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_CREATE_JOINABLE, > > PTHREAD_CREATE_DETACHED > >}; > >enum >{ > PTHREAD_INHERIT_SCHED, > > PTHREAD_EXPLICIT_SCHED > >}; > >enum >{ > PTHREAD_SCOPE_SYSTEM, > > PTHREAD_SCOPE_PROCESS > >}; > >enum >{ > PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_ADAPTIVE_NP > > , > PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL > > > > , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_ADAPTIVE_NP > >}; > >enum >{ > PTHREAD_PROCESS_PRIVATE, > > PTHREAD_PROCESS_SHARED > >}; > > >enum >{ > PTHREAD_RWLOCK_PREFER_READER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, > PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP >}; ># 131 "/usr/include/pthread.h" 3 4 >struct _pthread_cleanup_buffer >{ > void (*__routine) (void *); > void *__arg; > int __canceltype; > struct _pthread_cleanup_buffer *__prev; >}; > > > >enum >{ > PTHREAD_CANCEL_ENABLE, > > PTHREAD_CANCEL_DISABLE > >}; >enum >{ > PTHREAD_CANCEL_DEFERRED, > > PTHREAD_CANCEL_ASYNCHRONOUS > >}; ># 163 "/usr/include/pthread.h" 3 4 >extern int pthread_create (pthread_t *__restrict __threadp, > __const pthread_attr_t *__restrict __attr, > void *(*__start_routine) (void *), > void *__restrict __arg) throw (); > > >extern pthread_t pthread_self (void) throw (); > > >extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw (); > > >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > > > > >extern int pthread_join (pthread_t __th, void **__thread_return); > > > > > >extern int pthread_detach (pthread_t __th) throw (); > > > > > > > >extern int pthread_attr_init (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_destroy (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, > int __detachstate) throw (); > > >extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, > int *__detachstate) throw (); > > >extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, > __const struct sched_param *__restrict > __param) throw (); > > >extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict > __attr, > struct sched_param *__restrict __param) > throw (); > > >extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) > throw (); > > >extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict > __attr, int *__restrict __policy) > throw (); > > >extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, > int __inherit) throw (); > > >extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict > __attr, int *__restrict __inherit) > throw (); > > >extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) > throw (); > > >extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, > int *__restrict __scope) throw (); > > > >extern int pthread_attr_setguardsize (pthread_attr_t *__attr, > size_t __guardsize) throw (); > > >extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __guardsize) > throw (); > > > > > > >extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, > void *__stackaddr) throw (); > > >extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict > __attr, void **__restrict __stackaddr) > throw (); > > > > > >extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, > size_t __stacksize) throw (); > > >extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, > void **__restrict __stackaddr, > size_t *__restrict __stacksize) throw (); > > > > > >extern int pthread_attr_setstacksize (pthread_attr_t *__attr, > size_t __stacksize) throw (); > > >extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __stacksize) > throw (); > > > > > >extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw (); > > > > > > >extern int pthread_setschedparam (pthread_t __target_thread, int __policy, > __const struct sched_param *__param) > throw (); > > >extern int pthread_getschedparam (pthread_t __target_thread, > int *__restrict __policy, > struct sched_param *__restrict __param) > throw (); > > > >extern int pthread_getconcurrency (void) throw (); > > >extern int pthread_setconcurrency (int __level) throw (); > > > > > > > >extern int pthread_yield (void) throw (); > > > > > > >extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex, > __const pthread_mutexattr_t *__restrict > __mutex_attr) throw (); > > >extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw (); > > >extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw (); > > >extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw (); > > > >extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw (); > > > > > > >extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, > int __pshared) throw (); > > > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) > throw (); > > >extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict > __attr, int *__restrict __kind) throw (); > > > > > > > >extern int pthread_cond_init (pthread_cond_t *__restrict __cond, > __const pthread_condattr_t *__restrict > __cond_attr) throw (); > > >extern int pthread_cond_destroy (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_signal (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw (); > > > >extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex); > > > > > >extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime); > > > > >extern int pthread_condattr_init (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_getpshared (__const pthread_condattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, > int __pshared) throw (); > > > > > > > >extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, > __const pthread_rwlockattr_t *__restrict > __attr) throw (); > > >extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw (); > > > > > >extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, > int __pshared) throw (); > > >extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *__attr, > int *__pref) throw (); > > >extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, > int __pref) throw (); ># 510 "/usr/include/pthread.h" 3 4 >extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) > throw (); > > >extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw (); > > > > >extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, > __const pthread_barrierattr_t *__restrict > __attr, unsigned int __count) throw (); > >extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw (); > >extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw (); > >extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw (); > >extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > >extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, > int __pshared) throw (); > >extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw (); ># 557 "/usr/include/pthread.h" 3 4 >extern int pthread_key_create (pthread_key_t *__key, > void (*__destr_function) (void *)) throw (); > > >extern int pthread_key_delete (pthread_key_t __key) throw (); > > >extern int pthread_setspecific (pthread_key_t __key, > __const void *__pointer) throw (); > > >extern void *pthread_getspecific (pthread_key_t __key) throw (); ># 577 "/usr/include/pthread.h" 3 4 >extern int pthread_once (pthread_once_t *__once_control, > void (*__init_routine) (void)) throw (); > > > > > > >extern int pthread_setcancelstate (int __state, int *__oldstate); > > > >extern int pthread_setcanceltype (int __type, int *__oldtype); > > >extern int pthread_cancel (pthread_t __cancelthread); > > > > >extern void pthread_testcancel (void); ># 611 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) throw (); > > > > > > > >extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer, > int __execute) throw (); ># 632 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) throw (); ># 643 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer, > int __execute) throw (); > > > > > >extern int pthread_getcpuclockid (pthread_t __thread_id, > clockid_t *__clock_id) throw (); > > > > ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 31 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > __const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)throw (); > > >extern int pthread_kill (pthread_t __threadid, int __signo) throw (); ># 657 "/usr/include/pthread.h" 2 3 4 ># 672 "/usr/include/pthread.h" 3 4 >extern int pthread_atfork (void (*__prepare) (void), > void (*__parent) (void), > void (*__child) (void)) throw (); > > > > >extern void pthread_kill_other_threads_np (void) throw (); > >} ># 38 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 2 3 ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 >extern "C" { ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/environments.h" 2 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 189 "/usr/include/unistd.h" 3 4 >typedef __ssize_t ssize_t; > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 > > > > > >typedef __gid_t gid_t; > > > > >typedef __uid_t uid_t; > > > > > > > >typedef __off64_t off_t; > > > > >typedef __off64_t off64_t; > > > > >typedef __useconds_t useconds_t; ># 236 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) throw (); > > > > >extern int euidaccess (__const char *__name, int __type) throw (); ># 289 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) throw () __asm__ ("" "lseek64"); ># 298 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) throw (); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n); ># 340 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64"); > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64"); ># 356 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset); > > >extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, > __off64_t __offset); > > > > > > > >extern int pipe (int __pipedes[2]) throw (); ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) throw (); ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > throw (); > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > throw (); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw (); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > throw (); > > > > >extern int chdir (__const char *__path) throw (); > > > >extern int fchdir (int __fd) throw (); ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) throw (); > > > > > >extern char *get_current_dir_name (void) throw (); > > > > > > >extern char *getwd (char *__buf) throw (); > > > > >extern int dup (int __fd) throw (); > > >extern int dup2 (int __fd, int __fd2) throw (); > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) throw (); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > throw (); > > > > >extern int execv (__const char *__path, char *__const __argv[]) throw (); > > > >extern int execle (__const char *__path, __const char *__arg, ...) throw (); > > > >extern int execl (__const char *__path, __const char *__arg, ...) throw (); > > > >extern int execvp (__const char *__file, char *__const __argv[]) throw (); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) throw (); > > > > >extern int nice (int __inc) throw (); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE > > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 526 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) throw (); > > >extern long int fpathconf (int __fd, int __name) throw (); > > >extern long int sysconf (int __name) throw () __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) throw (); > > > > >extern __pid_t getpid (void) throw (); > > >extern __pid_t getppid (void) throw (); > > > > >extern __pid_t getpgrp (void) throw (); ># 561 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) throw (); > >extern __pid_t getpgid (__pid_t __pid) throw (); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) throw (); ># 587 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) throw (); ># 605 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) throw (); > > > >extern __pid_t getsid (__pid_t __pid) throw (); > > > >extern __uid_t getuid (void) throw (); > > >extern __uid_t geteuid (void) throw (); > > >extern __gid_t getgid (void) throw (); > > >extern __gid_t getegid (void) throw (); > > > > >extern int getgroups (int __size, __gid_t __list[]) throw (); > > > >extern int group_member (__gid_t __gid) throw (); > > > > > > >extern int setuid (__uid_t __uid) throw (); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) throw (); > > > > >extern int seteuid (__uid_t __uid) throw (); > > > > > > >extern int setgid (__gid_t __gid) throw (); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) throw (); > > > > >extern int setegid (__gid_t __gid) throw (); > > > > > >extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); > > > >extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); > > > >extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > >extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > > > >extern __pid_t fork (void) throw (); > > > > > > >extern __pid_t vfork (void) throw (); > > > > > >extern char *ttyname (int __fd) throw (); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) throw (); > > > >extern int isatty (int __fd) throw (); > > > > > >extern int ttyslot (void) throw (); > > > > >extern int link (__const char *__from, __const char *__to) throw (); > > > >extern int symlink (__const char *__from, __const char *__to) throw (); > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) throw (); > > > >extern int unlink (__const char *__name) throw (); > > >extern int rmdir (__const char *__path) throw (); > > > >extern __pid_t tcgetpgrp (int __fd) throw (); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw (); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len); > > > > >extern int setlogin (__const char *__name) throw (); ># 775 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 50 "/usr/include/getopt.h" 3 4 >extern "C" { ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > throw (); ># 171 "/usr/include/getopt.h" 3 4 >} ># 776 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) throw (); > > > > > > >extern int sethostname (__const char *__name, size_t __len) throw (); > > > >extern int sethostid (long int __id) throw (); > > > > > >extern int getdomainname (char *__name, size_t __len) throw (); >extern int setdomainname (__const char *__name, size_t __len) throw (); > > > > > >extern int vhangup (void) throw (); > > >extern int revoke (__const char *__file) throw (); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) throw (); > > > > > >extern int acct (__const char *__name) throw (); > > > >extern char *getusershell (void) throw (); >extern void endusershell (void) throw (); >extern void setusershell (void) throw (); > > > > > >extern int daemon (int __nochdir, int __noclose) throw (); > > > > > > >extern int chroot (__const char *__path) throw (); > > > >extern char *getpass (__const char *__prompt); ># 857 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) throw (); > > > > >extern int getpagesize (void) throw () __attribute__ ((__const__)); > > > > > > > >extern int truncate (__const char *__file, __off64_t __length) throw () __asm__ ("" "truncate64"); > > > > > > > >extern int truncate64 (__const char *__file, __off64_t __length) throw (); > > > > > > > >extern int ftruncate (int __fd, __off64_t __length) throw () __asm__ ("" "ftruncate64"); > > > > > > >extern int ftruncate64 (int __fd, __off64_t __length) throw (); > > > > > >extern int getdtablesize (void) throw (); ># 918 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) throw (); > > > > > >extern void *sbrk (intptr_t __delta) throw (); ># 939 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) throw (); ># 965 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64"); > > > > > > >extern int lockf64 (int __fd, int __cmd, __off64_t __len); ># 993 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) throw (); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) throw (); > > > >extern void encrypt (char *__block, int __edflag) throw (); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) throw (); > > > > > > > >extern char *ctermid (char *__s) throw (); > > >} ># 39 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 2 3 > >typedef pthread_key_t __gthread_key_t; >typedef pthread_once_t __gthread_once_t; >typedef pthread_mutex_t __gthread_mutex_t; > > > > > > >#pragma weak pthread_once >#pragma weak pthread_key_create >#pragma weak pthread_key_delete >#pragma weak pthread_getspecific >#pragma weak pthread_setspecific >#pragma weak pthread_create > >#pragma weak pthread_mutex_lock >#pragma weak pthread_mutex_trylock >#pragma weak pthread_mutex_unlock ># 87 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 3 >static inline int >__gthread_active_p (void) >{ > static void *const __gthread_active_ptr = (void *) &pthread_create; > return __gthread_active_ptr != 0; >} ># 449 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr-default.h" 3 >static inline int >__gthread_once (__gthread_once_t *once, void (*func) (void)) >{ > if (__gthread_active_p ()) > return pthread_once (once, func); > else > return -1; >} > >static inline int >__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) >{ > return pthread_key_create (key, dtor); >} > >static inline int >__gthread_key_dtor (__gthread_key_t key, void *ptr) >{ > > if (ptr) > return pthread_setspecific (key, 0); > else > return 0; >} > >static inline int >__gthread_key_delete (__gthread_key_t key) >{ > return pthread_key_delete (key); >} > >static inline void * >__gthread_getspecific (__gthread_key_t key) >{ > return pthread_getspecific (key); >} > >static inline int >__gthread_setspecific (__gthread_key_t key, const void *ptr) >{ > return pthread_setspecific (key, ptr); >} > >static inline int >__gthread_mutex_lock (__gthread_mutex_t *mutex) >{ > if (__gthread_active_p ()) > return pthread_mutex_lock (mutex); > else > return 0; >} > >static inline int >__gthread_mutex_trylock (__gthread_mutex_t *mutex) >{ > if (__gthread_active_p ()) > return pthread_mutex_trylock (mutex); > else > return 0; >} > >static inline int >__gthread_mutex_unlock (__gthread_mutex_t *mutex) >{ > if (__gthread_active_p ()) > return pthread_mutex_unlock (mutex); > else > return 0; >} ># 99 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/gthr.h" 2 3 ># 38 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h" 2 3 > >namespace std >{ > > typedef long streamoff; > typedef ptrdiff_t streamsize; > > typedef ptrdiff_t wstreamsize; > > typedef fpos_t __c_streampos; > > typedef __gthread_mutex_t __c_lock; > > > typedef FILE __c_file; > > > struct __ios_flags > { > typedef short __int_type; > > static const __int_type _S_boolalpha = 0x0001; > static const __int_type _S_dec = 0x0002; > static const __int_type _S_fixed = 0x0004; > static const __int_type _S_hex = 0x0008; > static const __int_type _S_internal = 0x0010; > static const __int_type _S_left = 0x0020; > static const __int_type _S_oct = 0x0040; > static const __int_type _S_right = 0x0080; > static const __int_type _S_scientific = 0x0100; > static const __int_type _S_showbase = 0x0200; > static const __int_type _S_showpoint = 0x0400; > static const __int_type _S_showpos = 0x0800; > static const __int_type _S_skipws = 0x1000; > static const __int_type _S_unitbuf = 0x2000; > static const __int_type _S_uppercase = 0x4000; > static const __int_type _S_adjustfield = 0x0020 | 0x0080 | 0x0010; > static const __int_type _S_basefield = 0x0002 | 0x0040 | 0x0008; > static const __int_type _S_floatfield = 0x0100 | 0x0004; > > > static const __int_type _S_badbit = 0x01; > static const __int_type _S_eofbit = 0x02; > static const __int_type _S_failbit = 0x04; > > > static const __int_type _S_app = 0x01; > static const __int_type _S_ate = 0x02; > static const __int_type _S_bin = 0x04; > static const __int_type _S_in = 0x08; > static const __int_type _S_out = 0x10; > static const __int_type _S_trunc = 0x20; > }; >} ># 45 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 3 > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/ctime" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/ctime" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/ctime" 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/ctime" 3 >namespace std >{ > using ::clock_t; > using ::time_t; > using ::tm; > > using ::clock; > using ::difftime; > using ::mktime; > using ::time; > using ::asctime; > using ::ctime; > using ::gmtime; > using ::localtime; > using ::strftime; >} ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 2 3 > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 93 "/usr/include/wchar.h" 3 4 > > >typedef __mbstate_t mbstate_t; ># 118 "/usr/include/wchar.h" 3 4 >extern "C" { > > > > >struct tm; ># 133 "/usr/include/wchar.h" 3 4 >extern wchar_t *wcscpy (wchar_t *__restrict __dest, > __const wchar_t *__restrict __src) throw (); > >extern wchar_t *wcsncpy (wchar_t *__restrict __dest, > __const wchar_t *__restrict __src, size_t __n) > throw (); > > >extern wchar_t *wcscat (wchar_t *__restrict __dest, > __const wchar_t *__restrict __src) throw (); > >extern wchar_t *wcsncat (wchar_t *__restrict __dest, > __const wchar_t *__restrict __src, size_t __n) > throw (); > > >extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2) > throw () __attribute__ ((__pure__)); > >extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > > > >extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) throw (); > > >extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2, > size_t __n) throw (); > > > > > >extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, > __locale_t __loc) throw (); > >extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, > size_t __n, __locale_t __loc) throw (); > > > > > >extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) throw (); > > > >extern size_t wcsxfrm (wchar_t *__restrict __s1, > __const wchar_t *__restrict __s2, size_t __n) throw (); ># 192 "/usr/include/wchar.h" 3 4 >extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2, > __locale_t __loc) throw (); > > > > >extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2, > size_t __n, __locale_t __loc) throw (); > > >extern wchar_t *wcsdup (__const wchar_t *__s) throw () __attribute__ ((__malloc__)); > > > > >extern wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc) > throw () __attribute__ ((__pure__)); > >extern wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc) > throw () __attribute__ ((__pure__)); > > > > > >extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc) > throw () __attribute__ ((__pure__)); > > > > > >extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept) > throw () __attribute__ ((__pure__)); > >extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept) > throw () __attribute__ ((__pure__)); > >extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle) > throw () __attribute__ ((__pure__)); > > >extern wchar_t *wcstok (wchar_t *__restrict __s, > __const wchar_t *__restrict __delim, > wchar_t **__restrict __ptr) throw (); > > >extern size_t wcslen (__const wchar_t *__s) throw () __attribute__ ((__pure__)); > > > > >extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle) > throw () __attribute__ ((__pure__)); > > > > >extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen) > throw () __attribute__ ((__pure__)); > > > > > >extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern int wmemcmp (__const wchar_t *__restrict __s1, > __const wchar_t *__restrict __s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern wchar_t *wmemcpy (wchar_t *__restrict __s1, > __const wchar_t *__restrict __s2, size_t __n) throw (); > > > >extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n) > throw (); > > >extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); > > > > > >extern wchar_t *wmempcpy (wchar_t *__restrict __s1, > __const wchar_t *__restrict __s2, size_t __n) > throw (); > > > > > > >extern wint_t btowc (int __c) throw (); > > > >extern int wctob (wint_t __c) throw (); > > > >extern int mbsinit (__const mbstate_t *__ps) throw () __attribute__ ((__pure__)); > > > >extern size_t mbrtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n, > mbstate_t *__p) throw (); > > >extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, > mbstate_t *__restrict __ps) throw (); > > >extern size_t __mbrlen (__const char *__restrict __s, size_t __n, > mbstate_t *__restrict __ps) throw (); >extern size_t mbrlen (__const char *__restrict __s, size_t __n, > mbstate_t *__restrict __ps) throw (); > > > > >extern __inline size_t mbrlen (__const char *__restrict __s, size_t __n, > mbstate_t *__restrict __ps) throw () >{ return (__ps != __null > ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); } > > > > > >extern size_t mbsrtowcs (wchar_t *__restrict __dst, > __const char **__restrict __src, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > >extern size_t wcsrtombs (char *__restrict __dst, > __const wchar_t **__restrict __src, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > > > > >extern size_t mbsnrtowcs (wchar_t *__restrict __dst, > __const char **__restrict __src, size_t __nmc, > size_t __len, mbstate_t *__restrict __ps) throw (); > > > >extern size_t wcsnrtombs (char *__restrict __dst, > __const wchar_t **__restrict __src, > size_t __nwc, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > > > > >extern int wcwidth (wchar_t __c) throw (); > > > >extern int wcswidth (__const wchar_t *__s, size_t __n) throw (); > > > > > > >extern double wcstod (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); > > > >extern float wcstof (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); >extern long double wcstold (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); > > > > > >extern long int wcstol (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) throw (); > > > >extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > > >__extension__ >extern long long int wcstoll (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > >__extension__ >extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw (); > > > > > > >__extension__ >extern long long int wcstoq (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > >__extension__ >extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw (); ># 448 "/usr/include/wchar.h" 3 4 >extern long int wcstol_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern long long int wcstoll_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) > throw (); > >extern double wcstod_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, __locale_t __loc) > throw (); > >extern float wcstof_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, __locale_t __loc) > throw (); > >extern long double wcstold_l (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > __locale_t __loc) throw (); > > > > > >extern double __wcstod_internal (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __group) > throw (); >extern float __wcstof_internal (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __group) > throw (); >extern long double __wcstold_internal (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __group) throw (); > > >extern long int __wcstol_internal (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, int __group) throw (); > > > >extern unsigned long int __wcstoul_internal (__const wchar_t *__restrict __npt, > wchar_t **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern long long int __wcstoll_internal (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern unsigned long long int __wcstoull_internal (__const wchar_t * > __restrict __nptr, > wchar_t ** > __restrict __endptr, > int __base, > int __group) throw (); ># 528 "/usr/include/wchar.h" 3 4 >extern __inline double wcstod (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw () >{ return __wcstod_internal (__nptr, __endptr, 0); } >extern __inline long int wcstol (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw () >{ return __wcstol_internal (__nptr, __endptr, __base, 0); } >extern __inline unsigned long int wcstoul (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw () >{ return __wcstoul_internal (__nptr, __endptr, __base, 0); } > > > >extern __inline float wcstof (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw () >{ return __wcstof_internal (__nptr, __endptr, 0); } >extern __inline long double wcstold (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw () >{ return __wcstold_internal (__nptr, __endptr, 0); } > > >__extension__ >extern __inline long long int wcstoq (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw () >{ return __wcstoll_internal (__nptr, __endptr, __base, 0); } >__extension__ >extern __inline unsigned long long int wcstouq (__const wchar_t * > __restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw () >{ return __wcstoull_internal (__nptr, __endptr, __base, 0); } > > > > > > > >extern wchar_t *wcpcpy (wchar_t *__dest, __const wchar_t *__src) throw (); > > > >extern wchar_t *wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n) > throw (); ># 582 "/usr/include/wchar.h" 3 4 >extern int fwide (__FILE *__fp, int __mode) throw (); > > > > > > >extern int fwprintf (__FILE *__restrict __stream, > __const wchar_t *__restrict __format, ...) > ; > > > > >extern int wprintf (__const wchar_t *__restrict __format, ...) > ; > >extern int swprintf (wchar_t *__restrict __s, size_t __n, > __const wchar_t *__restrict __format, ...) > throw () ; > > > > > >extern int vfwprintf (__FILE *__restrict __s, > __const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > > > >extern int vwprintf (__const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > >extern int vswprintf (wchar_t *__restrict __s, size_t __n, > __const wchar_t *__restrict __format, > __gnuc_va_list __arg) > throw () ; > > > > > > >extern int fwscanf (__FILE *__restrict __stream, > __const wchar_t *__restrict __format, ...) > ; > > > > >extern int wscanf (__const wchar_t *__restrict __format, ...) > ; > >extern int swscanf (__const wchar_t *__restrict __s, > __const wchar_t *__restrict __format, ...) > throw () ; ># 654 "/usr/include/wchar.h" 3 4 >extern int vfwscanf (__FILE *__restrict __s, > __const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > > > >extern int vwscanf (__const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > >extern int vswscanf (__const wchar_t *__restrict __s, > __const wchar_t *__restrict __format, > __gnuc_va_list __arg) > throw () ; ># 680 "/usr/include/wchar.h" 3 4 >extern wint_t fgetwc (__FILE *__stream); >extern wint_t getwc (__FILE *__stream); > > > > > >extern wint_t getwchar (void); > > > > > > >extern wint_t fputwc (wchar_t __wc, __FILE *__stream); >extern wint_t putwc (wchar_t __wc, __FILE *__stream); > > > > > >extern wint_t putwchar (wchar_t __wc); > > > > > > > >extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, > __FILE *__restrict __stream); > > > > > >extern int fputws (__const wchar_t *__restrict __ws, > __FILE *__restrict __stream); > > > > > > >extern wint_t ungetwc (wint_t __wc, __FILE *__stream); ># 736 "/usr/include/wchar.h" 3 4 >extern wint_t getwc_unlocked (__FILE *__stream); >extern wint_t getwchar_unlocked (void); > > > > > > > >extern wint_t fgetwc_unlocked (__FILE *__stream); > > > > > > > >extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); ># 762 "/usr/include/wchar.h" 3 4 >extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); >extern wint_t putwchar_unlocked (wchar_t __wc); ># 772 "/usr/include/wchar.h" 3 4 >extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, > __FILE *__restrict __stream); > > > > > > > >extern int fputws_unlocked (__const wchar_t *__restrict __ws, > __FILE *__restrict __stream); > > > > > > > >extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, > __const wchar_t *__restrict __format, > __const struct tm *__restrict __tp) throw (); > > > > > > > >extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, > __const wchar_t *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) throw (); ># 817 "/usr/include/wchar.h" 3 4 >} ># 55 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 2 3 ># 69 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 3 >namespace std >{ > using ::mbstate_t; >} ># 133 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 3 >namespace std >{ > using ::wint_t; > > using ::btowc; > using ::fgetwc; > using ::fgetws; > using ::fputwc; > using ::fputws; > using ::fwide; > using ::fwprintf; > using ::fwscanf; > using ::getwc; > using ::getwchar; > using ::mbrlen; > using ::mbrtowc; > using ::mbsinit; > using ::mbsrtowcs; > using ::putwc; > using ::putwchar; > using ::swprintf; > using ::swscanf; > using ::ungetwc; > using ::vfwprintf; > using ::vfwscanf; > using ::vswprintf; > using ::vswscanf; > using ::vwprintf; > using ::vwscanf; > using ::wcrtomb; > using ::wcscat; > using ::wcscmp; > using ::wcscoll; > using ::wcscpy; > using ::wcscspn; > > > > using ::wcslen; > using ::wcsncat; > using ::wcsncmp; > using ::wcsncpy; > using ::wcsrtombs; > using ::wcsspn; > using ::wcstod; > using ::wcstof; > using ::wcstok; > using ::wcstol; > using ::wcstoul; > using ::wcsxfrm; > using ::wctob; > using ::wmemcmp; > using ::wmemcpy; > using ::wmemmove; > using ::wmemset; > using ::wprintf; > using ::wscanf; > > using ::wcschr; > > inline wchar_t* > wcschr(wchar_t* __p, wchar_t __c) > { return wcschr(const_cast<const wchar_t*>(__p), __c); } > > using ::wcspbrk; > > inline wchar_t* > wcspbrk(wchar_t* __s1, wchar_t* __s2) > { return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); } > > using ::wcsrchr; > > inline wchar_t* > wcsrchr(wchar_t* __p, wchar_t __c) > { return wcsrchr(const_cast<const wchar_t*>(__p), __c); } > > using ::wcsstr; > > inline wchar_t* > wcsstr(wchar_t* __s1, wchar_t* __s2) > { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); } > > using ::wmemchr; > > inline wchar_t* > wmemchr(wchar_t* __p, wchar_t __c, size_t __n) > { return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); } >} > > > > > > > >namespace __gnu_cxx >{ > > > > > > using ::wcstold; ># 244 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cwchar" 3 > using ::wcstoll; > using ::wcstoull; > >} > >namespace std >{ > using __gnu_cxx::wcstold; > using __gnu_cxx::wcstoll; > using __gnu_cxx::wcstoull; >} ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h" 2 3 > >namespace std >{ > > > > > > > template<typename _StateT> > class fpos > { > public: > > typedef _StateT __state_type; > > private: > streamoff _M_off; > __state_type _M_st; > > public: > __state_type > state() const { return _M_st; } > > void > state(__state_type __st) { _M_st = __st; } > > > > fpos(): _M_off(streamoff()), _M_st(__state_type()) { } > > fpos(streamoff __off, __state_type __st = __state_type()) > : _M_off(__off), _M_st(__st) { } > > operator streamoff() const { return _M_off; } > > fpos& > operator+=(streamoff __off) { _M_off += __off; return *this; } > > fpos& > operator-=(streamoff __off) { _M_off -= __off; return *this; } > > fpos > operator+(streamoff __off) > { > fpos __t(*this); > __t += __off; > return __t; > } > > fpos > operator-(streamoff __off) > { > fpos __t(*this); > __t -= __off; > return __t; > } > > bool > operator==(const fpos& __pos) const > { return _M_off == __pos._M_off; } > > bool > operator!=(const fpos& __pos) const > { return _M_off != __pos._M_off; } > > streamoff > _M_position() const { return _M_off; } > > void > _M_position(streamoff __off) { _M_off = __off; } > }; > > > typedef fpos<mbstate_t> streampos; > > > typedef fpos<mbstate_t> wstreampos; > >} ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 2 3 > >namespace std >{ ># 61 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/char_traits.h" 3 > template<class _CharT> > struct char_traits > { > typedef _CharT char_type; > > typedef unsigned long int_type; > typedef streampos pos_type; > typedef streamoff off_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2); > > static bool > eq(const char_type& __c1, const char_type& __c2); > > static bool > lt(const char_type& __c1, const char_type& __c2); > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n); > > static size_t > length(const char_type* __s); > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a); > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n); > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n); > > static char_type* > assign(char_type* __s, size_t __n, char_type __a); > > static char_type > to_char_type(const int_type& __c); > > static int_type > to_int_type(const char_type& __c); > > static bool > eq_int_type(const int_type& __c1, const int_type& __c2); > > static int_type > eof(); > > static int_type > not_eof(const int_type& __c); > }; > > > > template<> > struct char_traits<char> > { > typedef char char_type; > typedef int int_type; > typedef streampos pos_type; > typedef streamoff off_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) > { __c1 = __c2; } > > static bool > eq(const char_type& __c1, const char_type& __c2) > { return __c1 == __c2; } > > static bool > lt(const char_type& __c1, const char_type& __c2) > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { return memcmp(__s1, __s2, __n); } > > static size_t > length(const char_type* __s) > { return strlen(__s); } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { return static_cast<const char_type*>(memchr(__s, __a, __n)); } > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n) > { return static_cast<char_type*>(memmove(__s1, __s2, __n)); } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { return static_cast<char_type*>(memcpy(__s1, __s2, __n)); } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { return static_cast<char_type*>(memset(__s, __a, __n)); } > > static char_type > to_char_type(const int_type& __c) > { return static_cast<char_type>(__c); } > > > > static int_type > to_int_type(const char_type& __c) > { return static_cast<int_type>(static_cast<unsigned char>(__c)); } > > static bool > eq_int_type(const int_type& __c1, const int_type& __c2) > { return __c1 == __c2; } > > static int_type > eof() { return static_cast<int_type>((-1)); } > > static int_type > not_eof(const int_type& __c) > { return (__c == eof()) ? 0 : __c; } > }; > > > > > template<> > struct char_traits<wchar_t> > { > typedef wchar_t char_type; > typedef wint_t int_type; > typedef streamoff off_type; > typedef wstreampos pos_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) > { __c1 = __c2; } > > static bool > eq(const char_type& __c1, const char_type& __c2) > { return __c1 == __c2; } > > static bool > lt(const char_type& __c1, const char_type& __c2) > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { return wmemcmp(__s1, __s2, __n); } > > static size_t > length(const char_type* __s) > { return wcslen(__s); } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { return wmemchr(__s, __a, __n); } > > static char_type* > move(char_type* __s1, const char_type* __s2, int_type __n) > { return wmemmove(__s1, __s2, __n); } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { return wmemcpy(__s1, __s2, __n); } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { return wmemset(__s, __a, __n); } > > static char_type > to_char_type(const int_type& __c) { return char_type(__c); } > > static int_type > to_int_type(const char_type& __c) { return int_type(__c); } > > static bool > eq_int_type(const int_type& __c1, const int_type& __c2) > { return __c1 == __c2; } > > static int_type > eof() { return static_cast<int_type>((0xffffffffu)); } > > static int_type > not_eof(const int_type& __c) > { return eq_int_type(__c, eof()) ? 0 : __c; } > }; > > > template<typename _CharT, typename _Traits> > struct _Char_traits_match > { > _CharT _M_c; > _Char_traits_match(_CharT const& __c) : _M_c(__c) { } > > bool > operator()(_CharT const& __a) { return _Traits::eq(_M_c, __a); } > }; >} ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 1 3 ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 ># 53 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 1 3 ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/climits" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/climits" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/climits" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 1 3 4 ># 50 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/climits" 2 3 ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 3 > > > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 63 "/usr/include/bits/waitstatus.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 64 "/usr/include/bits/waitstatus.h" 2 3 4 > >union wait > { > int w_status; > struct > { > > > > > > > > unsigned int:16; > unsigned int __w_retcode:8; > unsigned int __w_coredump:1; > unsigned int __w_termsig:7; > > } __wait_terminated; > struct > { > > > > > > > unsigned int:16; > unsigned int __w_stopsig:8; > unsigned int __w_stopval:8; > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 93 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; ># 137 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw (); > > > > >extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); ># 229 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw (); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw (); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) throw (); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) throw (); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) throw (); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw (); ># 308 "/usr/include/stdlib.h" 3 4 >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} ># 408 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw (); > > >extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)); > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 >extern "C" { > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > > > >typedef __ino64_t ino_t; > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; ># 72 "/usr/include/sys/types.h" 3 4 >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; ># 105 "/usr/include/sys/types.h" 3 4 >typedef __id_t id_t; ># 116 "/usr/include/sys/types.h" 3 4 >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 141 "/usr/include/sys/types.h" 3 4 >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 191 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 216 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 35 "/usr/include/sys/select.h" 2 3 4 ># 46 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > >} ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; ># 244 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; > > > > > >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 267 "/usr/include/sys/types.h" 2 3 4 > > >} ># 417 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw (); > > > >extern char *setstate (char *__statebuf) throw (); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw (); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw (); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) throw (); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) throw (); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) throw (); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw (); >extern void lcong48 (unsigned short int __param[7]) throw (); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw (); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw (); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) throw (); ># 556 "/usr/include/stdlib.h" 3 4 >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 579 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw (); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw (); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw (); > > > > >extern char *__secure_getenv (__const char *__name) throw (); > > > > > >extern int putenv (char *__string) throw (); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw (); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw (); ># 677 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64"); > > > > > >extern int mkstemp64 (char *__template); ># 693 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw (); ># 702 "/usr/include/stdlib.h" 3 4 >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) throw (); ># 720 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw (); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)); >extern long int labs (long int __x) throw () __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)); ># 784 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) throw (); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw (); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); > > > > > > > >extern int mblen (__const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); ># 855 "/usr/include/stdlib.h" 3 4 >extern int rpmatch (__const char *__response) throw (); ># 866 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) throw (); > > > > > >extern void setkey (__const char *__key) throw (); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw (); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw (); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) throw (); > > > > > >} ># 53 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 2 3 ># 84 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 3 >namespace std >{ > using ::div_t; > using ::ldiv_t; > > using ::abort; > using ::abs; > using ::atexit; > using ::atof; > using ::atoi; > using ::atol; > using ::bsearch; > using ::calloc; > using ::div; > using ::exit; > using ::free; > using ::getenv; > using ::labs; > using ::ldiv; > using ::malloc; > > using ::mblen; > using ::mbstowcs; > using ::mbtowc; > > using ::qsort; > using ::rand; > using ::realloc; > using ::srand; > using ::strtod; > using ::strtol; > using ::strtoul; > using ::system; > > using ::wcstombs; > using ::wctomb; > > > inline long > abs(long __i) { return labs(__i); } > > inline ldiv_t > div(long __i, long __j) { return ldiv(__i, __j); } >} ># 140 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 3 >namespace __gnu_cxx >{ > > using ::lldiv_t; > > > > > > using ::_Exit; > > > inline long long > abs(long long __x) { return __x >= 0 ? __x : -__x; } > > inline long long > llabs(long long __x) { return __x >= 0 ? __x : -__x; } > > > inline lldiv_t > div(long long __n, long long __d) > { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } > > inline lldiv_t > lldiv(long long __n, long long __d) > { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } ># 176 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cstdlib" 3 > using ::atoll; > using ::strtoll; > using ::strtoull; > > using ::strtof; > using ::strtold; >} > >namespace std >{ > > using __gnu_cxx::lldiv_t; > > using __gnu_cxx::_Exit; > using __gnu_cxx::abs; > using __gnu_cxx::llabs; > > using __gnu_cxx::div; > using __gnu_cxx::lldiv; > > using __gnu_cxx::atoll; > using __gnu_cxx::strtof; > using __gnu_cxx::strtoll; > using __gnu_cxx::strtoull; > using __gnu_cxx::strtold; >} ># 68 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/new" 1 3 ># 42 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/new" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception" 1 3 ># 40 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception" 3 >extern "C++" { > >namespace std >{ ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception" 3 > class exception > { > public: > exception() throw() { } > virtual ~exception() throw(); > > > virtual const char* what() const throw(); > }; > > > > class bad_exception : public exception > { > public: > bad_exception() throw() { } > > > virtual ~bad_exception() throw(); > }; > > > typedef void (*terminate_handler) (); > > typedef void (*unexpected_handler) (); > > > terminate_handler set_terminate(terminate_handler) throw(); > > > void terminate() __attribute__ ((__noreturn__)); > > > unexpected_handler set_unexpected(unexpected_handler) throw(); > > > void unexpected() __attribute__ ((__noreturn__)); ># 100 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception" 3 > bool uncaught_exception() throw(); >} > >namespace __gnu_cxx >{ ># 113 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception" 3 > void __verbose_terminate_handler (); >} > >} ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/new" 2 3 > >extern "C++" { > >namespace std >{ > > > > > > class bad_alloc : public exception > { > public: > bad_alloc() throw() { } > > > virtual ~bad_alloc() throw(); > }; > > struct nothrow_t { }; > extern const nothrow_t nothrow; > > > typedef void (*new_handler)(); > > new_handler set_new_handler(new_handler) throw(); >} ># 82 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/new" 3 >void* operator new(std::size_t) throw (std::bad_alloc); >void* operator new[](std::size_t) throw (std::bad_alloc); >void operator delete(void*) throw(); >void operator delete[](void*) throw(); >void* operator new(std::size_t, const std::nothrow_t&) throw(); >void* operator new[](std::size_t, const std::nothrow_t&) throw(); >void operator delete(void*, const std::nothrow_t&) throw(); >void operator delete[](void*, const std::nothrow_t&) throw(); > > >inline void* operator new(std::size_t, void* __p) throw() { return __p; } >inline void* operator new[](std::size_t, void* __p) throw() { return __p; } > > >inline void operator delete (void*, void*) throw() { }; >inline void operator delete[](void*, void*) throw() { }; > >} ># 70 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 1 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 3 ># 44 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 3 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++locale.h" 1 3 ># 39 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++locale.h" 3 ># 40 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++locale.h" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/clocale" 1 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/clocale" 3 ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/clocale" 3 > ># 1 "/usr/include/locale.h" 1 3 4 ># 29 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 27 "/usr/include/bits/locale.h" 3 4 >enum >{ > __LC_CTYPE = 0, > __LC_NUMERIC = 1, > __LC_TIME = 2, > __LC_COLLATE = 3, > __LC_MONETARY = 4, > __LC_MESSAGES = 5, > __LC_ALL = 6, > __LC_PAPER = 7, > __LC_NAME = 8, > __LC_ADDRESS = 9, > __LC_TELEPHONE = 10, > __LC_MEASUREMENT = 11, > __LC_IDENTIFICATION = 12 >}; ># 31 "/usr/include/locale.h" 2 3 4 > >extern "C" { ># 52 "/usr/include/locale.h" 3 4 >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; > > > char int_p_cs_precedes; > > char int_p_sep_by_space; > > char int_n_cs_precedes; > > char int_n_sep_by_space; > > > > > > > char int_p_sign_posn; > char int_n_sign_posn; ># 119 "/usr/include/locale.h" 3 4 >}; > > > > > >extern char *setlocale (int __category, __const char *__locale) throw (); > > >extern struct lconv *localeconv (void) throw (); ># 148 "/usr/include/locale.h" 3 4 >typedef __locale_t locale_t; > > > > > >extern __locale_t newlocale (int __category_mask, __const char *__locale, > __locale_t __base) throw (); ># 189 "/usr/include/locale.h" 3 4 >extern __locale_t duplocale (__locale_t __dataset) throw (); > > > >extern void freelocale (__locale_t __dataset) throw (); > > > > > > >extern __locale_t uselocale (__locale_t __dataset) throw (); > > > > > > > >} ># 50 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/clocale" 2 3 > > > > > >namespace std >{ > using ::lconv; > using ::setlocale; > using ::localeconv; >} ># 42 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/c++locale.h" 2 3 > > > >namespace std >{ > typedef int* __c_locale; > > > > > > template<typename _Tv> > int > __convert_from_v(char* __out, > const int __attribute__ ((__unused__)) __size, > const char* __fmt, > _Tv __v, const __c_locale&, int __prec = -1) > { > char* __old = setlocale(__LC_ALL, __null); > char* __sav = static_cast<char*>(malloc(strlen(__old) + 1)); > if (__sav) > strcpy(__sav, __old); > setlocale(__LC_ALL, "C"); > > int __ret; > > if (__prec >= 0) > __ret = snprintf(__out, __size, __fmt, __prec, __v); > else > __ret = snprintf(__out, __size, __fmt, __v); > > > > > > > setlocale(__LC_ALL, __sav); > free(__sav); > return __ret; > } >} ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cctype" 1 3 ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cctype" 3 ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cctype" 3 > > ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 >extern "C" { ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = (1 << (0)), > _ISlower = (1 << (1)), > _ISalpha = (1 << (2)), > _ISdigit = (1 << (3)), > _ISxdigit = (1 << (4)), > _ISspace = (1 << (5)), > _ISprint = (1 << (6)), > _ISgraph = (1 << (7)), > _ISblank = (1 << (8)), > _IScntrl = (1 << (9)), > _ISpunct = (1 << (10)), > _ISalnum = (1 << (11)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) throw (); >extern int isalpha (int) throw (); >extern int iscntrl (int) throw (); >extern int isdigit (int) throw (); >extern int islower (int) throw (); >extern int isgraph (int) throw (); >extern int isprint (int) throw (); >extern int ispunct (int) throw (); >extern int isspace (int) throw (); >extern int isupper (int) throw (); >extern int isxdigit (int) throw (); > > > >extern int tolower (int __c) throw (); > > >extern int toupper (int __c) throw (); ># 128 "/usr/include/ctype.h" 3 4 >extern int isblank (int) throw (); > > > > > > >extern int isctype (int __c, int __mask) throw (); > > > > > > >extern int isascii (int __c) throw (); > > > >extern int toascii (int __c) throw (); > > > >extern int _toupper (int) throw (); >extern int _tolower (int) throw (); ># 247 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) throw (); >extern int isalpha_l (int, __locale_t) throw (); >extern int iscntrl_l (int, __locale_t) throw (); >extern int isdigit_l (int, __locale_t) throw (); >extern int islower_l (int, __locale_t) throw (); >extern int isgraph_l (int, __locale_t) throw (); >extern int isprint_l (int, __locale_t) throw (); >extern int ispunct_l (int, __locale_t) throw (); >extern int isspace_l (int, __locale_t) throw (); >extern int isupper_l (int, __locale_t) throw (); >extern int isxdigit_l (int, __locale_t) throw (); > >extern int isblank_l (int, __locale_t) throw (); > > > >extern int __tolower_l (int __c, __locale_t __l) throw (); >extern int tolower_l (int __c, __locale_t __l) throw (); > > >extern int __toupper_l (int __c, __locale_t __l) throw (); >extern int toupper_l (int __c, __locale_t __l) throw (); ># 323 "/usr/include/ctype.h" 3 4 >} ># 50 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cctype" 2 3 ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/cctype" 3 >namespace std >{ > using ::isalnum; > using ::isalpha; > using ::iscntrl; > using ::isdigit; > using ::isgraph; > using ::islower; > using ::isprint; > using ::ispunct; > using ::isspace; > using ::isupper; > using ::isxdigit; > using ::tolower; > using ::toupper; >} ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 2 3 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 1 3 ># 34 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception_defines.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 2 3 > >namespace std >{ > > void > __throw_bad_exception(void); > > > void > __throw_bad_alloc(void); > > > void > __throw_bad_cast(void); > > void > __throw_bad_typeid(void); > > > void > __throw_logic_error(const char* __s); > > void > __throw_domain_error(const char* __s); > > void > __throw_invalid_argument(const char* __s); > > void > __throw_length_error(const char* __s); > > void > __throw_out_of_range(const char* __s); > > void > __throw_runtime_error(const char* __s); > > void > __throw_range_error(const char* __s); > > void > __throw_overflow_error(const char* __s); > > void > __throw_underflow_error(const char* __s); > > > void > __throw_ios_failure(const char* __s); >} ># 51 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 2 3 > >namespace std >{ > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ios; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_streambuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_istream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ostream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_iostream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_stringbuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_istringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_ostringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_stringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_filebuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ifstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ofstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_fstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class istreambuf_iterator; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class ostreambuf_iterator; > > > > class ios_base; ># 136 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/iosfwd" 3 > typedef basic_ios<char> ios; > typedef basic_streambuf<char> streambuf; > typedef basic_istream<char> istream; > typedef basic_ostream<char> ostream; > typedef basic_iostream<char> iostream; > typedef basic_stringbuf<char> stringbuf; > typedef basic_istringstream<char> istringstream; > typedef basic_ostringstream<char> ostringstream; > typedef basic_stringstream<char> stringstream; > typedef basic_filebuf<char> filebuf; > typedef basic_ifstream<char> ifstream; > typedef basic_ofstream<char> ofstream; > typedef basic_fstream<char> fstream; > > > typedef basic_ios<wchar_t> wios; > typedef basic_streambuf<wchar_t> wstreambuf; > typedef basic_istream<wchar_t> wistream; > typedef basic_ostream<wchar_t> wostream; > typedef basic_iostream<wchar_t> wiostream; > typedef basic_stringbuf<wchar_t> wstringbuf; > typedef basic_istringstream<wchar_t> wistringstream; > typedef basic_ostringstream<wchar_t> wostringstream; > typedef basic_stringstream<wchar_t> wstringstream; > typedef basic_filebuf<wchar_t> wfilebuf; > typedef basic_ifstream<wchar_t> wifstream; > typedef basic_ofstream<wchar_t> wofstream; > typedef basic_fstream<wchar_t> wfstream; > > >} ># 71 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_pair.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_pair.h" 3 >namespace std >{ > > >template <class _T1, class _T2> >struct pair { > typedef _T1 first_type; > typedef _T2 second_type; > > _T1 first; > _T2 second; > > > > > pair() : first(), second() {} > > > > > pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} > > > template <class _U1, class _U2> > pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} >}; > > >template <class _T1, class _T2> >inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) >{ > return __x.first == __y.first && __x.second == __y.second; >} > > >template <class _T1, class _T2> >inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) >{ > return __x.first < __y.first || > (!(__y.first < __x.first) && __x.second < __y.second); >} > > >template <class _T1, class _T2> >inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { > return !(__x == __y); >} > > >template <class _T1, class _T2> >inline bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { > return __y < __x; >} > > >template <class _T1, class _T2> >inline bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { > return !(__y < __x); >} > > >template <class _T1, class _T2> >inline bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { > return !(__x < __y); >} ># 140 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_pair.h" 3 >template <class _T1, class _T2> > > >inline pair<_T1, _T2> make_pair(_T1 __x, _T2 __y) > > > >{ > return pair<_T1, _T2>(__x, __y); >} > >} ># 72 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/type_traits.h" 1 3 ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/type_traits.h" 3 ># 53 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/type_traits.h" 3 ># 90 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/type_traits.h" 3 >struct __true_type {}; >struct __false_type {}; > >template <class _Tp> >struct __type_traits { > typedef __true_type this_dummy_member_must_be_first; ># 113 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/type_traits.h" 3 > typedef __false_type has_trivial_default_constructor; > typedef __false_type has_trivial_copy_constructor; > typedef __false_type has_trivial_assignment_operator; > typedef __false_type has_trivial_destructor; > typedef __false_type is_POD_type; >}; > > > > >template<> struct __type_traits<bool> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<char> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<signed char> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<unsigned char> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<wchar_t> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<short> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<unsigned short> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<int> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<unsigned int> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<long> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<unsigned long> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<long long> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<unsigned long long> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<float> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<double> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template<> struct __type_traits<long double> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > >template <class _Tp> >struct __type_traits<_Tp*> { > typedef __true_type has_trivial_default_constructor; > typedef __true_type has_trivial_copy_constructor; > typedef __true_type has_trivial_assignment_operator; > typedef __true_type has_trivial_destructor; > typedef __true_type is_POD_type; >}; > > > > > >template <class _Tp> struct _Is_integer { > typedef __false_type _Integral; >}; > >template<> struct _Is_integer<bool> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<char> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<signed char> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<unsigned char> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<wchar_t> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<short> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<unsigned short> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<int> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<unsigned int> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<long> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<unsigned long> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<long long> { > typedef __true_type _Integral; >}; > >template<> struct _Is_integer<unsigned long long> { > typedef __true_type _Integral; >}; > >template<typename _Tp> struct _Is_normal_iterator { > typedef __false_type _Normal; >}; > > >namespace __gnu_cxx >{ > template<typename _Iterator, typename _Container> class __normal_iterator; >} > >template<typename _Iterator, typename _Container> >struct _Is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator, _Container> > { > typedef __true_type _Normal; >}; ># 73 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h" 1 3 ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h" 3 ># 68 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h" 3 > >namespace std >{ ># 80 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h" 3 > struct input_iterator_tag {}; > > struct output_iterator_tag {}; > > struct forward_iterator_tag : public input_iterator_tag {}; > > struct bidirectional_iterator_tag : public forward_iterator_tag {}; > > struct random_access_iterator_tag : public bidirectional_iterator_tag {}; ># 102 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h" 3 > template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t, > typename _Pointer = _Tp*, typename _Reference = _Tp&> > struct iterator > { > > typedef _Category iterator_category; > > typedef _Tp value_type; > > typedef _Distance difference_type; > > typedef _Pointer pointer; > > typedef _Reference reference; > }; > > > > > > > > template<typename _Iterator> > struct iterator_traits { > typedef typename _Iterator::iterator_category iterator_category; > typedef typename _Iterator::value_type value_type; > typedef typename _Iterator::difference_type difference_type; > typedef typename _Iterator::pointer pointer; > typedef typename _Iterator::reference reference; > }; > > template<typename _Tp> > struct iterator_traits<_Tp*> { > typedef random_access_iterator_tag iterator_category; > typedef _Tp value_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef _Tp& reference; > }; > > template<typename _Tp> > struct iterator_traits<const _Tp*> { > typedef random_access_iterator_tag iterator_category; > typedef _Tp value_type; > typedef ptrdiff_t difference_type; > typedef const _Tp* pointer; > typedef const _Tp& reference; > }; > > > > > > > > template<typename _Iter> > inline typename iterator_traits<_Iter>::iterator_category > __iterator_category(const _Iter&) > { return typename iterator_traits<_Iter>::iterator_category(); } > >} ># 74 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 1 3 ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 3 ># 68 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/concept_check.h" 1 3 ># 38 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/concept_check.h" 3 ># 39 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/concept_check.h" 3 ># 69 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 2 3 > >namespace std >{ > template<typename _InputIterator> > inline typename iterator_traits<_InputIterator>::difference_type > __distance(_InputIterator __first, _InputIterator __last, > input_iterator_tag) > { > > > > typename iterator_traits<_InputIterator>::difference_type __n = 0; > while (__first != __last) { > ++__first; ++__n; > } > return __n; > } > > template<typename _RandomAccessIterator> > inline typename iterator_traits<_RandomAccessIterator>::difference_type > __distance(_RandomAccessIterator __first, _RandomAccessIterator __last, > random_access_iterator_tag) > { > > > return __last - __first; > } ># 109 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 3 > template<typename _InputIterator> > inline typename iterator_traits<_InputIterator>::difference_type > distance(_InputIterator __first, _InputIterator __last) > { > > return __distance(__first, __last, __iterator_category(__first)); > } > > template<typename _InputIter, typename _Distance> > inline void > __advance(_InputIter& __i, _Distance __n, input_iterator_tag) > { > > > while (__n--) ++__i; > } > > template<typename _BidirectionalIterator, typename _Distance> > inline void > __advance(_BidirectionalIterator& __i, _Distance __n, > bidirectional_iterator_tag) > { > > > > if (__n > 0) > while (__n--) ++__i; > else > while (__n++) --__i; > } > > template<typename _RandomAccessIterator, typename _Distance> > inline void > __advance(_RandomAccessIterator& __i, _Distance __n, > random_access_iterator_tag) > { > > > __i += __n; > } ># 162 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_funcs.h" 3 > template<typename _InputIterator, typename _Distance> > inline void > advance(_InputIterator& __i, _Distance __n) > { > > __advance(__i, __n, __iterator_category(__i)); > } >} ># 75 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 1 3 ># 68 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 >namespace std >{ ># 89 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Iterator> > class reverse_iterator > : public iterator<typename iterator_traits<_Iterator>::iterator_category, > typename iterator_traits<_Iterator>::value_type, > typename iterator_traits<_Iterator>::difference_type, > typename iterator_traits<_Iterator>::pointer, > typename iterator_traits<_Iterator>::reference> > { > protected: > _Iterator current; > > public: > typedef _Iterator iterator_type; > typedef typename iterator_traits<_Iterator>::difference_type > difference_type; > typedef typename iterator_traits<_Iterator>::reference reference; > typedef typename iterator_traits<_Iterator>::pointer pointer; > > public: > > > > > > > reverse_iterator() : current() { } > > > > > explicit > reverse_iterator(iterator_type __x) : current(__x) { } > > > > > reverse_iterator(const reverse_iterator& __x) > : current(__x.current) { } > > > > > > template<typename _Iter> > reverse_iterator(const reverse_iterator<_Iter>& __x) > : current(__x.base()) { } > > > > > iterator_type > base() const { return current; } > > > > > > > reference > operator*() const > { > _Iterator __tmp = current; > return *--__tmp; > } > > > > > > > pointer > operator->() const { return &(operator*()); } > > > > > > > reverse_iterator& > operator++() > { > --current; > return *this; > } > > > > > > > reverse_iterator > operator++(int) > { > reverse_iterator __tmp = *this; > --current; > return __tmp; > } > > > > > > > reverse_iterator& > operator--() > { > ++current; > return *this; > } > > > > > > > reverse_iterator operator--(int) > { > reverse_iterator __tmp = *this; > ++current; > return __tmp; > } > > > > > > > reverse_iterator > operator+(difference_type __n) const > { return reverse_iterator(current - __n); } > > > > > > > reverse_iterator& > operator+=(difference_type __n) > { > current -= __n; > return *this; > } > > > > > > > reverse_iterator > operator-(difference_type __n) const > { return reverse_iterator(current + __n); } > > > > > > > reverse_iterator& > operator-=(difference_type __n) > { > current += __n; > return *this; > } > > > > > > > reference > operator[](difference_type __n) const { return *(*this + __n); } > }; ># 272 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Iterator> > inline bool > operator==(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __x.base() == __y.base(); } > > template<typename _Iterator> > inline bool > operator<(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y.base() < __x.base(); } > > template<typename _Iterator> > inline bool > operator!=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__x == __y); } > > template<typename _Iterator> > inline bool > operator>(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y < __x; } > > template<typename _Iterator> > inline bool > operator<=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__y < __x); } > > template<typename _Iterator> > inline bool > operator>=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__x < __y); } > > template<typename _Iterator> > inline typename reverse_iterator<_Iterator>::difference_type > operator-(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y.base() - __x.base(); } > > template<typename _Iterator> > inline reverse_iterator<_Iterator> > operator+(typename reverse_iterator<_Iterator>::difference_type __n, > const reverse_iterator<_Iterator>& __x) > { return reverse_iterator<_Iterator>(__x.base() - __n); } ># 332 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container> > class back_insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > > public: > > typedef _Container container_type; > > > explicit > back_insert_iterator(_Container& __x) : container(&__x) { } ># 358 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > back_insert_iterator& > operator=(typename _Container::const_reference __value) > { > container->push_back(__value); > return *this; > } > > > back_insert_iterator& > operator*() { return *this; } > > > back_insert_iterator& > operator++() { return *this; } > > > back_insert_iterator > operator++(int) { return *this; } > }; ># 389 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container> > inline back_insert_iterator<_Container> > back_inserter(_Container& __x) > { return back_insert_iterator<_Container>(__x); } ># 404 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container> > class front_insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > > public: > > typedef _Container container_type; > > > explicit front_insert_iterator(_Container& __x) : container(&__x) { } ># 429 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > front_insert_iterator& > operator=(typename _Container::const_reference __value) > { > container->push_front(__value); > return *this; > } > > > front_insert_iterator& > operator*() { return *this; } > > > front_insert_iterator& > operator++() { return *this; } > > > front_insert_iterator > operator++(int) { return *this; } > }; ># 460 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container> > inline front_insert_iterator<_Container> > front_inserter(_Container& __x) > { return front_insert_iterator<_Container>(__x); } ># 479 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container> > class insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > typename _Container::iterator iter; > > public: > > typedef _Container container_type; > > > > > > insert_iterator(_Container& __x, typename _Container::iterator __i) > : container(&__x), iter(__i) {} ># 521 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > insert_iterator& > operator=(const typename _Container::const_reference __value) > { > iter = container->insert(iter, __value); > ++iter; > return *this; > } > > > insert_iterator& > operator*() { return *this; } > > > insert_iterator& > operator++() { return *this; } > > > insert_iterator& > operator++(int) { return *this; } > }; ># 553 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _Container, typename _Iterator> > inline insert_iterator<_Container> > inserter(_Container& __x, _Iterator __i) > { > return insert_iterator<_Container>(__x, > typename _Container::iterator(__i)); > } >} > >namespace __gnu_cxx >{ > > > > > > > > using std::iterator_traits; > using std::iterator; > template<typename _Iterator, typename _Container> > class __normal_iterator > : public iterator<typename iterator_traits<_Iterator>::iterator_category, > typename iterator_traits<_Iterator>::value_type, > typename iterator_traits<_Iterator>::difference_type, > typename iterator_traits<_Iterator>::pointer, > typename iterator_traits<_Iterator>::reference> > { > protected: > _Iterator _M_current; > > public: > typedef typename iterator_traits<_Iterator>::difference_type > difference_type; > typedef typename iterator_traits<_Iterator>::reference reference; > typedef typename iterator_traits<_Iterator>::pointer pointer; > > __normal_iterator() : _M_current(_Iterator()) { } > > explicit > __normal_iterator(const _Iterator& __i) : _M_current(__i) { } > > > template<typename _Iter> > inline __normal_iterator(const __normal_iterator<_Iter, _Container>& __i) > : _M_current(__i.base()) { } > > > reference > operator*() const { return *_M_current; } > > pointer > operator->() const { return _M_current; } > > __normal_iterator& > operator++() { ++_M_current; return *this; } > > __normal_iterator > operator++(int) { return __normal_iterator(_M_current++); } > > > __normal_iterator& > operator--() { --_M_current; return *this; } > > __normal_iterator > operator--(int) { return __normal_iterator(_M_current--); } > > > reference > operator[](const difference_type& __n) const > { return _M_current[__n]; } > > __normal_iterator& > operator+=(const difference_type& __n) > { _M_current += __n; return *this; } > > __normal_iterator > operator+(const difference_type& __n) const > { return __normal_iterator(_M_current + __n); } > > __normal_iterator& > operator-=(const difference_type& __n) > { _M_current -= __n; return *this; } > > __normal_iterator > operator-(const difference_type& __n) const > { return __normal_iterator(_M_current - __n); } > > const _Iterator& > base() const { return _M_current; } > }; ># 654 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator.h" 3 > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() == __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator==(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() == __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() != __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator!=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() != __rhs.base(); } > > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator<(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() < __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator<(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() < __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator>(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() > __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator>(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() > __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() <= __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator<=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() <= __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() >= __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator>=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > { return __lhs.base() >= __rhs.base(); } > > > > > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline typename __normal_iterator<_IteratorL, _Container>::difference_type > operator-(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > { return __lhs.base() - __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline __normal_iterator<_Iterator, _Container> > operator+(typename __normal_iterator<_Iterator, _Container>::difference_type __n, > const __normal_iterator<_Iterator, _Container>& __i) > { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); } >} ># 76 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 2 3 > > >namespace std >{ ># 91 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _ForwardIter1, typename _ForwardIter2> > inline void > iter_swap(_ForwardIter1 __a, _ForwardIter2 __b) > { > typedef typename iterator_traits<_ForwardIter1>::value_type _ValueType1; > typedef typename iterator_traits<_ForwardIter2>::value_type _ValueType2; > > > > > > > > _ValueType1 __tmp = *__a; > *__a = *__b; > *__b = __tmp; > } ># 118 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _Tp> > inline void > swap(_Tp& __a, _Tp& __b) > { > > > > _Tp __tmp = __a; > __a = __b; > __b = __tmp; > } ># 146 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _Tp> > inline const _Tp& > min(const _Tp& __a, const _Tp& __b) > { > > > > if (__b < __a) return __b; return __a; > } ># 166 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _Tp> > inline const _Tp& > max(const _Tp& __a, const _Tp& __b) > { > > > > if (__a < __b) return __b; return __a; > } ># 186 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _Tp, typename _Compare> > inline const _Tp& > min(const _Tp& __a, const _Tp& __b, _Compare __comp) > { > > if (__comp(__b, __a)) return __b; return __a; > } ># 204 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _Tp, typename _Compare> > inline const _Tp& > max(const _Tp& __a, const _Tp& __b, _Compare __comp) > { > > if (__comp(__a, __b)) return __b; return __a; > } ># 221 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy(_InputIter __first, _InputIter __last, > _OutputIter __result, > input_iterator_tag) > { > for ( ; __first != __last; ++__result, ++__first) > *__result = *__first; > return __result; > } > > template<typename _RandomAccessIter, typename _OutputIter> > inline _OutputIter > __copy(_RandomAccessIter __first, _RandomAccessIter __last, > _OutputIter __result, > random_access_iterator_tag) > { > typedef typename iterator_traits<_RandomAccessIter>::difference_type > _Distance; > for (_Distance __n = __last - __first; __n > 0; --__n) { > *__result = *__first; > ++__first; > ++__result; > } > return __result; > } > > template<typename _Tp> > inline _Tp* > __copy_trivial(const _Tp* __first, const _Tp* __last, _Tp* __result) > { > memmove(__result, __first, sizeof(_Tp) * (__last - __first)); > return __result + (__last - __first); > } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_aux2(_InputIter __first, _InputIter __last, > _OutputIter __result, __false_type) > { return __copy(__first, __last, __result, __iterator_category(__first)); } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_aux2(_InputIter __first, _InputIter __last, > _OutputIter __result, __true_type) > { return __copy(__first, __last, __result, __iterator_category(__first)); } > > template<typename _Tp> > inline _Tp* > __copy_aux2(_Tp* __first, _Tp* __last, > _Tp* __result, __true_type) > { return __copy_trivial(__first, __last, __result); } > > template<typename _Tp> > inline _Tp* > __copy_aux2(const _Tp* __first, const _Tp* __last, > _Tp* __result, __true_type) > { return __copy_trivial(__first, __last, __result); } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_ni2(_InputIter __first, _InputIter __last, > _OutputIter __result, __true_type) > { > typedef typename iterator_traits<_InputIter>::value_type > _ValueType; > typedef typename __type_traits<_ValueType>::has_trivial_assignment_operator > _Trivial; > return _OutputIter(__copy_aux2(__first, __last, > __result.base(), > _Trivial())); > } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_ni2(_InputIter __first, _InputIter __last, > _OutputIter __result, __false_type) > { > typedef typename iterator_traits<_InputIter>::value_type > _ValueType; > typedef typename __type_traits<_ValueType>::has_trivial_assignment_operator > _Trivial; > return __copy_aux2(__first, __last, > __result, > _Trivial()); > } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_ni1(_InputIter __first, _InputIter __last, > _OutputIter __result, __true_type) > { > typedef typename _Is_normal_iterator<_OutputIter>::_Normal __Normal; > return __copy_ni2(__first.base(), __last.base(), __result, __Normal()); > } > > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > __copy_ni1(_InputIter __first, _InputIter __last, > _OutputIter __result, __false_type) > { > typedef typename _Is_normal_iterator<_OutputIter>::_Normal __Normal; > return __copy_ni2(__first, __last, __result, __Normal()); > } ># 339 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > copy(_InputIter __first, _InputIter __last, _OutputIter __result) > { > > > > > > typedef typename _Is_normal_iterator<_InputIter>::_Normal __Normal; > return __copy_ni1(__first, __last, __result, __Normal()); > } > > > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2> > inline _BidirectionalIter2 > __copy_backward(_BidirectionalIter1 __first, _BidirectionalIter1 __last, > _BidirectionalIter2 __result, > bidirectional_iterator_tag) > { > while (__first != __last) > *--__result = *--__last; > return __result; > } > > template<typename _RandomAccessIter, typename _BidirectionalIter> > inline _BidirectionalIter > __copy_backward(_RandomAccessIter __first, _RandomAccessIter __last, > _BidirectionalIter __result, > random_access_iterator_tag) > { > typename iterator_traits<_RandomAccessIter>::difference_type __n; > for (__n = __last - __first; __n > 0; --__n) > *--__result = *--__last; > return __result; > } > > > > > > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2, > typename _BoolType> > struct __copy_backward_dispatch > { > static _BidirectionalIter2 > copy(_BidirectionalIter1 __first, _BidirectionalIter1 __last, > _BidirectionalIter2 __result) > { > return __copy_backward(__first, __last, > __result, > __iterator_category(__first)); > } > }; > > template<typename _Tp> > struct __copy_backward_dispatch<_Tp*, _Tp*, __true_type> > { > static _Tp* > copy(const _Tp* __first, const _Tp* __last, _Tp* __result) > { > const ptrdiff_t _Num = __last - __first; > memmove(__result - _Num, __first, sizeof(_Tp) * _Num); > return __result - _Num; > } > }; > > template<typename _Tp> > struct __copy_backward_dispatch<const _Tp*, _Tp*, __true_type> > { > static _Tp* > copy(const _Tp* __first, const _Tp* __last, _Tp* __result) > { > return __copy_backward_dispatch<_Tp*, _Tp*, __true_type> > ::copy(__first, __last, __result); > } > }; > > template<typename _BI1, typename _BI2> > inline _BI2 > __copy_backward_aux(_BI1 __first, _BI1 __last, _BI2 __result) > { > typedef typename __type_traits<typename iterator_traits<_BI2>::value_type> > ::has_trivial_assignment_operator _Trivial; > return __copy_backward_dispatch<_BI1, _BI2, _Trivial> > ::copy(__first, __last, __result); > } > > template <typename _BI1, typename _BI2> > inline _BI2 > __copy_backward_output_normal_iterator(_BI1 __first, _BI1 __last, > _BI2 __result, __true_type) > { return _BI2(__copy_backward_aux(__first, __last, __result.base())); } > > template <typename _BI1, typename _BI2> > inline _BI2 > __copy_backward_output_normal_iterator(_BI1 __first, _BI1 __last, > _BI2 __result, __false_type) > { return __copy_backward_aux(__first, __last, __result); } > > template <typename _BI1, typename _BI2> > inline _BI2 > __copy_backward_input_normal_iterator(_BI1 __first, _BI1 __last, > _BI2 __result, __true_type) > { > typedef typename _Is_normal_iterator<_BI2>::_Normal __Normal; > return __copy_backward_output_normal_iterator(__first.base(), __last.base(), > __result, __Normal()); > } > > template <typename _BI1, typename _BI2> > inline _BI2 > __copy_backward_input_normal_iterator(_BI1 __first, _BI1 __last, > _BI2 __result, __false_type) > { > typedef typename _Is_normal_iterator<_BI2>::_Normal __Normal; > return __copy_backward_output_normal_iterator(__first, __last, __result, > __Normal()); > } ># 477 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template <typename _BI1, typename _BI2> > inline _BI2 > copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) > { > > > > > > > > typedef typename _Is_normal_iterator<_BI1>::_Normal __Normal; > return __copy_backward_input_normal_iterator(__first, __last, __result, > __Normal()); > } ># 509 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _ForwardIter, typename _Tp> > void > fill(_ForwardIter __first, _ForwardIter __last, const _Tp& __value) > { > > > > for ( ; __first != __last; ++__first) > *__first = __value; > } ># 531 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _OutputIter, typename _Size, typename _Tp> > _OutputIter > fill_n(_OutputIter __first, _Size __n, const _Tp& __value) > { > > > > for ( ; __n > 0; --__n, ++__first) > *__first = __value; > return __first; > } > > > > inline void > fill(unsigned char* __first, unsigned char* __last, const unsigned char& __c) > { > unsigned char __tmp = __c; > memset(__first, __tmp, __last - __first); > } > > inline void > fill(signed char* __first, signed char* __last, const signed char& __c) > { > signed char __tmp = __c; > memset(__first, static_cast<unsigned char>(__tmp), __last - __first); > } > > inline void > fill(char* __first, char* __last, const char& __c) > { > char __tmp = __c; > memset(__first, static_cast<unsigned char>(__tmp), __last - __first); > } > > template<typename _Size> > inline unsigned char* > fill_n(unsigned char* __first, _Size __n, const unsigned char& __c) > { > fill(__first, __first + __n, __c); > return __first + __n; > } > > template<typename _Size> > inline signed char* > fill_n(char* __first, _Size __n, const signed char& __c) > { > fill(__first, __first + __n, __c); > return __first + __n; > } > > template<typename _Size> > inline char* > fill_n(char* __first, _Size __n, const char& __c) > { > fill(__first, __first + __n, __c); > return __first + __n; > } ># 606 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2> > pair<_InputIter1, _InputIter2> > mismatch(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2) > { ># 619 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > while (__first1 != __last1 && *__first1 == *__first2) { > ++__first1; > ++__first2; > } > return pair<_InputIter1, _InputIter2>(__first1, __first2); > } ># 640 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _BinaryPredicate> > pair<_InputIter1, _InputIter2> > mismatch(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, > _BinaryPredicate __binary_pred) > { > > > > > while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) { > ++__first1; > ++__first2; > } > return pair<_InputIter1, _InputIter2>(__first1, __first2); > } ># 668 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2> > inline bool > equal(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2) > { > > > > > > > > for ( ; __first1 != __last1; ++__first1, ++__first2) > if (!(*__first1 == *__first2)) > return false; > return true; > } ># 699 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _BinaryPredicate> > inline bool > equal(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, > _BinaryPredicate __binary_pred) > { > > > > > for ( ; __first1 != __last1; ++__first1, ++__first2) > if (!__binary_pred(*__first1, *__first2)) > return false; > return true; > } ># 732 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2> > bool > lexicographical_compare(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2) > { ># 745 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > for ( ; __first1 != __last1 && __first2 != __last2 > ; ++__first1, ++__first2) { > if (*__first1 < *__first2) > return true; > if (*__first2 < *__first1) > return false; > } > return __first1 == __last1 && __first2 != __last2; > } ># 767 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algobase.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _Compare> > bool > lexicographical_compare(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _Compare __comp) > { > > > > > for ( ; __first1 != __last1 && __first2 != __last2 > ; ++__first1, ++__first2) { > if (__comp(*__first1, *__first2)) > return true; > if (__comp(*__first2, *__first1)) > return false; > } > return __first1 == __last1 && __first2 != __last2; > } > > inline bool > lexicographical_compare(const unsigned char* __first1, const unsigned char* __last1, > const unsigned char* __first2, const unsigned char* __last2) > { > const size_t __len1 = __last1 - __first1; > const size_t __len2 = __last2 - __first2; > const int __result = memcmp(__first1, __first2, min(__len1, __len2)); > return __result != 0 ? __result < 0 : __len1 < __len2; > } > > inline bool > lexicographical_compare(const char* __first1, const char* __last1, > const char* __first2, const char* __last2) > { > > return lexicographical_compare((const signed char*) __first1, > (const signed char*) __last1, > (const signed char*) __first2, > (const signed char*) __last2); > > > > > > > } > >} ># 55 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 1 3 ># 88 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 1 3 ># 34 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception_defines.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 2 3 > >namespace std >{ > > void > __throw_bad_exception(void); > > > void > __throw_bad_alloc(void); > > > void > __throw_bad_cast(void); > > void > __throw_bad_typeid(void); > > > void > __throw_logic_error(const char* __s); > > void > __throw_domain_error(const char* __s); > > void > __throw_invalid_argument(const char* __s); > > void > __throw_length_error(const char* __s); > > void > __throw_out_of_range(const char* __s); > > void > __throw_runtime_error(const char* __s); > > void > __throw_range_error(const char* __s); > > void > __throw_overflow_error(const char* __s); > > void > __throw_underflow_error(const char* __s); > > > void > __throw_ios_failure(const char* __s); >} ># 89 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 1 3 ># 54 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 3 >namespace std >{ > > > > > struct _Refcount_Base > { > > typedef size_t _RC_t; > > > volatile _RC_t _M_ref_count; > > > __gthread_mutex_t _M_ref_count_lock; > > _Refcount_Base(_RC_t __n) : _M_ref_count(__n) > { > > __gthread_mutex_t __tmp = {0, 0, 0, PTHREAD_MUTEX_TIMED_NP, { 0, 0 }}; > _M_ref_count_lock = __tmp; > > > > > > } > > void > _M_incr() > { > __gthread_mutex_lock(&_M_ref_count_lock); > ++_M_ref_count; > __gthread_mutex_unlock(&_M_ref_count_lock); > } > > _RC_t > _M_decr() > { > __gthread_mutex_lock(&_M_ref_count_lock); > volatile _RC_t __tmp = --_M_ref_count; > __gthread_mutex_unlock(&_M_ref_count_lock); > return __tmp; > } > }; ># 109 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 3 > template<int __dummy> > struct _Swap_lock_struct > { static __gthread_mutex_t _S_swap_lock; }; > > template<int __dummy> > __gthread_mutex_t > _Swap_lock_struct<__dummy>::_S_swap_lock = {0, 0, 0, PTHREAD_MUTEX_TIMED_NP, { 0, 0 }}; > > > > inline unsigned long > _Atomic_swap(unsigned long * __p, unsigned long __q) > { > __gthread_mutex_lock(&_Swap_lock_struct<0>::_S_swap_lock); > unsigned long __result = *__p; > *__p = __q; > __gthread_mutex_unlock(&_Swap_lock_struct<0>::_S_swap_lock); > return __result; > } > >} ># 155 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 3 >namespace std >{ > struct _STL_mutex_lock > { > > > > > > __gthread_mutex_t _M_lock; > > void > _M_initialize() > { ># 192 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 3 > } > > void > _M_acquire_lock() > { > > > > __gthread_mutex_lock(&_M_lock); > } > > void > _M_release_lock() > { > > > > __gthread_mutex_unlock(&_M_lock); > } > }; ># 228 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_threads.h" 3 > struct _STL_auto_lock > { > _STL_mutex_lock& _M_lock; > > _STL_auto_lock(_STL_mutex_lock& __lock) : _M_lock(__lock) > { _M_lock._M_acquire_lock(); } > > ~_STL_auto_lock() { _M_lock._M_release_lock(); } > > private: > void operator=(const _STL_auto_lock&); > _STL_auto_lock(const _STL_auto_lock&); > }; > >} ># 90 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 2 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/atomicity.h" 1 3 ># 76 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/sparc-unknown-linux-gnu/bits/atomicity.h" 3 >typedef int _Atomic_word; > >template <int __inst> >struct __Atomicity_lock >{ > static unsigned char _S_atomicity_lock; >}; > >template <int __inst> >unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0; > >template unsigned char __Atomicity_lock<0>::_S_atomicity_lock; > >static int >__attribute__ ((__unused__)) >__exchange_and_add (volatile _Atomic_word* __mem, int __val) >{ > _Atomic_word __result, __tmp; > > __asm__ __volatile__("1: ldstub [%1], %0\n\t" > " cmp %0, 0\n\t" > " bne 1b\n\t" > " nop" > : "=&r" (__tmp) > : "r" (&__Atomicity_lock<0>::_S_atomicity_lock) > : "memory"); > __result = *__mem; > *__mem += __val; > __asm__ __volatile__("stb %%g0, [%0]" > : > : "r" (&__Atomicity_lock<0>::_S_atomicity_lock) > : "memory"); > return __result; >} > >static void >__attribute__ ((__unused__)) >__atomic_add (volatile _Atomic_word* __mem, int __val) >{ > _Atomic_word __tmp; > > __asm__ __volatile__("1: ldstub [%1], %0\n\t" > " cmp %0, 0\n\t" > " bne 1b\n\t" > " nop" > : "=&r" (__tmp) > : "r" (&__Atomicity_lock<0>::_S_atomicity_lock) > : "memory"); > *__mem += __val; > __asm__ __volatile__("stb %%g0, [%0]" > : > : "r" (&__Atomicity_lock<0>::_S_atomicity_lock) > : "memory"); >} ># 92 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 2 3 > >namespace std >{ ># 103 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > class __new_alloc > { > public: > static void* > allocate(size_t __n) > { return ::operator new(__n); } > > static void > deallocate(void* __p, size_t) > { ::operator delete(__p); } > }; ># 126 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<int __inst> > class __malloc_alloc_template > { > private: > static void* _S_oom_malloc(size_t); > static void* _S_oom_realloc(void*, size_t); > static void (* __malloc_alloc_oom_handler)(); > > public: > static void* > allocate(size_t __n) > { > void* __result = malloc(__n); > if (__builtin_expect(__result == 0, 0)) > __result = _S_oom_malloc(__n); > return __result; > } > > static void > deallocate(void* __p, size_t ) > { free(__p); } > > static void* > reallocate(void* __p, size_t , size_t __new_sz) > { > void* __result = realloc(__p, __new_sz); > if (__builtin_expect(__result == 0, 0)) > __result = _S_oom_realloc(__p, __new_sz); > return __result; > } > > static void (* __set_malloc_handler(void (*__f)()))() > { > void (* __old)() = __malloc_alloc_oom_handler; > __malloc_alloc_oom_handler = __f; > return __old; > } > }; > > > template<int __inst> > void (* __malloc_alloc_template<__inst>::__malloc_alloc_oom_handler)() = 0; > > template<int __inst> > void* > __malloc_alloc_template<__inst>:: > _S_oom_malloc(size_t __n) > { > void (* __my_malloc_handler)(); > void* __result; > > for (;;) > { > __my_malloc_handler = __malloc_alloc_oom_handler; > if (__builtin_expect(__my_malloc_handler == 0, 0)) > __throw_bad_alloc(); > (*__my_malloc_handler)(); > __result = malloc(__n); > if (__result) > return __result; > } > } > > template<int __inst> > void* > __malloc_alloc_template<__inst>:: > _S_oom_realloc(void* __p, size_t __n) > { > void (* __my_malloc_handler)(); > void* __result; > > for (;;) > { > __my_malloc_handler = __malloc_alloc_oom_handler; > if (__builtin_expect(__my_malloc_handler == 0, 0)) > __throw_bad_alloc(); > (*__my_malloc_handler)(); > __result = realloc(__p, __n); > if (__result) > return __result; > } > } > > > typedef __new_alloc __mem_interface; ># 223 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<typename _Tp, typename _Alloc> > class __simple_alloc > { > public: > static _Tp* > allocate(size_t __n) > { > _Tp* __ret = 0; > if (__n) > __ret = static_cast<_Tp*>(_Alloc::allocate(__n * sizeof(_Tp))); > return __ret; > } > > static _Tp* > allocate() > { return (_Tp*) _Alloc::allocate(sizeof (_Tp)); } > > static void > deallocate(_Tp* __p, size_t __n) > { if (0 != __n) _Alloc::deallocate(__p, __n * sizeof (_Tp)); } > > static void > deallocate(_Tp* __p) > { _Alloc::deallocate(__p, sizeof (_Tp)); } > }; ># 261 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<typename _Alloc> > class __debug_alloc > { > private: > > > enum {_S_extra = 8}; > > public: > static void* > allocate(size_t __n) > { > char* __result = (char*)_Alloc::allocate(__n + (int) _S_extra); > *(size_t*)__result = __n; > return __result + (int) _S_extra; > } > > static void > deallocate(void* __p, size_t __n) > { > char* __real_p = (char*)__p - (int) _S_extra; > if (*(size_t*)__real_p != __n) > abort(); > _Alloc::deallocate(__real_p, __n + (int) _S_extra); > } > > static void* > reallocate(void* __p, size_t __old_sz, size_t __new_sz) > { > char* __real_p = (char*)__p - (int) _S_extra; > if (*(size_t*)__real_p != __old_sz) > abort(); > char* __result = (char*) _Alloc::reallocate(__real_p, > __old_sz + (int) _S_extra, > __new_sz + (int) _S_extra); > *(size_t*)__result = __new_sz; > return __result + (int) _S_extra; > } > }; ># 332 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<bool __threads, int __inst> > class __default_alloc_template > { > private: > enum {_ALIGN = 8}; > enum {_MAX_BYTES = 128}; > enum {_NFREELISTS = _MAX_BYTES / _ALIGN}; > > union _Obj > { > union _Obj* _M_free_list_link; > char _M_client_data[1]; > }; > > static _Obj* volatile _S_free_list[_NFREELISTS]; > > > static char* _S_start_free; > static char* _S_end_free; > static size_t _S_heap_size; > > static _STL_mutex_lock _S_node_allocator_lock; > > static size_t > _S_round_up(size_t __bytes) > { return (((__bytes) + (size_t) _ALIGN-1) & ~((size_t) _ALIGN - 1)); } > > static size_t > _S_freelist_index(size_t __bytes) > { return (((__bytes) + (size_t)_ALIGN - 1)/(size_t)_ALIGN - 1); } > > > > static void* > _S_refill(size_t __n); > > > > static char* > _S_chunk_alloc(size_t __size, int& __nobjs); > > > > struct _Lock > { > _Lock() { if (__threads) _S_node_allocator_lock._M_acquire_lock(); } > ~_Lock() { if (__threads) _S_node_allocator_lock._M_release_lock(); } > } __attribute__ ((__unused__)); > friend struct _Lock; > > static _Atomic_word _S_force_new; > > public: > > static void* > allocate(size_t __n) > { > void* __ret = 0; > > > > > if (_S_force_new == 0) > { > if (getenv("GLIBCPP_FORCE_NEW")) > __atomic_add(&_S_force_new, 1); > else > __atomic_add(&_S_force_new, -1); > } > > if ((__n > (size_t) _MAX_BYTES) || (_S_force_new > 0)) > __ret = __new_alloc::allocate(__n); > else > { > _Obj* volatile* __my_free_list = _S_free_list > + _S_freelist_index(__n); > > > > _Lock __lock_instance; > _Obj* __restrict__ __result = *__my_free_list; > if (__builtin_expect(__result == 0, 0)) > __ret = _S_refill(_S_round_up(__n)); > else > { > *__my_free_list = __result -> _M_free_list_link; > __ret = __result; > } > if (__builtin_expect(__ret == 0, 0)) > __throw_bad_alloc(); > } > return __ret; > } > > > static void > deallocate(void* __p, size_t __n) > { > if ((__n > (size_t) _MAX_BYTES) || (_S_force_new > 0)) > __new_alloc::deallocate(__p, __n); > else > { > _Obj* volatile* __my_free_list = _S_free_list > + _S_freelist_index(__n); > _Obj* __q = (_Obj*)__p; > > > > > _Lock __lock_instance; > __q -> _M_free_list_link = *__my_free_list; > *__my_free_list = __q; > } > } > > static void* > reallocate(void* __p, size_t __old_sz, size_t __new_sz); > }; > > template<bool __threads, int __inst> _Atomic_word > __default_alloc_template<__threads, __inst>::_S_force_new = 0; > > template<bool __threads, int __inst> > inline bool > operator==(const __default_alloc_template<__threads,__inst>&, > const __default_alloc_template<__threads,__inst>&) > { return true; } > > template<bool __threads, int __inst> > inline bool > operator!=(const __default_alloc_template<__threads,__inst>&, > const __default_alloc_template<__threads,__inst>&) > { return false; } > > > > > > template<bool __threads, int __inst> > char* > __default_alloc_template<__threads, __inst>:: > _S_chunk_alloc(size_t __size, int& __nobjs) > { > char* __result; > size_t __total_bytes = __size * __nobjs; > size_t __bytes_left = _S_end_free - _S_start_free; > > if (__bytes_left >= __total_bytes) > { > __result = _S_start_free; > _S_start_free += __total_bytes; > return __result ; > } > else if (__bytes_left >= __size) > { > __nobjs = (int)(__bytes_left/__size); > __total_bytes = __size * __nobjs; > __result = _S_start_free; > _S_start_free += __total_bytes; > return __result; > } > else > { > size_t __bytes_to_get = > 2 * __total_bytes + _S_round_up(_S_heap_size >> 4); > > if (__bytes_left > 0) > { > _Obj* volatile* __my_free_list = > _S_free_list + _S_freelist_index(__bytes_left); > > ((_Obj*)(void*)_S_start_free) -> _M_free_list_link = *__my_free_list; > *__my_free_list = (_Obj*)(void*)_S_start_free; > } > _S_start_free = (char*) __new_alloc::allocate(__bytes_to_get); > if (_S_start_free == 0) > { > size_t __i; > _Obj* volatile* __my_free_list; > _Obj* __p; > > > > __i = __size; > for (; __i <= (size_t) _MAX_BYTES; __i += (size_t) _ALIGN) > { > __my_free_list = _S_free_list + _S_freelist_index(__i); > __p = *__my_free_list; > if (__p != 0) > { > *__my_free_list = __p -> _M_free_list_link; > _S_start_free = (char*)__p; > _S_end_free = _S_start_free + __i; > return _S_chunk_alloc(__size, __nobjs); > > > } > } > _S_end_free = 0; > _S_start_free = (char*)__new_alloc::allocate(__bytes_to_get); > > > } > _S_heap_size += __bytes_to_get; > _S_end_free = _S_start_free + __bytes_to_get; > return _S_chunk_alloc(__size, __nobjs); > } > } > > > > > > template<bool __threads, int __inst> > void* > __default_alloc_template<__threads, __inst>::_S_refill(size_t __n) > { > int __nobjs = 20; > char* __chunk = _S_chunk_alloc(__n, __nobjs); > _Obj* volatile* __my_free_list; > _Obj* __result; > _Obj* __current_obj; > _Obj* __next_obj; > int __i; > > if (1 == __nobjs) > return __chunk; > __my_free_list = _S_free_list + _S_freelist_index(__n); > > > __result = (_Obj*)(void*)__chunk; > *__my_free_list = __next_obj = (_Obj*)(void*)(__chunk + __n); > for (__i = 1; ; __i++) > { > __current_obj = __next_obj; > __next_obj = (_Obj*)(void*)((char*)__next_obj + __n); > if (__nobjs - 1 == __i) > { > __current_obj -> _M_free_list_link = 0; > break; > } > else > __current_obj -> _M_free_list_link = __next_obj; > } > return __result; > } > > > template<bool threads, int inst> > void* > __default_alloc_template<threads, inst>:: > reallocate(void* __p, size_t __old_sz, size_t __new_sz) > { > void* __result; > size_t __copy_sz; > > if (__old_sz > (size_t) _MAX_BYTES && __new_sz > (size_t) _MAX_BYTES) > return(realloc(__p, __new_sz)); > if (_S_round_up(__old_sz) == _S_round_up(__new_sz)) > return(__p); > __result = allocate(__new_sz); > __copy_sz = __new_sz > __old_sz? __old_sz : __new_sz; > memcpy(__result, __p, __copy_sz); > deallocate(__p, __old_sz); > return __result; > } > > template<bool __threads, int __inst> > _STL_mutex_lock > __default_alloc_template<__threads,__inst>::_S_node_allocator_lock > = { {0, 0, 0, PTHREAD_MUTEX_TIMED_NP, { 0, 0 }} }; > > template<bool __threads, int __inst> > char* __default_alloc_template<__threads,__inst>::_S_start_free = 0; > > template<bool __threads, int __inst> > char* __default_alloc_template<__threads,__inst>::_S_end_free = 0; > > template<bool __threads, int __inst> > size_t __default_alloc_template<__threads,__inst>::_S_heap_size = 0; > > template<bool __threads, int __inst> > typename __default_alloc_template<__threads,__inst>::_Obj* volatile > __default_alloc_template<__threads,__inst>::_S_free_list[_NFREELISTS]; > > typedef __default_alloc_template<true,0> __alloc; > typedef __default_alloc_template<false,0> __single_client_alloc; ># 635 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<typename _Tp> > class allocator > { > typedef __alloc _Alloc; > public: > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef const _Tp* const_pointer; > typedef _Tp& reference; > typedef const _Tp& const_reference; > typedef _Tp value_type; > > template<typename _Tp1> > struct rebind > { typedef allocator<_Tp1> other; }; > > allocator() throw() {} > allocator(const allocator&) throw() {} > template<typename _Tp1> > allocator(const allocator<_Tp1>&) throw() {} > ~allocator() throw() {} > > pointer > address(reference __x) const { return &__x; } > > const_pointer > address(const_reference __x) const { return &__x; } > > > > _Tp* > allocate(size_type __n, const void* = 0) > { > _Tp* __ret = 0; > if (__n) > { > if (__n <= this->max_size()) > __ret = static_cast<_Tp*>(_Alloc::allocate(__n * sizeof(_Tp))); > else > __throw_bad_alloc(); > } > return __ret; > } > > > void > deallocate(pointer __p, size_type __n) > { _Alloc::deallocate(__p, __n * sizeof(_Tp)); } > > size_type > max_size() const throw() { return size_t(-1) / sizeof(_Tp); } > > void construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); } > void destroy(pointer __p) { __p->~_Tp(); } > }; > > template<> > class allocator<void> > { > public: > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef void* pointer; > typedef const void* const_pointer; > typedef void value_type; > > template<typename _Tp1> > struct rebind > { typedef allocator<_Tp1> other; }; > }; > > > template<typename _T1, typename _T2> > inline bool > operator==(const allocator<_T1>&, const allocator<_T2>&) > { return true; } > > template<typename _T1, typename _T2> > inline bool > operator!=(const allocator<_T1>&, const allocator<_T2>&) > { return false; } ># 731 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<typename _Tp, typename _Alloc> > struct __allocator > { > _Alloc __underlying_alloc; > > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef const _Tp* const_pointer; > typedef _Tp& reference; > typedef const _Tp& const_reference; > typedef _Tp value_type; > > template<typename _Tp1> > struct rebind > { typedef __allocator<_Tp1, _Alloc> other; }; > > __allocator() throw() {} > __allocator(const __allocator& __a) throw() > : __underlying_alloc(__a.__underlying_alloc) {} > > template<typename _Tp1> > __allocator(const __allocator<_Tp1, _Alloc>& __a) throw() > : __underlying_alloc(__a.__underlying_alloc) {} > > ~__allocator() throw() {} > > pointer > address(reference __x) const { return &__x; } > > const_pointer > address(const_reference __x) const { return &__x; } > > > > _Tp* > allocate(size_type __n, const void* = 0) > { > _Tp* __ret = 0; > if (__n) > __ret = static_cast<_Tp*>(_Alloc::allocate(__n * sizeof(_Tp))); > return __ret; > } > > > void > deallocate(pointer __p, size_type __n) > { __underlying_alloc.deallocate(__p, __n * sizeof(_Tp)); } > > size_type > max_size() const throw() { return size_t(-1) / sizeof(_Tp); } > > void > construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); } > > void > destroy(pointer __p) { __p->~_Tp(); } > }; > > template<typename _Alloc> > struct __allocator<void, _Alloc> > { > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef void* pointer; > typedef const void* const_pointer; > typedef void value_type; > > template<typename _Tp1> > struct rebind > { typedef __allocator<_Tp1, _Alloc> other; }; > }; > > template<typename _Tp, typename _Alloc> > inline bool > operator==(const __allocator<_Tp,_Alloc>& __a1, > const __allocator<_Tp,_Alloc>& __a2) > { return __a1.__underlying_alloc == __a2.__underlying_alloc; } > > template<typename _Tp, typename _Alloc> > inline bool > operator!=(const __allocator<_Tp, _Alloc>& __a1, > const __allocator<_Tp, _Alloc>& __a2) > { return __a1.__underlying_alloc != __a2.__underlying_alloc; } > > > > > > > > template<int inst> > inline bool > operator==(const __malloc_alloc_template<inst>&, > const __malloc_alloc_template<inst>&) > { return true; } > > template<int __inst> > inline bool > operator!=(const __malloc_alloc_template<__inst>&, > const __malloc_alloc_template<__inst>&) > { return false; } > > template<typename _Alloc> > inline bool > operator==(const __debug_alloc<_Alloc>&, const __debug_alloc<_Alloc>&) > { return true; } > > template<typename _Alloc> > inline bool > operator!=(const __debug_alloc<_Alloc>&, const __debug_alloc<_Alloc>&) > { return false; } ># 884 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_alloc.h" 3 > template<typename _Tp, typename _Allocator> > struct _Alloc_traits > { > static const bool _S_instanceless = false; > typedef typename _Allocator::template rebind<_Tp>::other allocator_type; > }; > > template<typename _Tp, typename _Allocator> > const bool _Alloc_traits<_Tp, _Allocator>::_S_instanceless; > > > template<typename _Tp, typename _Tp1> > struct _Alloc_traits<_Tp, allocator<_Tp1> > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __alloc> _Alloc_type; > typedef allocator<_Tp> allocator_type; > }; > > > > > template<typename _Tp, int __inst> > struct _Alloc_traits<_Tp, __malloc_alloc_template<__inst> > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __malloc_alloc_template<__inst> > _Alloc_type; > typedef __allocator<_Tp, __malloc_alloc_template<__inst> > allocator_type; > }; > > template<typename _Tp, bool __threads, int __inst> > struct _Alloc_traits<_Tp, __default_alloc_template<__threads, __inst> > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __default_alloc_template<__threads, __inst> > > _Alloc_type; > typedef __allocator<_Tp, __default_alloc_template<__threads, __inst> > > allocator_type; > }; > > template<typename _Tp, typename _Alloc> > struct _Alloc_traits<_Tp, __debug_alloc<_Alloc> > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __debug_alloc<_Alloc> > _Alloc_type; > typedef __allocator<_Tp, __debug_alloc<_Alloc> > allocator_type; > }; > > > > > > template<typename _Tp, typename _Tp1, int __inst> > struct _Alloc_traits<_Tp, > __allocator<_Tp1, __malloc_alloc_template<__inst> > > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __malloc_alloc_template<__inst> > _Alloc_type; > typedef __allocator<_Tp, __malloc_alloc_template<__inst> > allocator_type; > }; > > template<typename _Tp, typename _Tp1, bool __thr, int __inst> > struct _Alloc_traits<_Tp, __allocator<_Tp1, __default_alloc_template<__thr, __inst> > > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __default_alloc_template<__thr,__inst> > > _Alloc_type; > typedef __allocator<_Tp, __default_alloc_template<__thr,__inst> > > allocator_type; > }; > > template<typename _Tp, typename _Tp1, typename _Alloc> > struct _Alloc_traits<_Tp, __allocator<_Tp1, __debug_alloc<_Alloc> > > > { > static const bool _S_instanceless = true; > typedef __simple_alloc<_Tp, __debug_alloc<_Alloc> > _Alloc_type; > typedef __allocator<_Tp, __debug_alloc<_Alloc> > allocator_type; > }; > > > > > > > extern template class allocator<char>; > extern template class allocator<wchar_t>; > extern template class __default_alloc_template<true,0>; > >} ># 56 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_construct.h" 1 3 ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_construct.h" 3 >namespace std >{ > > > > > > > template <class _T1, class _T2> > inline void > _Construct(_T1* __p, const _T2& __value) > { new (static_cast<void*>(__p)) _T1(__value); } > > > > > > > > template <class _T1> > inline void > _Construct(_T1* __p) > { new (static_cast<void*>(__p)) _T1(); } ># 98 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_construct.h" 3 > template <class _ForwardIterator> > inline void > __destroy_aux(_ForwardIterator __first, _ForwardIterator __last, __false_type) > { for ( ; __first != __last; ++__first) _Destroy(&*__first); } ># 112 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_construct.h" 3 > template <class _ForwardIterator> > inline void > __destroy_aux(_ForwardIterator, _ForwardIterator, __true_type) > { } > > > > > > > template <class _Tp> > inline void > _Destroy(_Tp* __pointer) > { __pointer->~_Tp(); } ># 134 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_construct.h" 3 > template <class _ForwardIterator> > inline void > _Destroy(_ForwardIterator __first, _ForwardIterator __last) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _Value_type; > typedef typename __type_traits<_Value_type>::has_trivial_destructor > _Has_trivial_destructor; > > __destroy_aux(__first, __last, _Has_trivial_destructor()); > } >} ># 57 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 2 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 1 3 ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 3 >namespace std >{ > > > > template<typename _InputIter, typename _ForwardIter> > inline _ForwardIter > __uninitialized_copy_aux(_InputIter __first, _InputIter __last, > _ForwardIter __result, > __true_type) > { return copy(__first, __last, __result); } > > template<typename _InputIter, typename _ForwardIter> > _ForwardIter > __uninitialized_copy_aux(_InputIter __first, _InputIter __last, > _ForwardIter __result, > __false_type) > { > _ForwardIter __cur = __result; > try { > for ( ; __first != __last; ++__first, ++__cur) > _Construct(&*__cur, *__first); > return __cur; > } > catch(...) > { > _Destroy(__result, __cur); > throw; > } > } ># 106 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 3 > template<typename _InputIter, typename _ForwardIter> > inline _ForwardIter > uninitialized_copy(_InputIter __first, _InputIter __last, _ForwardIter __result) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename __type_traits<_ValueType>::is_POD_type _Is_POD; > return __uninitialized_copy_aux(__first, __last, __result, _Is_POD()); > } > > inline char* > uninitialized_copy(const char* __first, const char* __last, char* __result) > { > memmove(__result, __first, __last - __first); > return __result + (__last - __first); > } > > inline wchar_t* > uninitialized_copy(const wchar_t* __first, const wchar_t* __last, > wchar_t* __result) > { > memmove(__result, __first, sizeof(wchar_t) * (__last - __first)); > return __result + (__last - __first); > } > > > > template<typename _ForwardIter, typename _Tp> > inline void > __uninitialized_fill_aux(_ForwardIter __first, _ForwardIter __last, > const _Tp& __x, __true_type) > { fill(__first, __last, __x); } > > template<typename _ForwardIter, typename _Tp> > void > __uninitialized_fill_aux(_ForwardIter __first, _ForwardIter __last, > const _Tp& __x, __false_type) > { > _ForwardIter __cur = __first; > try { > for ( ; __cur != __last; ++__cur) > _Construct(&*__cur, __x); > } > catch(...) > { > _Destroy(__first, __cur); > throw; > } > } ># 164 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 3 > template<typename _ForwardIter, typename _Tp> > inline void > uninitialized_fill(_ForwardIter __first, _ForwardIter __last, const _Tp& __x) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename __type_traits<_ValueType>::is_POD_type _Is_POD; > __uninitialized_fill_aux(__first, __last, __x, _Is_POD()); > } > > > > template<typename _ForwardIter, typename _Size, typename _Tp> > inline _ForwardIter > __uninitialized_fill_n_aux(_ForwardIter __first, _Size __n, > const _Tp& __x, __true_type) > { > return fill_n(__first, __n, __x); > } > > template<typename _ForwardIter, typename _Size, typename _Tp> > _ForwardIter > __uninitialized_fill_n_aux(_ForwardIter __first, _Size __n, > const _Tp& __x, __false_type) > { > _ForwardIter __cur = __first; > try { > for ( ; __n > 0; --__n, ++__cur) > _Construct(&*__cur, __x); > return __cur; > } > catch(...) > { > _Destroy(__first, __cur); > throw; > } > } ># 210 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 3 > template<typename _ForwardIter, typename _Size, typename _Tp> > inline _ForwardIter > uninitialized_fill_n(_ForwardIter __first, _Size __n, const _Tp& __x) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename __type_traits<_ValueType>::is_POD_type _Is_POD; > return __uninitialized_fill_n_aux(__first, __n, __x, _Is_POD()); > } ># 227 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_uninitialized.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _ForwardIter> > inline _ForwardIter > __uninitialized_copy_copy(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _ForwardIter __result) > { > _ForwardIter __mid = uninitialized_copy(__first1, __last1, __result); > try { > return uninitialized_copy(__first2, __last2, __mid); > } > catch(...) > { > _Destroy(__result, __mid); > throw; > } > } > > > > > template<typename _ForwardIter, typename _Tp, typename _InputIter> > inline _ForwardIter > __uninitialized_fill_copy(_ForwardIter __result, _ForwardIter __mid, > const _Tp& __x, > _InputIter __first, _InputIter __last) > { > uninitialized_fill(__result, __mid, __x); > try { > return uninitialized_copy(__first, __last, __mid); > } > catch(...) > { > _Destroy(__result, __mid); > throw; > } > } > > > > > template<typename _InputIter, typename _ForwardIter, typename _Tp> > inline void > __uninitialized_copy_fill(_InputIter __first1, _InputIter __last1, > _ForwardIter __first2, _ForwardIter __last2, > const _Tp& __x) > { > _ForwardIter __mid2 = uninitialized_copy(__first1, __last1, __first2); > try { > uninitialized_fill(__mid2, __last2, __x); > } > catch(...) > { > _Destroy(__first2, __mid2); > throw; > } > } > >} ># 59 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_raw_storage_iter.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_raw_storage_iter.h" 3 >namespace std >{ > > > > > template <class _ForwardIterator, class _Tp> > class raw_storage_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _ForwardIterator _M_iter; > > public: > explicit > raw_storage_iterator(_ForwardIterator __x) : _M_iter(__x) {} > > raw_storage_iterator& > operator*() { return *this; } > > raw_storage_iterator& > operator=(const _Tp& __element) > { > _Construct(&*_M_iter, __element); > return *this; > } > > raw_storage_iterator<_ForwardIterator, _Tp>& > operator++() > { > ++_M_iter; > return *this; > } > > raw_storage_iterator<_ForwardIterator, _Tp> > operator++(int) > { > raw_storage_iterator<_ForwardIterator, _Tp> __tmp = *this; > ++_M_iter; > return __tmp; > } > }; >} ># 60 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 2 3 > >namespace std >{ ># 71 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp> > pair<_Tp*, ptrdiff_t> > __get_temporary_buffer(ptrdiff_t __len, _Tp*) > { > if (__len > ptrdiff_t(2147483647 / sizeof(_Tp))) > __len = 2147483647 / sizeof(_Tp); > > while (__len > 0) > { > _Tp* __tmp = (_Tp*) std::malloc((std::size_t)__len * sizeof(_Tp)); > if (__tmp != 0) > return pair<_Tp*, ptrdiff_t>(__tmp, __len); > __len /= 2; > } > return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0); > } ># 103 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp> > inline pair<_Tp*,ptrdiff_t> > get_temporary_buffer(ptrdiff_t __len) > { return __get_temporary_buffer(__len, (_Tp*) 0); } ># 115 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp> > void > return_temporary_buffer(_Tp* __p) > { std::free(__p); } ># 127 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp1> > struct auto_ptr_ref > { > _Tp1* _M_ptr; > > explicit > auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } > }; ># 166 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp> > class auto_ptr > { > private: > _Tp* _M_ptr; > > public: > > typedef _Tp element_type; > > > > > > > > explicit > auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ># 192 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ># 203 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp1> > auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ># 214 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > auto_ptr& > operator=(auto_ptr& __a) throw() > { > reset(__a.release()); > return *this; > } ># 231 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > template<typename _Tp1> > auto_ptr& > operator=(auto_ptr<_Tp1>& __a) throw() > { > reset(__a.release()); > return *this; > } ># 251 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > ~auto_ptr() { delete _M_ptr; } ># 261 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > element_type& > operator*() const throw() { return *_M_ptr; } > > > > > > > > element_type* > operator->() const throw() { return _M_ptr; } ># 283 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > element_type* > get() const throw() { return _M_ptr; } ># 297 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > element_type* > release() throw() > { > element_type* __tmp = _M_ptr; > _M_ptr = 0; > return __tmp; > } ># 312 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > void > reset(element_type* __p = 0) throw() > { > if (__p != _M_ptr) > { > delete _M_ptr; > _M_ptr = __p; > } > } ># 333 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/memory" 3 > auto_ptr(auto_ptr_ref<element_type> __ref) throw() > : _M_ptr(__ref._M_ptr) { } > > auto_ptr& > operator=(auto_ptr_ref<element_type> __ref) throw() > { > if (__ref._M_ptr != this->get()) > { > delete _M_ptr; > _M_ptr = __ref._M_ptr; > } > return *this; > } > > template<typename _Tp1> > operator auto_ptr_ref<_Tp1>() throw() > { return auto_ptr_ref<_Tp1>(this->release()); } > > template<typename _Tp1> > operator auto_ptr<_Tp1>() throw() > { return auto_ptr<_Tp1>(this->release()); } > > }; >} ># 49 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >namespace std >{ ># 101 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Arg, class _Result> >struct unary_function { > typedef _Arg argument_type; > typedef _Result result_type; >}; > > > > >template <class _Arg1, class _Arg2, class _Result> >struct binary_function { > typedef _Arg1 first_argument_type; > typedef _Arg2 second_argument_type; > typedef _Result result_type; >}; ># 127 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Tp> >struct plus : public binary_function<_Tp,_Tp,_Tp> { > _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } >}; > > >template <class _Tp> >struct minus : public binary_function<_Tp,_Tp,_Tp> { > _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } >}; > > >template <class _Tp> >struct multiplies : public binary_function<_Tp,_Tp,_Tp> { > _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } >}; > > >template <class _Tp> >struct divides : public binary_function<_Tp,_Tp,_Tp> { > _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } >}; > > >template <class _Tp> >struct modulus : public binary_function<_Tp,_Tp,_Tp> >{ > _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } >}; > > >template <class _Tp> >struct negate : public unary_function<_Tp,_Tp> >{ > _Tp operator()(const _Tp& __x) const { return -__x; } >}; ># 173 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Tp> >struct equal_to : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } >}; > > >template <class _Tp> >struct not_equal_to : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } >}; > > >template <class _Tp> >struct greater : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } >}; > > >template <class _Tp> >struct less : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } >}; > > >template <class _Tp> >struct greater_equal : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; } >}; > > >template <class _Tp> >struct less_equal : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; } >}; ># 222 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Tp> >struct logical_and : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; } >}; > > >template <class _Tp> >struct logical_or : public binary_function<_Tp,_Tp,bool> >{ > bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; } >}; > > >template <class _Tp> >struct logical_not : public unary_function<_Tp,bool> >{ > bool operator()(const _Tp& __x) const { return !__x; } >}; ># 271 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Predicate> >class unary_negate > : public unary_function<typename _Predicate::argument_type, bool> { >protected: > _Predicate _M_pred; >public: > explicit unary_negate(const _Predicate& __x) : _M_pred(__x) {} > bool operator()(const typename _Predicate::argument_type& __x) const { > return !_M_pred(__x); > } >}; > > >template <class _Predicate> >inline unary_negate<_Predicate> >not1(const _Predicate& __pred) >{ > return unary_negate<_Predicate>(__pred); >} > > >template <class _Predicate> >class binary_negate > : public binary_function<typename _Predicate::first_argument_type, > typename _Predicate::second_argument_type, > bool> { >protected: > _Predicate _M_pred; >public: > explicit binary_negate(const _Predicate& __x) : _M_pred(__x) {} > bool operator()(const typename _Predicate::first_argument_type& __x, > const typename _Predicate::second_argument_type& __y) const > { > return !_M_pred(__x, __y); > } >}; > > >template <class _Predicate> >inline binary_negate<_Predicate> >not2(const _Predicate& __pred) >{ > return binary_negate<_Predicate>(__pred); >} ># 349 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Operation> >class binder1st > : public unary_function<typename _Operation::second_argument_type, > typename _Operation::result_type> { >protected: > _Operation op; > typename _Operation::first_argument_type value; >public: > binder1st(const _Operation& __x, > const typename _Operation::first_argument_type& __y) > : op(__x), value(__y) {} > typename _Operation::result_type > operator()(const typename _Operation::second_argument_type& __x) const { > return op(value, __x); > } > > > typename _Operation::result_type > operator()(typename _Operation::second_argument_type& __x) const { > return op(value, __x); > } > >}; > > >template <class _Operation, class _Tp> >inline binder1st<_Operation> >bind1st(const _Operation& __fn, const _Tp& __x) >{ > typedef typename _Operation::first_argument_type _Arg1_type; > return binder1st<_Operation>(__fn, _Arg1_type(__x)); >} > > >template <class _Operation> >class binder2nd > : public unary_function<typename _Operation::first_argument_type, > typename _Operation::result_type> { >protected: > _Operation op; > typename _Operation::second_argument_type value; >public: > binder2nd(const _Operation& __x, > const typename _Operation::second_argument_type& __y) > : op(__x), value(__y) {} > typename _Operation::result_type > operator()(const typename _Operation::first_argument_type& __x) const { > return op(__x, value); > } > > > typename _Operation::result_type > operator()(typename _Operation::first_argument_type& __x) const { > return op(__x, value); > } > >}; > > >template <class _Operation, class _Tp> >inline binder2nd<_Operation> >bind2nd(const _Operation& __fn, const _Tp& __x) >{ > typedef typename _Operation::second_argument_type _Arg2_type; > return binder2nd<_Operation>(__fn, _Arg2_type(__x)); >} ># 438 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Arg, class _Result> >class pointer_to_unary_function : public unary_function<_Arg, _Result> { >protected: > _Result (*_M_ptr)(_Arg); >public: > pointer_to_unary_function() {} > explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) {} > _Result operator()(_Arg __x) const { return _M_ptr(__x); } >}; > > >template <class _Arg, class _Result> >inline pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__x)(_Arg)) >{ > return pointer_to_unary_function<_Arg, _Result>(__x); >} > > >template <class _Arg1, class _Arg2, class _Result> >class pointer_to_binary_function : > public binary_function<_Arg1,_Arg2,_Result> { >protected: > _Result (*_M_ptr)(_Arg1, _Arg2); >public: > pointer_to_binary_function() {} > explicit pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2)) > : _M_ptr(__x) {} > _Result operator()(_Arg1 __x, _Arg2 __y) const { > return _M_ptr(__x, __y); > } >}; > > >template <class _Arg1, class _Arg2, class _Result> >inline pointer_to_binary_function<_Arg1,_Arg2,_Result> >ptr_fun(_Result (*__x)(_Arg1, _Arg2)) { > return pointer_to_binary_function<_Arg1,_Arg2,_Result>(__x); >} > > >template <class _Tp> >struct _Identity : public unary_function<_Tp,_Tp> { > _Tp& operator()(_Tp& __x) const { return __x; } > const _Tp& operator()(const _Tp& __x) const { return __x; } >}; > >template <class _Pair> >struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> { > typename _Pair::first_type& operator()(_Pair& __x) const { > return __x.first; > } > const typename _Pair::first_type& operator()(const _Pair& __x) const { > return __x.first; > } >}; > >template <class _Pair> >struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> >{ > typename _Pair::second_type& operator()(_Pair& __x) const { > return __x.second; > } > const typename _Pair::second_type& operator()(const _Pair& __x) const { > return __x.second; > } >}; ># 528 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_function.h" 3 >template <class _Ret, class _Tp> >class mem_fun_t : public unary_function<_Tp*,_Ret> { >public: > explicit mem_fun_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) {} > _Ret operator()(_Tp* __p) const { return (__p->*_M_f)(); } >private: > _Ret (_Tp::*_M_f)(); >}; > > >template <class _Ret, class _Tp> >class const_mem_fun_t : public unary_function<const _Tp*,_Ret> { >public: > explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) {} > _Ret operator()(const _Tp* __p) const { return (__p->*_M_f)(); } >private: > _Ret (_Tp::*_M_f)() const; >}; > > >template <class _Ret, class _Tp> >class mem_fun_ref_t : public unary_function<_Tp,_Ret> { >public: > explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) {} > _Ret operator()(_Tp& __r) const { return (__r.*_M_f)(); } >private: > _Ret (_Tp::*_M_f)(); >}; > > >template <class _Ret, class _Tp> >class const_mem_fun_ref_t : public unary_function<_Tp,_Ret> { >public: > explicit const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) {} > _Ret operator()(const _Tp& __r) const { return (__r.*_M_f)(); } >private: > _Ret (_Tp::*_M_f)() const; >}; > > >template <class _Ret, class _Tp, class _Arg> >class mem_fun1_t : public binary_function<_Tp*,_Arg,_Ret> { >public: > explicit mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) {} > _Ret operator()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } >private: > _Ret (_Tp::*_M_f)(_Arg); >}; > > >template <class _Ret, class _Tp, class _Arg> >class const_mem_fun1_t : public binary_function<const _Tp*,_Arg,_Ret> { >public: > explicit const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {} > _Ret operator()(const _Tp* __p, _Arg __x) const > { return (__p->*_M_f)(__x); } >private: > _Ret (_Tp::*_M_f)(_Arg) const; >}; > > >template <class _Ret, class _Tp, class _Arg> >class mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> { >public: > explicit mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) {} > _Ret operator()(_Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } >private: > _Ret (_Tp::*_M_f)(_Arg); >}; > > >template <class _Ret, class _Tp, class _Arg> >class const_mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> { >public: > explicit const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {} > _Ret operator()(const _Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } >private: > _Ret (_Tp::*_M_f)(_Arg) const; >}; > > >template <class _Tp> >class mem_fun_t<void, _Tp> : public unary_function<_Tp*,void> { >public: > explicit mem_fun_t(void (_Tp::*__pf)()) : _M_f(__pf) {} > void operator()(_Tp* __p) const { (__p->*_M_f)(); } >private: > void (_Tp::*_M_f)(); >}; > > >template <class _Tp> >class const_mem_fun_t<void, _Tp> : public unary_function<const _Tp*,void> { >public: > explicit const_mem_fun_t(void (_Tp::*__pf)() const) : _M_f(__pf) {} > void operator()(const _Tp* __p) const { (__p->*_M_f)(); } >private: > void (_Tp::*_M_f)() const; >}; > > >template <class _Tp> >class mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> { >public: > explicit mem_fun_ref_t(void (_Tp::*__pf)()) : _M_f(__pf) {} > void operator()(_Tp& __r) const { (__r.*_M_f)(); } >private: > void (_Tp::*_M_f)(); >}; > > >template <class _Tp> >class const_mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> { >public: > explicit const_mem_fun_ref_t(void (_Tp::*__pf)() const) : _M_f(__pf) {} > void operator()(const _Tp& __r) const { (__r.*_M_f)(); } >private: > void (_Tp::*_M_f)() const; >}; > > >template <class _Tp, class _Arg> >class mem_fun1_t<void, _Tp, _Arg> : public binary_function<_Tp*,_Arg,void> { >public: > explicit mem_fun1_t(void (_Tp::*__pf)(_Arg)) : _M_f(__pf) {} > void operator()(_Tp* __p, _Arg __x) const { (__p->*_M_f)(__x); } >private: > void (_Tp::*_M_f)(_Arg); >}; > > >template <class _Tp, class _Arg> >class const_mem_fun1_t<void, _Tp, _Arg> > : public binary_function<const _Tp*,_Arg,void> { >public: > explicit const_mem_fun1_t(void (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {} > void operator()(const _Tp* __p, _Arg __x) const { (__p->*_M_f)(__x); } >private: > void (_Tp::*_M_f)(_Arg) const; >}; > > >template <class _Tp, class _Arg> >class mem_fun1_ref_t<void, _Tp, _Arg> > : public binary_function<_Tp,_Arg,void> { >public: > explicit mem_fun1_ref_t(void (_Tp::*__pf)(_Arg)) : _M_f(__pf) {} > void operator()(_Tp& __r, _Arg __x) const { (__r.*_M_f)(__x); } >private: > void (_Tp::*_M_f)(_Arg); >}; > > >template <class _Tp, class _Arg> >class const_mem_fun1_ref_t<void, _Tp, _Arg> > : public binary_function<_Tp,_Arg,void> { >public: > explicit const_mem_fun1_ref_t(void (_Tp::*__pf)(_Arg) const) : _M_f(__pf) {} > void operator()(const _Tp& __r, _Arg __x) const { (__r.*_M_f)(__x); } >private: > void (_Tp::*_M_f)(_Arg) const; >}; > > > > > >template <class _Ret, class _Tp> >inline mem_fun_t<_Ret,_Tp> mem_fun(_Ret (_Tp::*__f)()) > { return mem_fun_t<_Ret,_Tp>(__f); } > >template <class _Ret, class _Tp> >inline const_mem_fun_t<_Ret,_Tp> mem_fun(_Ret (_Tp::*__f)() const) > { return const_mem_fun_t<_Ret,_Tp>(__f); } > >template <class _Ret, class _Tp> >inline mem_fun_ref_t<_Ret,_Tp> mem_fun_ref(_Ret (_Tp::*__f)()) > { return mem_fun_ref_t<_Ret,_Tp>(__f); } > >template <class _Ret, class _Tp> >inline const_mem_fun_ref_t<_Ret,_Tp> mem_fun_ref(_Ret (_Tp::*__f)() const) > { return const_mem_fun_ref_t<_Ret,_Tp>(__f); } > >template <class _Ret, class _Tp, class _Arg> >inline mem_fun1_t<_Ret,_Tp,_Arg> mem_fun(_Ret (_Tp::*__f)(_Arg)) > { return mem_fun1_t<_Ret,_Tp,_Arg>(__f); } > >template <class _Ret, class _Tp, class _Arg> >inline const_mem_fun1_t<_Ret,_Tp,_Arg> mem_fun(_Ret (_Tp::*__f)(_Arg) const) > { return const_mem_fun1_t<_Ret,_Tp,_Arg>(__f); } > >template <class _Ret, class _Tp, class _Arg> >inline mem_fun1_ref_t<_Ret,_Tp,_Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg)) > { return mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); } > >template <class _Ret, class _Tp, class _Arg> >inline const_mem_fun1_ref_t<_Ret,_Tp,_Arg> >mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) > { return const_mem_fun1_ref_t<_Ret,_Tp,_Arg>(__f); } > > > >} ># 53 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 1 3 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 3 ># 44 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 3 > > > >namespace std >{ ># 108 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > class basic_string > { > > public: > typedef _Traits traits_type; > typedef typename _Traits::char_type value_type; > typedef _Alloc allocator_type; > typedef typename _Alloc::size_type size_type; > typedef typename _Alloc::difference_type difference_type; > typedef typename _Alloc::reference reference; > typedef typename _Alloc::const_reference const_reference; > typedef typename _Alloc::pointer pointer; > typedef typename _Alloc::const_pointer const_pointer; > typedef __gnu_cxx::__normal_iterator<pointer, basic_string> iterator; > typedef __gnu_cxx::__normal_iterator<const_pointer, basic_string> > const_iterator; > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > > private: ># 143 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 3 > struct _Rep > { > > typedef typename _Alloc::template rebind<char>::other _Raw_bytes_alloc; ># 161 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.h" 3 > static const size_type _S_max_size; > static const _CharT _S_terminal; > > size_type _M_length; > size_type _M_capacity; > _Atomic_word _M_references; > > bool > _M_is_leaked() const > { return _M_references < 0; } > > bool > _M_is_shared() const > { return _M_references > 0; } > > void > _M_set_leaked() > { _M_references = -1; } > > void > _M_set_sharable() > { _M_references = 0; } > > _CharT* > _M_refdata() throw() > { return reinterpret_cast<_CharT*>(this + 1); } > > _CharT& > operator[](size_t __s) throw() > { return _M_refdata() [__s]; } > > _CharT* > _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2) > { > return (!_M_is_leaked() && __alloc1 == __alloc2) > ? _M_refcopy() : _M_clone(__alloc1); > } > > > static _Rep* > _S_create(size_t, const _Alloc&); > > void > _M_dispose(const _Alloc& __a) > { > if (__exchange_and_add(&_M_references, -1) <= 0) > _M_destroy(__a); > } > > void > _M_destroy(const _Alloc&) throw(); > > _CharT* > _M_refcopy() throw() > { > __atomic_add(&_M_references, 1); > return _M_refdata(); > } > > _CharT* > _M_clone(const _Alloc&, size_type __res = 0); > }; > > > struct _Alloc_hider : _Alloc > { > _Alloc_hider(_CharT* __dat, const _Alloc& __a) > : _Alloc(__a), _M_p(__dat) { } > > _CharT* _M_p; > }; > > public: > > > > static const size_type npos = static_cast<size_type>(-1); > > private: > > mutable _Alloc_hider _M_dataplus; > > > > static size_type _S_empty_rep_storage[(sizeof(_Rep) + sizeof(_CharT) + sizeof(size_type) - 1)/sizeof(size_type)]; > > _CharT* > _M_data() const > { return _M_dataplus._M_p; } > > _CharT* > _M_data(_CharT* __p) > { return (_M_dataplus._M_p = __p); } > > _Rep* > _M_rep() const > { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } > > > > iterator > _M_ibegin() const { return iterator(_M_data()); } > > iterator > _M_iend() const { return iterator(_M_data() + this->size()); } > > void > _M_leak() > { > if (!_M_rep()->_M_is_leaked()) > _M_leak_hard(); > } > > iterator > _M_check(size_type __pos) const > { > if (__pos > this->size()) > __throw_out_of_range("basic_string::_M_check"); > return _M_ibegin() + __pos; > } > > > iterator > _M_fold(size_type __pos, size_type __off) const > { > bool __testoff = __off < this->size() - __pos; > size_type __newoff = __testoff ? __off : this->size() - __pos; > return (_M_ibegin() + __pos + __newoff); > } > > > > template<class _Iterator> > static void > _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2) > { > for (; __k1 != __k2; ++__k1, ++__p) > traits_type::assign(*__p, *__k1); > } > > static void > _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2) > { _S_copy_chars(__p, __k1.base(), __k2.base()); } > > static void > _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2) > { _S_copy_chars(__p, __k1.base(), __k2.base()); } > > static void > _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2) > { traits_type::copy(__p, __k1, __k2 - __k1); } > > static void > _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2) > { traits_type::copy(__p, __k1, __k2 - __k1); } > > void > _M_mutate(size_type __pos, size_type __len1, size_type __len2); > > void > _M_leak_hard(); > > static _Rep& > _S_empty_rep() > { return *reinterpret_cast<_Rep*>(&_S_empty_rep_storage); } > > public: > > > > > inline > basic_string(); > > explicit > basic_string(const _Alloc& __a); > > > basic_string(const basic_string& __str); > basic_string(const basic_string& __str, size_type __pos, > size_type __n = npos); > basic_string(const basic_string& __str, size_type __pos, > size_type __n, const _Alloc& __a); > > basic_string(const _CharT* __s, size_type __n, > const _Alloc& __a = _Alloc()); > basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()); > basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()); > > template<class _InputIterator> > basic_string(_InputIterator __beg, _InputIterator __end, > const _Alloc& __a = _Alloc()); > > ~basic_string() > { _M_rep()->_M_dispose(this->get_allocator()); } > > basic_string& > operator=(const basic_string& __str) { return this->assign(__str); } > > basic_string& > operator=(const _CharT* __s) { return this->assign(__s); } > > basic_string& > operator=(_CharT __c) { return this->assign(1, __c); } > > > iterator > begin() > { > _M_leak(); > return iterator(_M_data()); > } > > const_iterator > begin() const > { return const_iterator(_M_data()); } > > iterator > end() > { > _M_leak(); > return iterator(_M_data() + this->size()); > } > > const_iterator > end() const > { return const_iterator(_M_data() + this->size()); } > > reverse_iterator > rbegin() > { return reverse_iterator(this->end()); } > > const_reverse_iterator > rbegin() const > { return const_reverse_iterator(this->end()); } > > reverse_iterator > rend() > { return reverse_iterator(this->begin()); } > > const_reverse_iterator > rend() const > { return const_reverse_iterator(this->begin()); } > > public: > > size_type > size() const { return _M_rep()->_M_length; } > > size_type > length() const { return _M_rep()->_M_length; } > > size_type > max_size() const { return _Rep::_S_max_size; } > > void > resize(size_type __n, _CharT __c); > > void > resize(size_type __n) { this->resize(__n, _CharT()); } > > size_type > capacity() const { return _M_rep()->_M_capacity; } > > void > reserve(size_type __res_arg = 0); > > void > clear() { _M_mutate(0, this->size(), 0); } > > bool > empty() const { return this->size() == 0; } > > > const_reference > operator[] (size_type __pos) const > { return _M_data()[__pos]; } > > reference > operator[](size_type __pos) > { > _M_leak(); > return _M_data()[__pos]; > } > > const_reference > at(size_type __n) const > { > if (__n >= this->size()) > __throw_out_of_range("basic_string::at"); > return _M_data()[__n]; > } > > reference > at(size_type __n) > { > if (__n >= size()) > __throw_out_of_range("basic_string::at"); > _M_leak(); > return _M_data()[__n]; > } > > > basic_string& > operator+=(const basic_string& __str) { return this->append(__str); } > > basic_string& > operator+=(const _CharT* __s) { return this->append(__s); } > > basic_string& > operator+=(_CharT __c) { return this->append(size_type(1), __c); } > > basic_string& > append(const basic_string& __str); > > basic_string& > append(const basic_string& __str, size_type __pos, size_type __n); > > basic_string& > append(const _CharT* __s, size_type __n); > > basic_string& > append(const _CharT* __s) > { return this->append(__s, traits_type::length(__s)); } > > basic_string& > append(size_type __n, _CharT __c); > > template<class _InputIterator> > basic_string& > append(_InputIterator __first, _InputIterator __last) > { return this->replace(_M_iend(), _M_iend(), __first, __last); } > > void > push_back(_CharT __c) > { this->replace(_M_iend(), _M_iend(), 1, __c); } > > basic_string& > assign(const basic_string& __str); > > basic_string& > assign(const basic_string& __str, size_type __pos, size_type __n); > > basic_string& > assign(const _CharT* __s, size_type __n); > > basic_string& > assign(const _CharT* __s) > { return this->assign(__s, traits_type::length(__s)); } > > basic_string& > assign(size_type __n, _CharT __c) > { return this->replace(_M_ibegin(), _M_iend(), __n, __c); } > > template<class _InputIterator> > basic_string& > assign(_InputIterator __first, _InputIterator __last) > { return this->replace(_M_ibegin(), _M_iend(), __first, __last); } > > void > insert(iterator __p, size_type __n, _CharT __c) > { this->replace(__p, __p, __n, __c); } > > template<class _InputIterator> > void insert(iterator __p, _InputIterator __beg, _InputIterator __end) > { this->replace(__p, __p, __beg, __end); } > > basic_string& > insert(size_type __pos1, const basic_string& __str) > { return this->insert(__pos1, __str, 0, __str.size()); } > > basic_string& > insert(size_type __pos1, const basic_string& __str, > size_type __pos2, size_type __n); > > basic_string& > insert(size_type __pos, const _CharT* __s, size_type __n); > > basic_string& > insert(size_type __pos, const _CharT* __s) > { return this->insert(__pos, __s, traits_type::length(__s)); } > > basic_string& > insert(size_type __pos, size_type __n, _CharT __c) > { > this->insert(_M_check(__pos), __n, __c); > return *this; > } > > iterator > insert(iterator __p, _CharT __c = _CharT()) > { > size_type __pos = __p - _M_ibegin(); > this->insert(_M_check(__pos), size_type(1), __c); > _M_rep()->_M_set_leaked(); > return this->_M_ibegin() + __pos; > } > > basic_string& > erase(size_type __pos = 0, size_type __n = npos) > { > return this->replace(_M_check(__pos), _M_fold(__pos, __n), > _M_data(), _M_data()); > } > > iterator > erase(iterator __position) > { > size_type __i = __position - _M_ibegin(); > this->replace(__position, __position + 1, _M_data(), _M_data()); > _M_rep()->_M_set_leaked(); > return _M_ibegin() + __i; > } > > iterator > erase(iterator __first, iterator __last) > { > size_type __i = __first - _M_ibegin(); > this->replace(__first, __last, _M_data(), _M_data()); > _M_rep()->_M_set_leaked(); > return _M_ibegin() + __i; > } > > basic_string& > replace(size_type __pos, size_type __n, const basic_string& __str) > { return this->replace(__pos, __n, __str._M_data(), __str.size()); } > > basic_string& > replace(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2); > > basic_string& > replace(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2); > > basic_string& > replace(size_type __pos, size_type __n1, const _CharT* __s) > { return this->replace(__pos, __n1, __s, traits_type::length(__s)); } > > basic_string& > replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) > { return this->replace(_M_check(__pos), _M_fold(__pos, __n1), __n2, __c); } > > basic_string& > replace(iterator __i1, iterator __i2, const basic_string& __str) > { return this->replace(__i1, __i2, __str._M_data(), __str.size()); } > > basic_string& > replace(iterator __i1, iterator __i2, > const _CharT* __s, size_type __n) > { return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __s, __n); } > > basic_string& > replace(iterator __i1, iterator __i2, const _CharT* __s) > { return this->replace(__i1, __i2, __s, traits_type::length(__s)); } > > basic_string& > replace(iterator __i1, iterator __i2, size_type __n, _CharT __c); > > template<class _InputIterator> > basic_string& > replace(iterator __i1, iterator __i2, > _InputIterator __k1, _InputIterator __k2) > { return _M_replace(__i1, __i2, __k1, __k2, > typename iterator_traits<_InputIterator>::iterator_category()); } > > > > basic_string& > replace(iterator __i1, iterator __i2, _CharT* __k1, _CharT* __k2) > { return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1, __k2 - __k1); } > > basic_string& > replace(iterator __i1, iterator __i2, const _CharT* __k1, const _CharT* __k2) > { return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1, __k2 - __k1); } > > basic_string& > replace(iterator __i1, iterator __i2, iterator __k1, iterator __k2) > { return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1.base(), __k2 - __k1); > } > > basic_string& > replace(iterator __i1, iterator __i2, const_iterator __k1, const_iterator __k2) > { return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1.base(), __k2 - __k1); > } > > private: > template<class _InputIterator> > basic_string& > _M_replace(iterator __i1, iterator __i2, _InputIterator __k1, > _InputIterator __k2, input_iterator_tag); > > template<class _ForwardIterator> > basic_string& > _M_replace_safe(iterator __i1, iterator __i2, _ForwardIterator __k1, > _ForwardIterator __k2); > > > > template<class _InIter> > static _CharT* > _S_construct_aux(_InIter __beg, _InIter __end, const _Alloc& __a, > __false_type) > { > typedef typename iterator_traits<_InIter>::iterator_category _Tag; > return _S_construct(__beg, __end, __a, _Tag()); > } > > template<class _InIter> > static _CharT* > _S_construct_aux(_InIter __beg, _InIter __end, const _Alloc& __a, > __true_type) > { > return _S_construct(static_cast<size_type>(__beg), > static_cast<value_type>(__end), __a); > } > > template<class _InIter> > static _CharT* > _S_construct(_InIter __beg, _InIter __end, const _Alloc& __a) > { > typedef typename _Is_integer<_InIter>::_Integral _Integral; > return _S_construct_aux(__beg, __end, __a, _Integral()); > } > > > template<class _InIter> > static _CharT* > _S_construct(_InIter __beg, _InIter __end, const _Alloc& __a, > input_iterator_tag); > > > > template<class _FwdIter> > static _CharT* > _S_construct(_FwdIter __beg, _FwdIter __end, const _Alloc& __a, > forward_iterator_tag); > > static _CharT* > _S_construct(size_type __req, _CharT __c, const _Alloc& __a); > > public: > > size_type > copy(_CharT* __s, size_type __n, size_type __pos = 0) const; > > void > swap(basic_string<_CharT, _Traits, _Alloc>& __s); > > > const _CharT* > c_str() const > { > > size_type __n = this->size(); > traits_type::assign(_M_data()[__n], _Rep::_S_terminal); > return _M_data(); > } > > const _CharT* > data() const { return _M_data(); } > > allocator_type > get_allocator() const { return _M_dataplus; } > > size_type > find(const _CharT* __s, size_type __pos, size_type __n) const; > > size_type > find(const basic_string& __str, size_type __pos = 0) const > { return this->find(__str.data(), __pos, __str.size()); } > > size_type > find(const _CharT* __s, size_type __pos = 0) const > { return this->find(__s, __pos, traits_type::length(__s)); } > > size_type > find(_CharT __c, size_type __pos = 0) const; > > size_type > rfind(const basic_string& __str, size_type __pos = npos) const > { return this->rfind(__str.data(), __pos, __str.size()); } > > size_type > rfind(const _CharT* __s, size_type __pos, size_type __n) const; > > size_type > rfind(const _CharT* __s, size_type __pos = npos) const > { return this->rfind(__s, __pos, traits_type::length(__s)); } > > size_type > rfind(_CharT __c, size_type __pos = npos) const; > > size_type > find_first_of(const basic_string& __str, size_type __pos = 0) const > { return this->find_first_of(__str.data(), __pos, __str.size()); } > > size_type > find_first_of(const _CharT* __s, size_type __pos, size_type __n) const; > > size_type > find_first_of(const _CharT* __s, size_type __pos = 0) const > { return this->find_first_of(__s, __pos, traits_type::length(__s)); } > > size_type > find_first_of(_CharT __c, size_type __pos = 0) const > { return this->find(__c, __pos); } > > size_type > find_last_of(const basic_string& __str, size_type __pos = npos) const > { return this->find_last_of(__str.data(), __pos, __str.size()); } > > size_type > find_last_of(const _CharT* __s, size_type __pos, size_type __n) const; > > size_type > find_last_of(const _CharT* __s, size_type __pos = npos) const > { return this->find_last_of(__s, __pos, traits_type::length(__s)); } > > size_type > find_last_of(_CharT __c, size_type __pos = npos) const > { return this->rfind(__c, __pos); } > > size_type > find_first_not_of(const basic_string& __str, size_type __pos = 0) const > { return this->find_first_not_of(__str.data(), __pos, __str.size()); } > > size_type > find_first_not_of(const _CharT* __s, size_type __pos, > size_type __n) const; > > size_type > find_first_not_of(const _CharT* __s, size_type __pos = 0) const > { return this->find_first_not_of(__s, __pos, traits_type::length(__s)); } > > size_type > find_first_not_of(_CharT __c, size_type __pos = 0) const; > > size_type > find_last_not_of(const basic_string& __str, size_type __pos = npos) const > { return this->find_last_not_of(__str.data(), __pos, __str.size()); } > > size_type > find_last_not_of(const _CharT* __s, size_type __pos, > size_type __n) const; > size_type > find_last_not_of(const _CharT* __s, size_type __pos = npos) const > { return this->find_last_not_of(__s, __pos, traits_type::length(__s)); } > > size_type > find_last_not_of(_CharT __c, size_type __pos = npos) const; > > basic_string > substr(size_type __pos = 0, size_type __n = npos) const > { > if (__pos > this->size()) > __throw_out_of_range("basic_string::substr"); > return basic_string(*this, __pos, __n); > } > > int > compare(const basic_string& __str) const > { > size_type __size = this->size(); > size_type __osize = __str.size(); > size_type __len = std::min(__size, __osize); > > int __r = traits_type::compare(_M_data(), __str.data(), __len); > if (!__r) > __r = __size - __osize; > return __r; > } > > int > compare(size_type __pos, size_type __n, const basic_string& __str) const; > > int > compare(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) const; > > int > compare(const _CharT* __s) const; > > > > int > compare(size_type __pos, size_type __n1, const _CharT* __s) const; > > int > compare(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) const; > }; > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc>:: > basic_string() > : _M_dataplus(_S_empty_rep()._M_refcopy(), _Alloc()) { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > basic_string<_CharT, _Traits, _Alloc> __str(__lhs); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT,_Traits,_Alloc> > operator+(const _CharT* __lhs, > const basic_string<_CharT,_Traits,_Alloc>& __rhs); > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT,_Traits,_Alloc> > operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { > basic_string<_CharT, _Traits, _Alloc> __str(__lhs); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > __string_type __str(__lhs); > __str.append(__size_type(1), __rhs); > return __str; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) == 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) == 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) == 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) != 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) != 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) != 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) < 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) < 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) > 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) > 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) > 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) < 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) <= 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) <= 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) >= 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) >= 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) >= 0; } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) <= 0; } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline void > swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, > basic_string<_CharT, _Traits, _Alloc>& __rhs) > { __lhs.swap(__rhs); } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str); > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, > const basic_string<_CharT, _Traits, _Alloc>& __str); > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT,_Traits>& > getline(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim); > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_istream<_CharT,_Traits>& > getline(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str); >} ># 54 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/algorithm" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/algorithm" 3 ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/algorithm" 3 > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_heap.h" 1 3 ># 63 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_heap.h" 3 >namespace std >{ > > > > template<typename _RandomAccessIterator, typename _Distance, typename _Tp> > void > __push_heap(_RandomAccessIterator __first, > _Distance __holeIndex, _Distance __topIndex, _Tp __value) > { > _Distance __parent = (__holeIndex - 1) / 2; > while (__holeIndex > __topIndex && *(__first + __parent) < __value) { > *(__first + __holeIndex) = *(__first + __parent); > __holeIndex = __parent; > __parent = (__holeIndex - 1) / 2; > } > *(__first + __holeIndex) = __value; > } > > template<typename _RandomAccessIterator> > inline void > push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) > { > typedef typename iterator_traits<_RandomAccessIterator>::value_type > _ValueType; > typedef typename iterator_traits<_RandomAccessIterator>::difference_type > _DistanceType; > > > > > > > __push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), > _ValueType(*(__last - 1))); > } > > template<typename _RandomAccessIterator, typename _Distance, typename _Tp, > typename _Compare> > void > __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, > _Distance __topIndex, _Tp __value, _Compare __comp) > { > _Distance __parent = (__holeIndex - 1) / 2; > while (__holeIndex > __topIndex && __comp(*(__first + __parent), __value)) { > *(__first + __holeIndex) = *(__first + __parent); > __holeIndex = __parent; > __parent = (__holeIndex - 1) / 2; > } > *(__first + __holeIndex) = __value; > } > > template<typename _RandomAccessIterator, typename _Compare> > inline void > push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, > _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIterator>::value_type > _ValueType; > typedef typename iterator_traits<_RandomAccessIterator>::difference_type > _DistanceType; > > > > > > __push_heap(__first, _DistanceType((__last - __first) - 1), _DistanceType(0), > _ValueType(*(__last - 1)), __comp); > } > > template<typename _RandomAccessIterator, typename _Distance, typename _Tp> > void > __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, > _Distance __len, _Tp __value) > { > _Distance __topIndex = __holeIndex; > _Distance __secondChild = 2 * __holeIndex + 2; > while (__secondChild < __len) { > if (*(__first + __secondChild) < *(__first + (__secondChild - 1))) > __secondChild--; > *(__first + __holeIndex) = *(__first + __secondChild); > __holeIndex = __secondChild; > __secondChild = 2 * (__secondChild + 1); > } > if (__secondChild == __len) { > *(__first + __holeIndex) = *(__first + (__secondChild - 1)); > __holeIndex = __secondChild - 1; > } > __push_heap(__first, __holeIndex, __topIndex, __value); > } > > template<typename _RandomAccessIterator, typename _Tp> > inline void > __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, > _RandomAccessIterator __result, _Tp __value) > { > typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; > *__result = *__first; > __adjust_heap(__first, _Distance(0), _Distance(__last - __first), __value); > } > > template<typename _RandomAccessIterator> > inline void > pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) > { > typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; > > > > > > > __pop_heap(__first, __last - 1, __last - 1, _ValueType(*(__last - 1))); > } > > template<typename _RandomAccessIterator, typename _Distance, > typename _Tp, typename _Compare> > void > __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, > _Distance __len, _Tp __value, _Compare __comp) > { > _Distance __topIndex = __holeIndex; > _Distance __secondChild = 2 * __holeIndex + 2; > while (__secondChild < __len) { > if (__comp(*(__first + __secondChild), *(__first + (__secondChild - 1)))) > __secondChild--; > *(__first + __holeIndex) = *(__first + __secondChild); > __holeIndex = __secondChild; > __secondChild = 2 * (__secondChild + 1); > } > if (__secondChild == __len) { > *(__first + __holeIndex) = *(__first + (__secondChild - 1)); > __holeIndex = __secondChild - 1; > } > __push_heap(__first, __holeIndex, __topIndex, __value, __comp); > } > > template<typename _RandomAccessIterator, typename _Tp, typename _Compare> > inline void > __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, > _RandomAccessIterator __result, _Tp __value, _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIterator>::difference_type _Distance; > *__result = *__first; > __adjust_heap(__first, _Distance(0), _Distance(__last - __first), > __value, __comp); > } > > template<typename _RandomAccessIterator, typename _Compare> > inline void > pop_heap(_RandomAccessIterator __first, > _RandomAccessIterator __last, _Compare __comp) > { > > > > > typedef typename iterator_traits<_RandomAccessIterator>::value_type _ValueType; > __pop_heap(__first, __last - 1, __last - 1, _ValueType(*(__last - 1)), __comp); > } > > template<typename _RandomAccessIterator> > void > make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) > { > typedef typename iterator_traits<_RandomAccessIterator>::value_type > _ValueType; > typedef typename iterator_traits<_RandomAccessIterator>::difference_type > _DistanceType; > > > > > > > if (__last - __first < 2) return; > _DistanceType __len = __last - __first; > _DistanceType __parent = (__len - 2)/2; > > while (true) { > __adjust_heap(__first, __parent, __len, _ValueType(*(__first + __parent))); > if (__parent == 0) return; > __parent--; > } > } > > template<typename _RandomAccessIterator, typename _Compare> > inline void > make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, > _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIterator>::value_type > _ValueType; > typedef typename iterator_traits<_RandomAccessIterator>::difference_type > _DistanceType; > > > > > > if (__last - __first < 2) return; > _DistanceType __len = __last - __first; > _DistanceType __parent = (__len - 2)/2; > > while (true) { > __adjust_heap(__first, __parent, __len, > _ValueType(*(__first + __parent)), __comp); > if (__parent == 0) return; > __parent--; > } > } > > template<typename _RandomAccessIterator> > void > sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) > { > > > > > > > while (__last - __first > 1) > pop_heap(__first, __last--); > } > > template<typename _RandomAccessIterator, typename _Compare> > void > sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, > _Compare __comp) > { > > > > > while (__last - __first > 1) > pop_heap(__first, __last--, __comp); > } > >} ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_tempbuf.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_tempbuf.h" 3 >namespace std >{ ># 74 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_tempbuf.h" 3 >template <class _ForwardIterator, class _Tp> > class _Temporary_buffer >{ > > > > ptrdiff_t _M_original_len; > ptrdiff_t _M_len; > _Tp* _M_buffer; > > > void _M_allocate_buffer() { > _M_original_len = _M_len; > _M_buffer = 0; > > if (_M_len > (ptrdiff_t)(2147483647 / sizeof(_Tp))) > _M_len = 2147483647 / sizeof(_Tp); > > while (_M_len > 0) { > _M_buffer = (_Tp*) malloc(_M_len * sizeof(_Tp)); > if (_M_buffer) > break; > _M_len /= 2; > } > } > > void _M_initialize_buffer(const _Tp&, __true_type) {} > void _M_initialize_buffer(const _Tp& val, __false_type) { > uninitialized_fill_n(_M_buffer, _M_len, val); > } > >public: > > ptrdiff_t size() const { return _M_len; } > > ptrdiff_t requested_size() const { return _M_original_len; } > > _Tp* begin() { return _M_buffer; } > > _Tp* end() { return _M_buffer + _M_len; } > > _Temporary_buffer(_ForwardIterator __first, _ForwardIterator __last) { > > typedef typename __type_traits<_Tp>::has_trivial_default_constructor > _Trivial; > > try { > _M_len = distance(__first, __last); > _M_allocate_buffer(); > if (_M_len > 0) > _M_initialize_buffer(*__first, _Trivial()); > } > catch(...) > { > free(_M_buffer); > _M_buffer = 0; > _M_len = 0; > throw; > } > } > > ~_Temporary_buffer() { > _Destroy(_M_buffer, _M_buffer + _M_len); > free(_M_buffer); > } > >private: > > _Temporary_buffer(const _Temporary_buffer&) {} > void operator=(const _Temporary_buffer&) {} >}; > >} ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 2 3 > > > >namespace std >{ ># 84 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _Tp> > inline const _Tp& > __median(const _Tp& __a, const _Tp& __b, const _Tp& __c) > { > > > if (__a < __b) > if (__b < __c) > return __b; > else if (__a < __c) > return __c; > else > return __a; > else if (__a < __c) > return __a; > else if (__b < __c) > return __c; > else > return __b; > } ># 118 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _Tp, typename _Compare> > inline const _Tp& > __median(const _Tp& __a, const _Tp& __b, const _Tp& __c, _Compare __comp) > { > > > if (__comp(__a, __b)) > if (__comp(__b, __c)) > return __b; > else if (__comp(__a, __c)) > return __c; > else > return __a; > else if (__comp(__a, __c)) > return __a; > else if (__comp(__b, __c)) > return __c; > else > return __b; > } ># 150 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _Function> > _Function > for_each(_InputIter __first, _InputIter __last, _Function __f) > { > > > for ( ; __first != __last; ++__first) > __f(*__first); > return __f; > } > > > > > > > template<typename _InputIter, typename _Tp> > inline _InputIter > find(_InputIter __first, _InputIter __last, > const _Tp& __val, > input_iterator_tag) > { > while (__first != __last && !(*__first == __val)) > ++__first; > return __first; > } > > > > > > > template<typename _InputIter, typename _Predicate> > inline _InputIter > find_if(_InputIter __first, _InputIter __last, > _Predicate __pred, > input_iterator_tag) > { > while (__first != __last && !__pred(*__first)) > ++__first; > return __first; > } > > > > > > > template<typename _RandomAccessIter, typename _Tp> > _RandomAccessIter > find(_RandomAccessIter __first, _RandomAccessIter __last, > const _Tp& __val, > random_access_iterator_tag) > { > typename iterator_traits<_RandomAccessIter>::difference_type __trip_count > = (__last - __first) >> 2; > > for ( ; __trip_count > 0 ; --__trip_count) { > if (*__first == __val) return __first; > ++__first; > > if (*__first == __val) return __first; > ++__first; > > if (*__first == __val) return __first; > ++__first; > > if (*__first == __val) return __first; > ++__first; > } > > switch(__last - __first) { > case 3: > if (*__first == __val) return __first; > ++__first; > case 2: > if (*__first == __val) return __first; > ++__first; > case 1: > if (*__first == __val) return __first; > ++__first; > case 0: > default: > return __last; > } > } > > > > > > > template<typename _RandomAccessIter, typename _Predicate> > _RandomAccessIter > find_if(_RandomAccessIter __first, _RandomAccessIter __last, > _Predicate __pred, > random_access_iterator_tag) > { > typename iterator_traits<_RandomAccessIter>::difference_type __trip_count > = (__last - __first) >> 2; > > for ( ; __trip_count > 0 ; --__trip_count) { > if (__pred(*__first)) return __first; > ++__first; > > if (__pred(*__first)) return __first; > ++__first; > > if (__pred(*__first)) return __first; > ++__first; > > if (__pred(*__first)) return __first; > ++__first; > } > > switch(__last - __first) { > case 3: > if (__pred(*__first)) return __first; > ++__first; > case 2: > if (__pred(*__first)) return __first; > ++__first; > case 1: > if (__pred(*__first)) return __first; > ++__first; > case 0: > default: > return __last; > } > } ># 289 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _Tp> > inline _InputIter > find(_InputIter __first, _InputIter __last, > const _Tp& __val) > { > > > > > return find(__first, __last, __val, __iterator_category(__first)); > } ># 309 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _Predicate> > inline _InputIter > find_if(_InputIter __first, _InputIter __last, > _Predicate __pred) > { > > > > > return find_if(__first, __last, __pred, __iterator_category(__first)); > } ># 329 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter> > _ForwardIter > adjacent_find(_ForwardIter __first, _ForwardIter __last) > { > > > > > if (__first == __last) > return __last; > _ForwardIter __next = __first; > while(++__next != __last) { > if (*__first == *__next) > return __first; > __first = __next; > } > return __last; > } ># 358 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _BinaryPredicate> > _ForwardIter > adjacent_find(_ForwardIter __first, _ForwardIter __last, > _BinaryPredicate __binary_pred) > { > > > > > > if (__first == __last) > return __last; > _ForwardIter __next = __first; > while(++__next != __last) { > if (__binary_pred(*__first, *__next)) > return __first; > __first = __next; > } > return __last; > } ># 387 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _Tp> > typename iterator_traits<_InputIter>::difference_type > count(_InputIter __first, _InputIter __last, const _Tp& __value) > { > > > > > > typename iterator_traits<_InputIter>::difference_type __n = 0; > for ( ; __first != __last; ++__first) > if (*__first == __value) > ++__n; > return __n; > } ># 411 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _Predicate> > typename iterator_traits<_InputIter>::difference_type > count_if(_InputIter __first, _InputIter __last, _Predicate __pred) > { > > > > > typename iterator_traits<_InputIter>::difference_type __n = 0; > for ( ; __first != __last; ++__first) > if (__pred(*__first)) > ++__n; > return __n; > } ># 450 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter1, typename _ForwardIter2> > _ForwardIter1 > search(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2) > { ># 463 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > if (__first1 == __last1 || __first2 == __last2) > return __first1; > > > _ForwardIter2 __tmp(__first2); > ++__tmp; > if (__tmp == __last2) > return find(__first1, __last1, *__first2); > > > > _ForwardIter2 __p1, __p; > > __p1 = __first2; ++__p1; > > _ForwardIter1 __current = __first1; > > while (__first1 != __last1) { > __first1 = find(__first1, __last1, *__first2); > if (__first1 == __last1) > return __last1; > > __p = __p1; > __current = __first1; > if (++__current == __last1) > return __last1; > > while (*__current == *__p) { > if (++__p == __last2) > return __first1; > if (++__current == __last1) > return __last1; > } > > ++__first1; > } > return __first1; > } ># 522 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter1, typename _ForwardIter2, typename _BinaryPred> > _ForwardIter1 > search(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2, > _BinaryPred __predicate) > { ># 536 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > if (__first1 == __last1 || __first2 == __last2) > return __first1; > > > _ForwardIter2 __tmp(__first2); > ++__tmp; > if (__tmp == __last2) { > while (__first1 != __last1 && !__predicate(*__first1, *__first2)) > ++__first1; > return __first1; > } > > > > _ForwardIter2 __p1, __p; > > __p1 = __first2; ++__p1; > > _ForwardIter1 __current = __first1; > > while (__first1 != __last1) { > while (__first1 != __last1) { > if (__predicate(*__first1, *__first2)) > break; > ++__first1; > } > while (__first1 != __last1 && !__predicate(*__first1, *__first2)) > ++__first1; > if (__first1 == __last1) > return __last1; > > __p = __p1; > __current = __first1; > if (++__current == __last1) return __last1; > > while (__predicate(*__current, *__p)) { > if (++__p == __last2) > return __first1; > if (++__current == __last1) > return __last1; > } > > ++__first1; > } > return __first1; > } ># 596 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Integer, typename _Tp> > _ForwardIter > search_n(_ForwardIter __first, _ForwardIter __last, > _Integer __count, const _Tp& __val) > { > > > > > > > if (__count <= 0) > return __first; > else { > __first = find(__first, __last, __val); > while (__first != __last) { > typename iterator_traits<_ForwardIter>::difference_type __n = __count; > --__n; > _ForwardIter __i = __first; > ++__i; > while (__i != __last && __n != 0 && *__i == __val) { > ++__i; > --__n; > } > if (__n == 0) > return __first; > else > __first = find(__i, __last, __val); > } > return __last; > } > } ># 644 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Integer, typename _Tp, > typename _BinaryPred> > _ForwardIter > search_n(_ForwardIter __first, _ForwardIter __last, > _Integer __count, const _Tp& __val, > _BinaryPred __binary_pred) > { > > > > > > if (__count <= 0) > return __first; > else { > while (__first != __last) { > if (__binary_pred(*__first, __val)) > break; > ++__first; > } > while (__first != __last) { > typename iterator_traits<_ForwardIter>::difference_type __n = __count; > --__n; > _ForwardIter __i = __first; > ++__i; > while (__i != __last && __n != 0 && __binary_pred(*__i, __val)) { > ++__i; > --__n; > } > if (__n == 0) > return __first; > else { > while (__i != __last) { > if (__binary_pred(*__i, __val)) > break; > ++__i; > } > __first = __i; > } > } > return __last; > } > } ># 699 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter1, typename _ForwardIter2> > _ForwardIter2 > swap_ranges(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2) > { ># 714 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > for ( ; __first1 != __last1; ++__first1, ++__first2) > iter_swap(__first1, __first2); > return __first2; > } ># 734 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _UnaryOperation> > _OutputIter > transform(_InputIter __first, _InputIter __last, > _OutputIter __result, _UnaryOperation __unary_op) > { > > > > > > > for ( ; __first != __last; ++__first, ++__result) > *__result = __unary_op(*__first); > return __result; > } ># 767 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _BinaryOperation> > _OutputIter > transform(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _OutputIter __result, > _BinaryOperation __binary_op) > { > > > > > > > > for ( ; __first1 != __last1; ++__first1, ++__first2, ++__result) > *__result = __binary_op(*__first1, *__first2); > return __result; > } ># 798 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > void > replace(_ForwardIter __first, _ForwardIter __last, > const _Tp& __old_value, const _Tp& __new_value) > { > > > > > > > > for ( ; __first != __last; ++__first) > if (*__first == __old_value) > *__first = __new_value; > } ># 827 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Predicate, typename _Tp> > void > replace_if(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred, const _Tp& __new_value) > { > > > > > > > > for ( ; __first != __last; ++__first) > if (__pred(*__first)) > *__first = __new_value; > } ># 858 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _Tp> > _OutputIter > replace_copy(_InputIter __first, _InputIter __last, > _OutputIter __result, > const _Tp& __old_value, const _Tp& __new_value) > { > > > > > > > > for ( ; __first != __last; ++__first, ++__result) > *__result = *__first == __old_value ? __new_value : *__first; > return __result; > } ># 890 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _Predicate, > typename _Tp> > _OutputIter > replace_copy_if(_InputIter __first, _InputIter __last, > _OutputIter __result, > _Predicate __pred, const _Tp& __new_value) > { > > > > > > > > for ( ; __first != __last; ++__first, ++__result) > *__result = __pred(*__first) ? __new_value : *__first; > return __result; > } ># 920 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Generator> > void > generate(_ForwardIter __first, _ForwardIter __last, _Generator __gen) > { > > > > > > for ( ; __first != __last; ++__first) > *__first = __gen(); > } ># 944 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _OutputIter, typename _Size, typename _Generator> > _OutputIter > generate_n(_OutputIter __first, _Size __n, _Generator __gen) > { > > > > > > for ( ; __n > 0; --__n, ++__first) > *__first = __gen(); > return __first; > } ># 971 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _Tp> > _OutputIter > remove_copy(_InputIter __first, _InputIter __last, > _OutputIter __result, const _Tp& __value) > { > > > > > > > > for ( ; __first != __last; ++__first) > if (!(*__first == __value)) { > *__result = *__first; > ++__result; > } > return __result; > } ># 1005 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _Predicate> > _OutputIter > remove_copy_if(_InputIter __first, _InputIter __last, > _OutputIter __result, _Predicate __pred) > { > > > > > > > > for ( ; __first != __last; ++__first) > if (!__pred(*__first)) { > *__result = *__first; > ++__result; > } > return __result; > } ># 1041 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > _ForwardIter > remove(_ForwardIter __first, _ForwardIter __last, > const _Tp& __value) > { > > > > > > > > __first = find(__first, __last, __value); > _ForwardIter __i = __first; > return __first == __last ? __first > : remove_copy(++__i, __last, __first, __value); > } ># 1075 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Predicate> > _ForwardIter > remove_if(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred) > { > > > > > > __first = find_if(__first, __last, __pred); > _ForwardIter __i = __first; > return __first == __last ? __first > : remove_copy_if(++__i, __last, __first, __pred); > } > > > > > > > > template<typename _InputIter, typename _OutputIter> > _OutputIter > __unique_copy(_InputIter __first, _InputIter __last, > _OutputIter __result, > output_iterator_tag) > { > > typename iterator_traits<_InputIter>::value_type __value = *__first; > *__result = __value; > while (++__first != __last) > if (!(__value == *__first)) { > __value = *__first; > *++__result = __value; > } > return ++__result; > } > > > > > > > > template<typename _InputIter, typename _ForwardIter> > _ForwardIter > __unique_copy(_InputIter __first, _InputIter __last, > _ForwardIter __result, > forward_iterator_tag) > { > > *__result = *__first; > while (++__first != __last) > if (!(*__result == *__first)) > *++__result = *__first; > return ++__result; > } ># 1147 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter> > inline _OutputIter > unique_copy(_InputIter __first, _InputIter __last, > _OutputIter __result) > { > > > > > > > > typedef typename iterator_traits<_OutputIter>::iterator_category _IterType; > > if (__first == __last) return __result; > return __unique_copy(__first, __last, __result, _IterType()); > } ># 1172 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _BinaryPredicate> > _OutputIter > __unique_copy(_InputIter __first, _InputIter __last, > _OutputIter __result, > _BinaryPredicate __binary_pred, > output_iterator_tag) > { > > > > > > typename iterator_traits<_InputIter>::value_type __value = *__first; > *__result = __value; > while (++__first != __last) > if (!__binary_pred(__value, *__first)) { > __value = *__first; > *++__result = __value; > } > return ++__result; > } ># 1201 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _ForwardIter, typename _BinaryPredicate> > _ForwardIter > __unique_copy(_InputIter __first, _InputIter __last, > _ForwardIter __result, > _BinaryPredicate __binary_pred, > forward_iterator_tag) > { > > > > > > *__result = *__first; > while (++__first != __last) > if (!__binary_pred(*__result, *__first)) *++__result = *__first; > return ++__result; > } ># 1234 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _OutputIter, typename _BinaryPredicate> > inline _OutputIter > unique_copy(_InputIter __first, _InputIter __last, > _OutputIter __result, > _BinaryPredicate __binary_pred) > { > > > > > > typedef typename iterator_traits<_OutputIter>::iterator_category _IterType; > > if (__first == __last) return __result; > return __unique_copy(__first, __last, >__result, __binary_pred, _IterType()); > } ># 1265 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter> > _ForwardIter > unique(_ForwardIter __first, _ForwardIter __last) > { > > > > > > __first = adjacent_find(__first, __last); > return unique_copy(__first, __last, __first); > } ># 1292 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _BinaryPredicate> > _ForwardIter > unique(_ForwardIter __first, _ForwardIter __last, > _BinaryPredicate __binary_pred) > { > > > > > > > __first = adjacent_find(__first, __last, __binary_pred); > return unique_copy(__first, __last, __first, __binary_pred); > } > > > > > > > > template<typename _BidirectionalIter> > void > __reverse(_BidirectionalIter __first, _BidirectionalIter __last, > bidirectional_iterator_tag) > { > while (true) > if (__first == __last || __first == --__last) > return; > else > iter_swap(__first++, __last); > } > > > > > > > > template<typename _RandomAccessIter> > void > __reverse(_RandomAccessIter __first, _RandomAccessIter __last, > random_access_iterator_tag) > { > while (__first < __last) > iter_swap(__first++, --__last); > } ># 1351 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _BidirectionalIter> > inline void > reverse(_BidirectionalIter __first, _BidirectionalIter __last) > { > > > > __reverse(__first, __last, __iterator_category(__first)); > } ># 1376 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _BidirectionalIter, typename _OutputIter> > _OutputIter > reverse_copy(_BidirectionalIter __first, _BidirectionalIter __last, > _OutputIter __result) > { > > > > > > while (__first != __last) { > --__last; > *__result = *__last; > ++__result; > } > return __result; > } ># 1401 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _EuclideanRingElement> > _EuclideanRingElement > __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n) > { > while (__n != 0) { > _EuclideanRingElement __t = __m % __n; > __m = __n; > __n = __t; > } > return __m; > } > > > > > > > template<typename _ForwardIter> > void > __rotate(_ForwardIter __first, > _ForwardIter __middle, > _ForwardIter __last, > forward_iterator_tag) > { > if ((__first == __middle) || (__last == __middle)) > return; > > _ForwardIter __first2 = __middle; > do { > swap(*__first++, *__first2++); > if (__first == __middle) > __middle = __first2; > } while (__first2 != __last); > > __first2 = __middle; > > while (__first2 != __last) { > swap(*__first++, *__first2++); > if (__first == __middle) > __middle = __first2; > else if (__first2 == __last) > __first2 = __middle; > } > } > > > > > > > template<typename _BidirectionalIter> > void > __rotate(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > bidirectional_iterator_tag) > { > > > > > if ((__first == __middle) || (__last == __middle)) > return; > > __reverse(__first, __middle, bidirectional_iterator_tag()); > __reverse(__middle, __last, bidirectional_iterator_tag()); > > while (__first != __middle && __middle != __last) > swap (*__first++, *--__last); > > if (__first == __middle) { > __reverse(__middle, __last, bidirectional_iterator_tag()); > } > else { > __reverse(__first, __middle, bidirectional_iterator_tag()); > } > } > > > > > > > template<typename _RandomAccessIter> > void > __rotate(_RandomAccessIter __first, > _RandomAccessIter __middle, > _RandomAccessIter __last, > random_access_iterator_tag) > { > > > > > if ((__first == __middle) || (__last == __middle)) > return; > > typedef typename iterator_traits<_RandomAccessIter>::difference_type _Distance; > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > _Distance __n = __last - __first; > _Distance __k = __middle - __first; > _Distance __l = __n - __k; > > if (__k == __l) { > swap_ranges(__first, __middle, __middle); > return; > } > > _Distance __d = __gcd(__n, __k); > > for (_Distance __i = 0; __i < __d; __i++) { > _ValueType __tmp = *__first; > _RandomAccessIter __p = __first; > > if (__k < __l) { > for (_Distance __j = 0; __j < __l/__d; __j++) { > if (__p > __first + __l) { > *__p = *(__p - __l); > __p -= __l; > } > > *__p = *(__p + __k); > __p += __k; > } > } > > else { > for (_Distance __j = 0; __j < __k/__d - 1; __j ++) { > if (__p < __last - __k) { > *__p = *(__p + __k); > __p += __k; > } > > *__p = * (__p - __l); > __p -= __l; > } > } > > *__p = __tmp; > ++__first; > } > } ># 1563 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter> > inline void > rotate(_ForwardIter __first, _ForwardIter __middle, _ForwardIter __last) > { > > > > typedef typename iterator_traits<_ForwardIter>::iterator_category _IterType; > __rotate(__first, __middle, __last, _IterType()); > } ># 1591 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _OutputIter> > _OutputIter > rotate_copy(_ForwardIter __first, _ForwardIter __middle, > _ForwardIter __last, _OutputIter __result) > { > > > > > > return copy(__first, __middle, copy(__middle, __last, __result)); > } ># 1614 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _Distance> > inline _Distance > __random_number(_Distance __n) > { > > return lrand48() % __n; > > > > } ># 1636 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter> > inline void > random_shuffle(_RandomAccessIter __first, _RandomAccessIter __last) > { > > > > > if (__first == __last) return; > for (_RandomAccessIter __i = __first + 1; __i != __last; ++__i) > iter_swap(__i, __first + __random_number((__i - __first) + 1)); > } ># 1662 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter, typename _RandomNumberGenerator> > void > random_shuffle(_RandomAccessIter __first, _RandomAccessIter __last, > _RandomNumberGenerator& __rand) > { > > > > > if (__first == __last) return; > for (_RandomAccessIter __i = __first + 1; __i != __last; ++__i) > iter_swap(__i, __first + __rand((__i - __first) + 1)); > } > > > > > > > > template<typename _ForwardIter, typename _Predicate> > _ForwardIter > __partition(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred, > forward_iterator_tag) > { > if (__first == __last) return __first; > > while (__pred(*__first)) > if (++__first == __last) return __first; > > _ForwardIter __next = __first; > > while (++__next != __last) > if (__pred(*__next)) { > swap(*__first, *__next); > ++__first; > } > > return __first; > } > > > > > > > template<typename _BidirectionalIter, typename _Predicate> > _BidirectionalIter > __partition(_BidirectionalIter __first, _BidirectionalIter __last, > _Predicate __pred, > bidirectional_iterator_tag) > { > while (true) { > while (true) > if (__first == __last) > return __first; > else if (__pred(*__first)) > ++__first; > else > break; > --__last; > while (true) > if (__first == __last) > return __first; > else if (!__pred(*__last)) > --__last; > else > break; > iter_swap(__first, __last); > ++__first; > } > } ># 1750 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Predicate> > inline _ForwardIter > partition(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred) > { > > > > > > return __partition(__first, __last, __pred, __iterator_category(__first)); > } > > > > > > > > template<typename _ForwardIter, typename _Predicate, typename _Distance> > _ForwardIter > __inplace_stable_partition(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred, _Distance __len) > { > if (__len == 1) > return __pred(*__first) ? __last : __first; > _ForwardIter __middle = __first; > advance(__middle, __len / 2); > _ForwardIter __begin = __inplace_stable_partition(__first, __middle, > __pred, > __len / 2); > _ForwardIter __end = __inplace_stable_partition(__middle, __last, > __pred, > __len - __len / 2); > rotate(__begin, __middle, __end); > advance(__begin, distance(__middle, __end)); > return __begin; > } > > > > > > > template<typename _ForwardIter, typename _Pointer, typename _Predicate, > typename _Distance> > _ForwardIter > __stable_partition_adaptive(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred, _Distance __len, > _Pointer __buffer, > _Distance __buffer_size) > { > if (__len <= __buffer_size) { > _ForwardIter __result1 = __first; > _Pointer __result2 = __buffer; > for ( ; __first != __last ; ++__first) > if (__pred(*__first)) { > *__result1 = *__first; > ++__result1; > } > else { > *__result2 = *__first; > ++__result2; > } > copy(__buffer, __result2, __result1); > return __result1; > } > else { > _ForwardIter __middle = __first; > advance(__middle, __len / 2); > _ForwardIter __begin = __stable_partition_adaptive(__first, __middle, > __pred, > __len / 2, > __buffer, __buffer_size); > _ForwardIter __end = __stable_partition_adaptive( __middle, __last, > __pred, > __len - __len / 2, > __buffer, __buffer_size); > rotate(__begin, __middle, __end); > advance(__begin, distance(__middle, __end)); > return __begin; > } > } ># 1850 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Predicate> > _ForwardIter > stable_partition(_ForwardIter __first, _ForwardIter __last, > _Predicate __pred) > { > > > > > > if (__first == __last) > return __first; > else > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > _Temporary_buffer<_ForwardIter, _ValueType> __buf(__first, __last); > if (__buf.size() > 0) > return __stable_partition_adaptive(__first, __last, __pred, > _DistanceType(__buf.requested_size()), > __buf.begin(), __buf.size()); > else > return __inplace_stable_partition(__first, __last, __pred, > _DistanceType(__buf.requested_size())); > } > } > > > > > > > template<typename _RandomAccessIter, typename _Tp> > _RandomAccessIter > __unguarded_partition(_RandomAccessIter __first, _RandomAccessIter __last, > _Tp __pivot) > { > while (true) { > while (*__first < __pivot) > ++__first; > --__last; > while (__pivot < *__last) > --__last; > if (!(__first < __last)) > return __first; > iter_swap(__first, __last); > ++__first; > } > } > > > > > > > template<typename _RandomAccessIter, typename _Tp, typename _Compare> > _RandomAccessIter > __unguarded_partition(_RandomAccessIter __first, _RandomAccessIter __last, > _Tp __pivot, _Compare __comp) > { > while (true) { > while (__comp(*__first, __pivot)) > ++__first; > --__last; > while (__comp(__pivot, *__last)) > --__last; > if (!(__first < __last)) > return __first; > iter_swap(__first, __last); > ++__first; > } > } ># 1931 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > enum { _M_threshold = 16 }; > > > > > > > template<typename _RandomAccessIter, typename _Tp> > void > __unguarded_linear_insert(_RandomAccessIter __last, _Tp __val) > { > _RandomAccessIter __next = __last; > --__next; > while (__val < *__next) { > *__last = *__next; > __last = __next; > --__next; > } > *__last = __val; > } > > > > > > > template<typename _RandomAccessIter, typename _Tp, typename _Compare> > void > __unguarded_linear_insert(_RandomAccessIter __last, _Tp __val, _Compare __comp) > { > _RandomAccessIter __next = __last; > --__next; > while (__comp(__val, *__next)) { > *__last = *__next; > __last = __next; > --__next; > } > *__last = __val; > } > > > > > > > template<typename _RandomAccessIter> > void > __insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > if (__first == __last) return; > > for (_RandomAccessIter __i = __first + 1; __i != __last; ++__i) > { > typename iterator_traits<_RandomAccessIter>::value_type __val = *__i; > if (__val < *__first) { > copy_backward(__first, __i, __i + 1); > *__first = __val; > } > else > __unguarded_linear_insert(__i, __val); > } > } > > > > > > > template<typename _RandomAccessIter, typename _Compare> > void > __insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Compare __comp) > { > if (__first == __last) return; > > for (_RandomAccessIter __i = __first + 1; __i != __last; ++__i) > { > typename iterator_traits<_RandomAccessIter>::value_type __val = *__i; > if (__comp(__val, *__first)) { > copy_backward(__first, __i, __i + 1); > *__first = __val; > } > else > __unguarded_linear_insert(__i, __val, __comp); > } > } > > > > > > > template<typename _RandomAccessIter> > inline void > __unguarded_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > for (_RandomAccessIter __i = __first; __i != __last; ++__i) > __unguarded_linear_insert(__i, _ValueType(*__i)); > } > > > > > > > template<typename _RandomAccessIter, typename _Compare> > inline void > __unguarded_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > for (_RandomAccessIter __i = __first; __i != __last; ++__i) > __unguarded_linear_insert(__i, _ValueType(*__i), __comp); > } > > > > > > > template<typename _RandomAccessIter> > void > __final_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > if (__last - __first > _M_threshold) { > __insertion_sort(__first, __first + _M_threshold); > __unguarded_insertion_sort(__first + _M_threshold, __last); > } > else > __insertion_sort(__first, __last); > } > > > > > > > template<typename _RandomAccessIter, typename _Compare> > void > __final_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Compare __comp) > { > if (__last - __first > _M_threshold) { > __insertion_sort(__first, __first + _M_threshold, __comp); > __unguarded_insertion_sort(__first + _M_threshold, __last, __comp); > } > else > __insertion_sort(__first, __last, __comp); > } > > > > > > > template<typename _Size> > inline _Size > __lg(_Size __n) > { > _Size __k; > for (__k = 0; __n != 1; __n >>= 1) ++__k; > return __k; > } > > > > > > > template<typename _RandomAccessIter, typename _Size> > void > __introsort_loop(_RandomAccessIter __first, _RandomAccessIter __last, > _Size __depth_limit) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > while (__last - __first > _M_threshold) { > if (__depth_limit == 0) { > partial_sort(__first, __last, __last); > return; > } > --__depth_limit; > _RandomAccessIter __cut = > __unguarded_partition(__first, __last, > _ValueType(__median(*__first, > *(__first + (__last - __first)/2), > *(__last - 1)))); > __introsort_loop(__cut, __last, __depth_limit); > __last = __cut; > } > } > > > > > > > template<typename _RandomAccessIter, typename _Size, typename _Compare> > void > __introsort_loop(_RandomAccessIter __first, _RandomAccessIter __last, > _Size __depth_limit, _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > while (__last - __first > _M_threshold) { > if (__depth_limit == 0) { > partial_sort(__first, __last, __last, __comp); > return; > } > --__depth_limit; > _RandomAccessIter __cut = > __unguarded_partition(__first, __last, > _ValueType(__median(*__first, > *(__first + (__last - __first)/2), > *(__last - 1), __comp)), > __comp); > __introsort_loop(__cut, __last, __depth_limit, __comp); > __last = __cut; > } > } ># 2168 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter> > inline void > sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > > if (__first != __last) { > __introsort_loop(__first, __last, __lg(__last - __first) * 2); > __final_insertion_sort(__first, __last); > } > } ># 2199 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter, typename _Compare> > inline void > sort(_RandomAccessIter __first, _RandomAccessIter __last, _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > > if (__first != __last) { > __introsort_loop(__first, __last, __lg(__last - __first) * 2, __comp); > __final_insertion_sort(__first, __last, __comp); > } > } > > > > > > > > template<typename _RandomAccessIter> > void > __inplace_stable_sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > if (__last - __first < 15) { > __insertion_sort(__first, __last); > return; > } > _RandomAccessIter __middle = __first + (__last - __first) / 2; > __inplace_stable_sort(__first, __middle); > __inplace_stable_sort(__middle, __last); > __merge_without_buffer(__first, __middle, __last, > __middle - __first, > __last - __middle); > } > > > > > > > template<typename _RandomAccessIter, typename _Compare> > void > __inplace_stable_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Compare __comp) > { > if (__last - __first < 15) { > __insertion_sort(__first, __last, __comp); > return; > } > _RandomAccessIter __middle = __first + (__last - __first) / 2; > __inplace_stable_sort(__first, __middle, __comp); > __inplace_stable_sort(__middle, __last, __comp); > __merge_without_buffer(__first, __middle, __last, > __middle - __first, > __last - __middle, > __comp); > } > > template<typename _RandomAccessIter1, typename _RandomAccessIter2, > typename _Distance> > void > __merge_sort_loop(_RandomAccessIter1 __first, _RandomAccessIter1 __last, > _RandomAccessIter2 __result, _Distance __step_size) > { > _Distance __two_step = 2 * __step_size; > > while (__last - __first >= __two_step) { > __result = merge(__first, __first + __step_size, > __first + __step_size, __first + __two_step, > __result); > __first += __two_step; > } > > __step_size = min(_Distance(__last - __first), __step_size); > merge(__first, __first + __step_size, __first + __step_size, __last, > __result); > } > > template<typename _RandomAccessIter1, typename _RandomAccessIter2, > typename _Distance, typename _Compare> > void > __merge_sort_loop(_RandomAccessIter1 __first, _RandomAccessIter1 __last, > _RandomAccessIter2 __result, _Distance __step_size, > _Compare __comp) > { > _Distance __two_step = 2 * __step_size; > > while (__last - __first >= __two_step) { > __result = merge(__first, __first + __step_size, > __first + __step_size, __first + __two_step, > __result, > __comp); > __first += __two_step; > } > __step_size = min(_Distance(__last - __first), __step_size); > > merge(__first, __first + __step_size, > __first + __step_size, __last, > __result, > __comp); > } > > enum { _M_chunk_size = 7 }; > > template<typename _RandomAccessIter, typename _Distance> > void > __chunk_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Distance __chunk_size) > { > while (__last - __first >= __chunk_size) { > __insertion_sort(__first, __first + __chunk_size); > __first += __chunk_size; > } > __insertion_sort(__first, __last); > } > > template<typename _RandomAccessIter, typename _Distance, typename _Compare> > void > __chunk_insertion_sort(_RandomAccessIter __first, _RandomAccessIter __last, > _Distance __chunk_size, _Compare __comp) > { > while (__last - __first >= __chunk_size) { > __insertion_sort(__first, __first + __chunk_size, __comp); > __first += __chunk_size; > } > __insertion_sort(__first, __last, __comp); > } > > template<typename _RandomAccessIter, typename _Pointer> > void > __merge_sort_with_buffer(_RandomAccessIter __first, _RandomAccessIter __last, > _Pointer __buffer) > { > typedef typename iterator_traits<_RandomAccessIter>::difference_type _Distance; > > _Distance __len = __last - __first; > _Pointer __buffer_last = __buffer + __len; > > _Distance __step_size = _M_chunk_size; > __chunk_insertion_sort(__first, __last, __step_size); > > while (__step_size < __len) { > __merge_sort_loop(__first, __last, __buffer, __step_size); > __step_size *= 2; > __merge_sort_loop(__buffer, __buffer_last, __first, __step_size); > __step_size *= 2; > } > } > > template<typename _RandomAccessIter, typename _Pointer, typename _Compare> > void > __merge_sort_with_buffer(_RandomAccessIter __first, _RandomAccessIter __last, > _Pointer __buffer, _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::difference_type _Distance; > > _Distance __len = __last - __first; > _Pointer __buffer_last = __buffer + __len; > > _Distance __step_size = _M_chunk_size; > __chunk_insertion_sort(__first, __last, __step_size, __comp); > > while (__step_size < __len) { > __merge_sort_loop(__first, __last, __buffer, __step_size, __comp); > __step_size *= 2; > __merge_sort_loop(__buffer, __buffer_last, __first, __step_size, __comp); > __step_size *= 2; > } > } > > template<typename _RandomAccessIter, typename _Pointer, typename _Distance> > void > __stable_sort_adaptive(_RandomAccessIter __first, _RandomAccessIter __last, > _Pointer __buffer, _Distance __buffer_size) > { > _Distance __len = (__last - __first + 1) / 2; > _RandomAccessIter __middle = __first + __len; > if (__len > __buffer_size) { > __stable_sort_adaptive(__first, __middle, __buffer, __buffer_size); > __stable_sort_adaptive(__middle, __last, __buffer, __buffer_size); > } > else { > __merge_sort_with_buffer(__first, __middle, __buffer); > __merge_sort_with_buffer(__middle, __last, __buffer); > } > __merge_adaptive(__first, __middle, __last, _Distance(__middle - __first), > _Distance(__last - __middle), __buffer, __buffer_size); > } > > template<typename _RandomAccessIter, typename _Pointer, typename _Distance, > typename _Compare> > void > __stable_sort_adaptive(_RandomAccessIter __first, _RandomAccessIter __last, > _Pointer __buffer, _Distance __buffer_size, > _Compare __comp) > { > _Distance __len = (__last - __first + 1) / 2; > _RandomAccessIter __middle = __first + __len; > if (__len > __buffer_size) { > __stable_sort_adaptive(__first, __middle, __buffer, __buffer_size, > __comp); > __stable_sort_adaptive(__middle, __last, __buffer, __buffer_size, > __comp); > } > else { > __merge_sort_with_buffer(__first, __middle, __buffer, __comp); > __merge_sort_with_buffer(__middle, __last, __buffer, __comp); > } > __merge_adaptive(__first, __middle, __last, _Distance(__middle - __first), > _Distance(__last - __middle), __buffer, __buffer_size, > __comp); > } ># 2432 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter> > inline void > stable_sort(_RandomAccessIter __first, _RandomAccessIter __last) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > typedef typename iterator_traits<_RandomAccessIter>::difference_type _DistanceType; > > > > > > > _Temporary_buffer<_RandomAccessIter, _ValueType> buf(__first, __last); > if (buf.begin() == 0) > __inplace_stable_sort(__first, __last); > else > __stable_sort_adaptive(__first, __last, buf.begin(), _DistanceType(buf.size())); > } ># 2468 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter, typename _Compare> > inline void > stable_sort(_RandomAccessIter __first, _RandomAccessIter __last, _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > typedef typename iterator_traits<_RandomAccessIter>::difference_type _DistanceType; > > > > > > > > _Temporary_buffer<_RandomAccessIter, _ValueType> buf(__first, __last); > if (buf.begin() == 0) > __inplace_stable_sort(__first, __last, __comp); > else > __stable_sort_adaptive(__first, __last, buf.begin(), _DistanceType(buf.size()), > __comp); > } ># 2504 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter> > void > partial_sort(_RandomAccessIter __first, > _RandomAccessIter __middle, > _RandomAccessIter __last) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > > make_heap(__first, __middle); > for (_RandomAccessIter __i = __middle; __i < __last; ++__i) > if (*__i < *__first) > __pop_heap(__first, __middle, __i, _ValueType(*__i)); > sort_heap(__first, __middle); > } ># 2542 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter, typename _Compare> > void > partial_sort(_RandomAccessIter __first, > _RandomAccessIter __middle, > _RandomAccessIter __last, > _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > > > make_heap(__first, __middle, __comp); > for (_RandomAccessIter __i = __middle; __i < __last; ++__i) > if (__comp(*__i, *__first)) > __pop_heap(__first, __middle, __i, _ValueType(*__i), __comp); > sort_heap(__first, __middle, __comp); > } ># 2581 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _RandomAccessIter> > _RandomAccessIter > partial_sort_copy(_InputIter __first, _InputIter __last, > _RandomAccessIter __result_first, > _RandomAccessIter __result_last) > { > typedef typename iterator_traits<_InputIter>::value_type _InputValueType; > typedef typename iterator_traits<_RandomAccessIter>::value_type _OutputValueType; > typedef typename iterator_traits<_RandomAccessIter>::difference_type _DistanceType; > > > > > > > > if (__result_first == __result_last) return __result_last; > _RandomAccessIter __result_real_last = __result_first; > while(__first != __last && __result_real_last != __result_last) { > *__result_real_last = *__first; > ++__result_real_last; > ++__first; > } > make_heap(__result_first, __result_real_last); > while (__first != __last) { > if (*__first < *__result_first) > __adjust_heap(__result_first, _DistanceType(0), > _DistanceType(__result_real_last - __result_first), > _InputValueType(*__first)); > ++__first; > } > sort_heap(__result_first, __result_real_last); > return __result_real_last; > } ># 2635 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter, typename _RandomAccessIter, typename _Compare> > _RandomAccessIter > partial_sort_copy(_InputIter __first, _InputIter __last, > _RandomAccessIter __result_first, > _RandomAccessIter __result_last, > _Compare __comp) > { > typedef typename iterator_traits<_InputIter>::value_type _InputValueType; > typedef typename iterator_traits<_RandomAccessIter>::value_type _OutputValueType; > typedef typename iterator_traits<_RandomAccessIter>::difference_type _DistanceType; ># 2653 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > if (__result_first == __result_last) return __result_last; > _RandomAccessIter __result_real_last = __result_first; > while(__first != __last && __result_real_last != __result_last) { > *__result_real_last = *__first; > ++__result_real_last; > ++__first; > } > make_heap(__result_first, __result_real_last, __comp); > while (__first != __last) { > if (__comp(*__first, *__result_first)) > __adjust_heap(__result_first, _DistanceType(0), > _DistanceType(__result_real_last - __result_first), > _InputValueType(*__first), > __comp); > ++__first; > } > sort_heap(__result_first, __result_real_last, __comp); > return __result_real_last; > } ># 2688 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter> > void > nth_element(_RandomAccessIter __first, > _RandomAccessIter __nth, > _RandomAccessIter __last) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > while (__last - __first > 3) { > _RandomAccessIter __cut = > __unguarded_partition(__first, __last, > _ValueType(__median(*__first, > *(__first + (__last - __first)/2), > *(__last - 1)))); > if (__cut <= __nth) > __first = __cut; > else > __last = __cut; > } > __insertion_sort(__first, __last); > } ># 2730 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _RandomAccessIter, typename _Compare> > void > nth_element(_RandomAccessIter __first, > _RandomAccessIter __nth, > _RandomAccessIter __last, > _Compare __comp) > { > typedef typename iterator_traits<_RandomAccessIter>::value_type _ValueType; > > > > > > > while (__last - __first > 3) { > _RandomAccessIter __cut = > __unguarded_partition(__first, __last, > _ValueType(__median(*__first, > *(__first + (__last - __first)/2), > *(__last - 1), > __comp)), > __comp); > if (__cut <= __nth) > __first = __cut; > else > __last = __cut; > } > __insertion_sort(__first, __last, __comp); > } ># 2770 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > _ForwardIter > lower_bound(_ForwardIter __first, _ForwardIter __last, const _Tp& __val) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; ># 2786 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (*__middle < __val) { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > else > __len = __half; > } > return __first; > } ># 2818 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp, typename _Compare> > _ForwardIter > lower_bound(_ForwardIter __first, _ForwardIter __last, > const _Tp& __val, _Compare __comp) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > > > > > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (__comp(*__middle, __val)) { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > else > __len = __half; > } > return __first; > } ># 2858 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > _ForwardIter > upper_bound(_ForwardIter __first, _ForwardIter __last, const _Tp& __val) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > > > > > > > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (__val < *__middle) > __len = __half; > else { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > } > return __first; > } ># 2903 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp, typename _Compare> > _ForwardIter > upper_bound(_ForwardIter __first, _ForwardIter __last, > const _Tp& __val, _Compare __comp) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > > > > > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (__comp(__val, *__middle)) > __len = __half; > else { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > } > return __first; > } ># 2950 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > pair<_ForwardIter, _ForwardIter> > equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > > > > > > > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle, __left, __right; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (*__middle < __val) { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > else if (__val < *__middle) > __len = __half; > else { > __left = lower_bound(__first, __middle, __val); > advance(__first, __len); > __right = upper_bound(++__middle, __first, __val); > return pair<_ForwardIter, _ForwardIter>(__left, __right); > } > } > return pair<_ForwardIter, _ForwardIter>(__first, __first); > } ># 3005 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp, typename _Compare> > pair<_ForwardIter, _ForwardIter> > equal_range(_ForwardIter __first, _ForwardIter __last, const _Tp& __val, > _Compare __comp) > { > typedef typename iterator_traits<_ForwardIter>::value_type _ValueType; > typedef typename iterator_traits<_ForwardIter>::difference_type _DistanceType; > > > > > > > _DistanceType __len = distance(__first, __last); > _DistanceType __half; > _ForwardIter __middle, __left, __right; > > while (__len > 0) { > __half = __len >> 1; > __middle = __first; > advance(__middle, __half); > if (__comp(*__middle, __val)) { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > else if (__comp(__val, *__middle)) > __len = __half; > else { > __left = lower_bound(__first, __middle, __val, __comp); > advance(__first, __len); > __right = upper_bound(++__middle, __first, __val, __comp); > return pair<_ForwardIter, _ForwardIter>(__left, __right); > } > } > return pair<_ForwardIter, _ForwardIter>(__first, __first); > } ># 3054 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp> > bool > binary_search(_ForwardIter __first, _ForwardIter __last, > const _Tp& __val) > { > > > > > > > > _ForwardIter __i = lower_bound(__first, __last, __val); > return __i != __last && !(__val < *__i); > } ># 3085 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter, typename _Tp, typename _Compare> > bool > binary_search(_ForwardIter __first, _ForwardIter __last, > const _Tp& __val, _Compare __comp) > { > > > > > > > > _ForwardIter __i = lower_bound(__first, __last, __val, __comp); > return __i != __last && !__comp(__val, *__i); > } ># 3117 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _OutputIter> > _OutputIter > merge(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result) > { ># 3134 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) { > if (*__first2 < *__first1) { > *__result = *__first2; > ++__first2; > } > else { > *__result = *__first1; > ++__first1; > } > ++__result; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } ># 3168 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _Compare> > _OutputIter > merge(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result, _Compare __comp) > { ># 3187 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) { > if (__comp(*__first2, *__first1)) { > *__result = *__first2; > ++__first2; > } > else { > *__result = *__first1; > ++__first1; > } > ++__result; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } > > > > > > > template<typename _BidirectionalIter, typename _Distance> > void > __merge_without_buffer(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > _Distance __len1, _Distance __len2) > { > if (__len1 == 0 || __len2 == 0) > return; > if (__len1 + __len2 == 2) { > if (*__middle < *__first) > iter_swap(__first, __middle); > return; > } > _BidirectionalIter __first_cut = __first; > _BidirectionalIter __second_cut = __middle; > _Distance __len11 = 0; > _Distance __len22 = 0; > if (__len1 > __len2) { > __len11 = __len1 / 2; > advance(__first_cut, __len11); > __second_cut = lower_bound(__middle, __last, *__first_cut); > __len22 = distance(__middle, __second_cut); > } > else { > __len22 = __len2 / 2; > advance(__second_cut, __len22); > __first_cut = upper_bound(__first, __middle, *__second_cut); > __len11 = distance(__first, __first_cut); > } > rotate(__first_cut, __middle, __second_cut); > _BidirectionalIter __new_middle = __first_cut; > advance(__new_middle, distance(__middle, __second_cut)); > __merge_without_buffer(__first, __first_cut, __new_middle, > __len11, __len22); > __merge_without_buffer(__new_middle, __second_cut, __last, > __len1 - __len11, __len2 - __len22); > } > > > > > > > template<typename _BidirectionalIter, typename _Distance, typename _Compare> > void > __merge_without_buffer(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > _Distance __len1, _Distance __len2, > _Compare __comp) > { > if (__len1 == 0 || __len2 == 0) > return; > if (__len1 + __len2 == 2) { > if (__comp(*__middle, *__first)) > iter_swap(__first, __middle); > return; > } > _BidirectionalIter __first_cut = __first; > _BidirectionalIter __second_cut = __middle; > _Distance __len11 = 0; > _Distance __len22 = 0; > if (__len1 > __len2) { > __len11 = __len1 / 2; > advance(__first_cut, __len11); > __second_cut = lower_bound(__middle, __last, *__first_cut, __comp); > __len22 = distance(__middle, __second_cut); > } > else { > __len22 = __len2 / 2; > advance(__second_cut, __len22); > __first_cut = upper_bound(__first, __middle, *__second_cut, __comp); > __len11 = distance(__first, __first_cut); > } > rotate(__first_cut, __middle, __second_cut); > _BidirectionalIter __new_middle = __first_cut; > advance(__new_middle, distance(__middle, __second_cut)); > __merge_without_buffer(__first, __first_cut, __new_middle, > __len11, __len22, __comp); > __merge_without_buffer(__new_middle, __second_cut, __last, > __len1 - __len11, __len2 - __len22, __comp); > } > > > > > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2, > typename _Distance> > _BidirectionalIter1 > __rotate_adaptive(_BidirectionalIter1 __first, > _BidirectionalIter1 __middle, > _BidirectionalIter1 __last, > _Distance __len1, _Distance __len2, > _BidirectionalIter2 __buffer, > _Distance __buffer_size) > { > _BidirectionalIter2 __buffer_end; > if (__len1 > __len2 && __len2 <= __buffer_size) { > __buffer_end = copy(__middle, __last, __buffer); > copy_backward(__first, __middle, __last); > return copy(__buffer, __buffer_end, __first); > } > else if (__len1 <= __buffer_size) { > __buffer_end = copy(__first, __middle, __buffer); > copy(__middle, __last, __first); > return copy_backward(__buffer, __buffer_end, __last); > } > else { > rotate(__first, __middle, __last); > advance(__first, distance(__middle, __last)); > return __first; > } > } > > > > > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2, > typename _BidirectionalIter3> > _BidirectionalIter3 > __merge_backward(_BidirectionalIter1 __first1, _BidirectionalIter1 __last1, > _BidirectionalIter2 __first2, _BidirectionalIter2 __last2, > _BidirectionalIter3 __result) > { > if (__first1 == __last1) > return copy_backward(__first2, __last2, __result); > if (__first2 == __last2) > return copy_backward(__first1, __last1, __result); > --__last1; > --__last2; > while (true) { > if (*__last2 < *__last1) { > *--__result = *__last1; > if (__first1 == __last1) > return copy_backward(__first2, ++__last2, __result); > --__last1; > } > else { > *--__result = *__last2; > if (__first2 == __last2) > return copy_backward(__first1, ++__last1, __result); > --__last2; > } > } > } > > > > > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2, > typename _BidirectionalIter3, typename _Compare> > _BidirectionalIter3 > __merge_backward(_BidirectionalIter1 __first1, _BidirectionalIter1 __last1, > _BidirectionalIter2 __first2, _BidirectionalIter2 __last2, > _BidirectionalIter3 __result, > _Compare __comp) > { > if (__first1 == __last1) > return copy_backward(__first2, __last2, __result); > if (__first2 == __last2) > return copy_backward(__first1, __last1, __result); > --__last1; > --__last2; > while (true) { > if (__comp(*__last2, *__last1)) { > *--__result = *__last1; > if (__first1 == __last1) > return copy_backward(__first2, ++__last2, __result); > --__last1; > } > else { > *--__result = *__last2; > if (__first2 == __last2) > return copy_backward(__first1, ++__last1, __result); > --__last2; > } > } > } > > > > > > > template<typename _BidirectionalIter, typename _Distance, typename _Pointer> > void > __merge_adaptive(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > _Distance __len1, _Distance __len2, > _Pointer __buffer, _Distance __buffer_size) > { > if (__len1 <= __len2 && __len1 <= __buffer_size) { > _Pointer __buffer_end = copy(__first, __middle, __buffer); > merge(__buffer, __buffer_end, __middle, __last, __first); > } > else if (__len2 <= __buffer_size) { > _Pointer __buffer_end = copy(__middle, __last, __buffer); > __merge_backward(__first, __middle, __buffer, __buffer_end, __last); > } > else { > _BidirectionalIter __first_cut = __first; > _BidirectionalIter __second_cut = __middle; > _Distance __len11 = 0; > _Distance __len22 = 0; > if (__len1 > __len2) { > __len11 = __len1 / 2; > advance(__first_cut, __len11); > __second_cut = lower_bound(__middle, __last, *__first_cut); > __len22 = distance(__middle, __second_cut); > } > else { > __len22 = __len2 / 2; > advance(__second_cut, __len22); > __first_cut = upper_bound(__first, __middle, *__second_cut); > __len11 = distance(__first, __first_cut); > } > _BidirectionalIter __new_middle = > __rotate_adaptive(__first_cut, __middle, __second_cut, > __len1 - __len11, __len22, __buffer, > __buffer_size); > __merge_adaptive(__first, __first_cut, __new_middle, __len11, > __len22, __buffer, __buffer_size); > __merge_adaptive(__new_middle, __second_cut, __last, __len1 - __len11, > __len2 - __len22, __buffer, __buffer_size); > } > } > > > > > > > template<typename _BidirectionalIter, typename _Distance, typename _Pointer, > typename _Compare> > void > __merge_adaptive(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > _Distance __len1, _Distance __len2, > _Pointer __buffer, _Distance __buffer_size, > _Compare __comp) > { > if (__len1 <= __len2 && __len1 <= __buffer_size) { > _Pointer __buffer_end = copy(__first, __middle, __buffer); > merge(__buffer, __buffer_end, __middle, __last, __first, __comp); > } > else if (__len2 <= __buffer_size) { > _Pointer __buffer_end = copy(__middle, __last, __buffer); > __merge_backward(__first, __middle, __buffer, __buffer_end, __last, > __comp); > } > else { > _BidirectionalIter __first_cut = __first; > _BidirectionalIter __second_cut = __middle; > _Distance __len11 = 0; > _Distance __len22 = 0; > if (__len1 > __len2) { > __len11 = __len1 / 2; > advance(__first_cut, __len11); > __second_cut = lower_bound(__middle, __last, *__first_cut, __comp); > __len22 = distance(__middle, __second_cut); > } > else { > __len22 = __len2 / 2; > advance(__second_cut, __len22); > __first_cut = upper_bound(__first, __middle, *__second_cut, __comp); > __len11 = distance(__first, __first_cut); > } > _BidirectionalIter __new_middle = > __rotate_adaptive(__first_cut, __middle, __second_cut, > __len1 - __len11, __len22, __buffer, > __buffer_size); > __merge_adaptive(__first, __first_cut, __new_middle, __len11, > __len22, __buffer, __buffer_size, __comp); > __merge_adaptive(__new_middle, __second_cut, __last, __len1 - __len11, > __len2 - __len22, __buffer, __buffer_size, __comp); > } > } ># 3510 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _BidirectionalIter> > void > inplace_merge(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last) > { > typedef typename iterator_traits<_BidirectionalIter>::value_type > _ValueType; > typedef typename iterator_traits<_BidirectionalIter>::difference_type > _DistanceType; > > > > > > > if (__first == __middle || __middle == __last) > return; > > _DistanceType __len1 = distance(__first, __middle); > _DistanceType __len2 = distance(__middle, __last); > > _Temporary_buffer<_BidirectionalIter, _ValueType> __buf(__first, __last); > if (__buf.begin() == 0) > __merge_without_buffer(__first, __middle, __last, __len1, __len2); > else > __merge_adaptive(__first, __middle, __last, __len1, __len2, > __buf.begin(), _DistanceType(__buf.size())); > } ># 3561 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _BidirectionalIter, typename _Compare> > void > inplace_merge(_BidirectionalIter __first, > _BidirectionalIter __middle, > _BidirectionalIter __last, > _Compare __comp) > { > typedef typename iterator_traits<_BidirectionalIter>::value_type > _ValueType; > typedef typename iterator_traits<_BidirectionalIter>::difference_type > _DistanceType; > > > > > > > > if (__first == __middle || __middle == __last) > return; > > _DistanceType __len1 = distance(__first, __middle); > _DistanceType __len2 = distance(__middle, __last); > > _Temporary_buffer<_BidirectionalIter, _ValueType> __buf(__first, __last); > if (__buf.begin() == 0) > __merge_without_buffer(__first, __middle, __last, __len1, __len2, __comp); > else > __merge_adaptive(__first, __middle, __last, __len1, __len2, > __buf.begin(), _DistanceType(__buf.size()), > __comp); > } > > > > > > > template<typename _InputIter1, typename _InputIter2> > bool > includes(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2) > { ># 3613 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (*__first2 < *__first1) > return false; > else if(*__first1 < *__first2) > ++__first1; > else > ++__first1, ++__first2; > > return __first2 == __last2; > } > > template<typename _InputIter1, typename _InputIter2, typename _Compare> > bool > includes(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, _Compare __comp) > { ># 3639 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (__comp(*__first2, *__first1)) > return false; > else if(__comp(*__first1, *__first2)) > ++__first1; > else > ++__first1, ++__first2; > > return __first2 == __last2; > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter> > _OutputIter > set_union(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result) > { ># 3667 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) { > if (*__first1 < *__first2) { > *__result = *__first1; > ++__first1; > } > else if (*__first2 < *__first1) { > *__result = *__first2; > ++__first2; > } > else { > *__result = *__first1; > ++__first1; > ++__first2; > } > ++__result; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _Compare> > _OutputIter > set_union(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result, _Compare __comp) > { ># 3705 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) { > if (__comp(*__first1, *__first2)) { > *__result = *__first1; > ++__first1; > } > else if (__comp(*__first2, *__first1)) { > *__result = *__first2; > ++__first2; > } > else { > *__result = *__first1; > ++__first1; > ++__first2; > } > ++__result; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter> > _OutputIter > set_intersection(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result) > { ># 3741 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (*__first1 < *__first2) > ++__first1; > else if (*__first2 < *__first1) > ++__first2; > else { > *__result = *__first1; > ++__first1; > ++__first2; > ++__result; > } > return __result; > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _Compare> > _OutputIter > set_intersection(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result, _Compare __comp) > { ># 3774 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (__comp(*__first1, *__first2)) > ++__first1; > else if (__comp(*__first2, *__first1)) > ++__first2; > else { > *__result = *__first1; > ++__first1; > ++__first2; > ++__result; > } > return __result; > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter> > _OutputIter > set_difference(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result) > { ># 3805 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (*__first1 < *__first2) { > *__result = *__first1; > ++__first1; > ++__result; > } > else if (*__first2 < *__first1) > ++__first2; > else { > ++__first1; > ++__first2; > } > return copy(__first1, __last1, __result); > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _Compare> > _OutputIter > set_difference(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result, _Compare __comp) > { ># 3839 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (__comp(*__first1, *__first2)) { > *__result = *__first1; > ++__first1; > ++__result; > } > else if (__comp(*__first2, *__first1)) > ++__first2; > else { > ++__first1; > ++__first2; > } > return copy(__first1, __last1, __result); > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter> > _OutputIter > set_symmetric_difference(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result) > { ># 3871 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (*__first1 < *__first2) { > *__result = *__first1; > ++__first1; > ++__result; > } > else if (*__first2 < *__first1) { > *__result = *__first2; > ++__first2; > ++__result; > } > else { > ++__first1; > ++__first2; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } > > template<typename _InputIter1, typename _InputIter2, typename _OutputIter, > typename _Compare> > _OutputIter > set_symmetric_difference(_InputIter1 __first1, _InputIter1 __last1, > _InputIter2 __first2, _InputIter2 __last2, > _OutputIter __result, > _Compare __comp) > { ># 3909 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > while (__first1 != __last1 && __first2 != __last2) > if (__comp(*__first1, *__first2)) { > *__result = *__first1; > ++__first1; > ++__result; > } > else if (__comp(*__first2, *__first1)) { > *__result = *__first2; > ++__first2; > ++__result; > } > else { > ++__first1; > ++__first2; > } > return copy(__first2, __last2, copy(__first1, __last1, __result)); > } > > > > > template<typename _ForwardIter> > _ForwardIter > max_element(_ForwardIter __first, _ForwardIter __last) > { > > > > > > if (__first == __last) return __first; > _ForwardIter __result = __first; > while (++__first != __last) > if (*__result < *__first) > __result = __first; > return __result; > } > > template<typename _ForwardIter, typename _Compare> > _ForwardIter > max_element(_ForwardIter __first, _ForwardIter __last, > _Compare __comp) > { > > > > > > > if (__first == __last) return __first; > _ForwardIter __result = __first; > while (++__first != __last) > if (__comp(*__result, *__first)) __result = __first; > return __result; > } > > template<typename _ForwardIter> > _ForwardIter > min_element(_ForwardIter __first, _ForwardIter __last) > { > > > > > > if (__first == __last) return __first; > _ForwardIter __result = __first; > while (++__first != __last) > if (*__first < *__result) > __result = __first; > return __result; > } > > template<typename _ForwardIter, typename _Compare> > _ForwardIter > min_element(_ForwardIter __first, _ForwardIter __last, > _Compare __comp) > { > > > > > > > if (__first == __last) return __first; > _ForwardIter __result = __first; > while (++__first != __last) > if (__comp(*__first, *__result)) > __result = __first; > return __result; > } > > > > > template<typename _BidirectionalIter> > bool > next_permutation(_BidirectionalIter __first, _BidirectionalIter __last) > { > > > > > > if (__first == __last) > return false; > _BidirectionalIter __i = __first; > ++__i; > if (__i == __last) > return false; > __i = __last; > --__i; > > for(;;) { > _BidirectionalIter __ii = __i; > --__i; > if (*__i < *__ii) { > _BidirectionalIter __j = __last; > while (!(*__i < *--__j)) > {} > iter_swap(__i, __j); > reverse(__ii, __last); > return true; > } > if (__i == __first) { > reverse(__first, __last); > return false; > } > } > } > > template<typename _BidirectionalIter, typename _Compare> > bool > next_permutation(_BidirectionalIter __first, _BidirectionalIter __last, > _Compare __comp) > { > > > > > > > if (__first == __last) > return false; > _BidirectionalIter __i = __first; > ++__i; > if (__i == __last) > return false; > __i = __last; > --__i; > > for(;;) { > _BidirectionalIter __ii = __i; > --__i; > if (__comp(*__i, *__ii)) { > _BidirectionalIter __j = __last; > while (!__comp(*__i, *--__j)) > {} > iter_swap(__i, __j); > reverse(__ii, __last); > return true; > } > if (__i == __first) { > reverse(__first, __last); > return false; > } > } > } > > template<typename _BidirectionalIter> > bool > prev_permutation(_BidirectionalIter __first, _BidirectionalIter __last) > { > > > > > > if (__first == __last) > return false; > _BidirectionalIter __i = __first; > ++__i; > if (__i == __last) > return false; > __i = __last; > --__i; > > for(;;) { > _BidirectionalIter __ii = __i; > --__i; > if (*__ii < *__i) { > _BidirectionalIter __j = __last; > while (!(*--__j < *__i)) > {} > iter_swap(__i, __j); > reverse(__ii, __last); > return true; > } > if (__i == __first) { > reverse(__first, __last); > return false; > } > } > } > > template<typename _BidirectionalIter, typename _Compare> > bool > prev_permutation(_BidirectionalIter __first, _BidirectionalIter __last, > _Compare __comp) > { > > > > > > > if (__first == __last) > return false; > _BidirectionalIter __i = __first; > ++__i; > if (__i == __last) > return false; > __i = __last; > --__i; > > for(;;) { > _BidirectionalIter __ii = __i; > --__i; > if (__comp(*__ii, *__i)) { > _BidirectionalIter __j = __last; > while (!__comp(*--__j, *__i)) > {} > iter_swap(__i, __j); > reverse(__ii, __last); > return true; > } > if (__i == __first) { > reverse(__first, __last); > return false; > } > } > } > > > > template<typename _InputIter, typename _ForwardIter> > _InputIter > find_first_of(_InputIter __first1, _InputIter __last1, > _ForwardIter __first2, _ForwardIter __last2) > { > > > > > > > > for ( ; __first1 != __last1; ++__first1) > for (_ForwardIter __iter = __first2; __iter != __last2; ++__iter) > if (*__first1 == *__iter) > return __first1; > return __last1; > } > > template<typename _InputIter, typename _ForwardIter, typename _BinaryPredicate> > _InputIter > find_first_of(_InputIter __first1, _InputIter __last1, > _ForwardIter __first2, _ForwardIter __last2, > _BinaryPredicate __comp) > { ># 4189 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > for ( ; __first1 != __last1; ++__first1) > for (_ForwardIter __iter = __first2; __iter != __last2; ++__iter) > if (__comp(*__first1, *__iter)) > return __first1; > return __last1; > } ># 4203 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_algo.h" 3 > template<typename _ForwardIter1, typename _ForwardIter2> > _ForwardIter1 > __find_end(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2, > forward_iterator_tag, forward_iterator_tag) > { > if (__first2 == __last2) > return __last1; > else { > _ForwardIter1 __result = __last1; > while (1) { > _ForwardIter1 __new_result > = search(__first1, __last1, __first2, __last2); > if (__new_result == __last1) > return __result; > else { > __result = __new_result; > __first1 = __new_result; > ++__first1; > } > } > } > } > > template<typename _ForwardIter1, typename _ForwardIter2, > typename _BinaryPredicate> > _ForwardIter1 > __find_end(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2, > forward_iterator_tag, forward_iterator_tag, > _BinaryPredicate __comp) > { > if (__first2 == __last2) > return __last1; > else { > _ForwardIter1 __result = __last1; > while (1) { > _ForwardIter1 __new_result > = search(__first1, __last1, __first2, __last2, __comp); > if (__new_result == __last1) > return __result; > else { > __result = __new_result; > __first1 = __new_result; > ++__first1; > } > } > } > } > > > template<typename _BidirectionalIter1, typename _BidirectionalIter2> > _BidirectionalIter1 > __find_end(_BidirectionalIter1 __first1, _BidirectionalIter1 __last1, > _BidirectionalIter2 __first2, _BidirectionalIter2 __last2, > bidirectional_iterator_tag, bidirectional_iterator_tag) > { > > > > > typedef reverse_iterator<_BidirectionalIter1> _RevIter1; > typedef reverse_iterator<_BidirectionalIter2> _RevIter2; > > _RevIter1 __rlast1(__first1); > _RevIter2 __rlast2(__first2); > _RevIter1 __rresult = search(_RevIter1(__last1), __rlast1, > _RevIter2(__last2), __rlast2); > > if (__rresult == __rlast1) > return __last1; > else { > _BidirectionalIter1 __result = __rresult.base(); > advance(__result, -distance(__first2, __last2)); > return __result; > } > } > > template<typename _BidirectionalIter1, typename _BidirectionalIter2, > typename _BinaryPredicate> > _BidirectionalIter1 > __find_end(_BidirectionalIter1 __first1, _BidirectionalIter1 __last1, > _BidirectionalIter2 __first2, _BidirectionalIter2 __last2, > bidirectional_iterator_tag, bidirectional_iterator_tag, > _BinaryPredicate __comp) > { > > > > > typedef reverse_iterator<_BidirectionalIter1> _RevIter1; > typedef reverse_iterator<_BidirectionalIter2> _RevIter2; > > _RevIter1 __rlast1(__first1); > _RevIter2 __rlast2(__first2); > _RevIter1 __rresult = search(_RevIter1(__last1), __rlast1, > _RevIter2(__last2), __rlast2, > __comp); > > if (__rresult == __rlast1) > return __last1; > else { > _BidirectionalIter1 __result = __rresult.base(); > advance(__result, -distance(__first2, __last2)); > return __result; > } > } > > > > template<typename _ForwardIter1, typename _ForwardIter2> > inline _ForwardIter1 > find_end(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2) > { > > > > > > > > return __find_end(__first1, __last1, __first2, __last2, > __iterator_category(__first1), > __iterator_category(__first2)); > } > > template<typename _ForwardIter1, typename _ForwardIter2, > typename _BinaryPredicate> > inline _ForwardIter1 > find_end(_ForwardIter1 __first1, _ForwardIter1 __last1, > _ForwardIter2 __first2, _ForwardIter2 __last2, > _BinaryPredicate __comp) > { > > > > > > > > return __find_end(__first1, __last1, __first2, __last2, > __iterator_category(__first1), > __iterator_category(__first2), > __comp); > } > >} ># 70 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/algorithm" 2 3 ># 57 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.tcc" 1 3 ># 44 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.tcc" 3 ># 45 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.tcc" 3 > >namespace std >{ > template<typename _CharT, typename _Traits, typename _Alloc> > const typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > _Rep::_S_max_size = (((npos - sizeof(_Rep))/sizeof(_CharT)) - 1) / 4; > > template<typename _CharT, typename _Traits, typename _Alloc> > const _CharT > basic_string<_CharT, _Traits, _Alloc>:: > _Rep::_S_terminal = _CharT(); > > template<typename _CharT, typename _Traits, typename _Alloc> > const typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>::npos; > > > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>::_S_empty_rep_storage[ > (sizeof(_Rep) + sizeof(_CharT) + sizeof(size_type) - 1)/sizeof(size_type)]; > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InIter> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(_InIter __beg, _InIter __end, const _Alloc& __a, > input_iterator_tag) > { > if (__beg == __end && __a == _Alloc()) > return _S_empty_rep()._M_refcopy(); > > _CharT __buf[100]; > size_type __i = 0; > while (__beg != __end && __i < sizeof(__buf) / sizeof(_CharT)) > { > __buf[__i++] = *__beg; > ++__beg; > } > _Rep* __r = _Rep::_S_create(__i, __a); > traits_type::copy(__r->_M_refdata(), __buf, __i); > __r->_M_length = __i; > try > { > > > > for (;;) > { > _CharT* __p = __r->_M_refdata() + __r->_M_length; > _CharT* __last = __r->_M_refdata() + __r->_M_capacity; > for (;;) > { > if (__beg == __end) > { > __r->_M_length = __p - __r->_M_refdata(); > *__p = _Rep::_S_terminal; > return __r->_M_refdata(); > } > if (__p == __last) > break; > *__p++ = *__beg; > ++__beg; > } > > size_type __len = __p - __r->_M_refdata(); > _Rep* __another = _Rep::_S_create(__len + 1, __a); > traits_type::copy(__another->_M_refdata(), > __r->_M_refdata(), __len); > __r->_M_destroy(__a); > __r = __another; > __r->_M_length = __len; > } > } > catch(...) > { > __r->_M_destroy(__a); > throw; > } > return 0; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > template <class _InIter> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(_InIter __beg, _InIter __end, const _Alloc& __a, > forward_iterator_tag) > { > if (__beg == __end && __a == _Alloc()) > return _S_empty_rep()._M_refcopy(); > > > if (__builtin_expect(__beg == _InIter(), 0)) > __throw_logic_error("attempt to create string with null pointer"); > > size_type __dnew = static_cast<size_type>(std::distance(__beg, __end)); > > > _Rep* __r = _Rep::_S_create(__dnew, __a); > try > { _S_copy_chars(__r->_M_refdata(), __beg, __end); } > catch(...) > { > __r->_M_destroy(__a); > throw; > } > __r->_M_length = __dnew; > > __r->_M_refdata()[__dnew] = _Rep::_S_terminal; > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(size_type __n, _CharT __c, const _Alloc& __a) > { > if (__n == 0 && __a == _Alloc()) > return _S_empty_rep()._M_refcopy(); > > > _Rep* __r = _Rep::_S_create(__n, __a); > try > { > if (__n) > traits_type::assign(__r->_M_refdata(), __n, __c); > } > catch(...) > { > __r->_M_destroy(__a); > throw; > } > __r->_M_length = __n; > __r->_M_refdata()[__n] = _Rep::_S_terminal; > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str) > : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(), __str.get_allocator()), > __str.get_allocator()) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _Alloc& __a) > : _M_dataplus(_S_construct(size_type(), _CharT(), __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str, size_type __pos, size_type __n) > : _M_dataplus(_S_construct(__str._M_check(__pos), > __str._M_fold(__pos, __n), _Alloc()), _Alloc()) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str, size_type __pos, > size_type __n, const _Alloc& __a) > : _M_dataplus(_S_construct(__str._M_check(__pos), > __str._M_fold(__pos, __n), __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _CharT* __s, size_type __n, const _Alloc& __a) > : _M_dataplus(_S_construct(__s, __s + __n, __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _CharT* __s, const _Alloc& __a) > : _M_dataplus(_S_construct(__s, __s ? __s + traits_type::length(__s) : > __s + npos, __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(size_type __n, _CharT __c, const _Alloc& __a) > : _M_dataplus(_S_construct(__n, __c, __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InputIter> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(_InputIter __beg, _InputIter __end, const _Alloc& __a) > : _M_dataplus(_S_construct(__beg, __end, __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>::assign(const basic_string& __str) > { > if (_M_rep() != __str._M_rep()) > { > > allocator_type __a = this->get_allocator(); > _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); > _M_rep()->_M_dispose(__a); > _M_data(__tmp); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > assign(const basic_string& __str, size_type __pos, size_type __n) > { > const size_type __strsize = __str.size(); > if (__pos > __strsize) > __throw_out_of_range("basic_string::assign"); > const bool __testn = __n < __strsize - __pos; > const size_type __newsize = __testn ? __n : __strsize - __pos; > return this->assign(__str._M_data() + __pos, __newsize); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > assign(const _CharT* __s, size_type __n) > { > if (__n > this->max_size()) > __throw_length_error("basic_string::assign"); > if (_M_rep()->_M_is_shared() || less<const _CharT*>()(__s, _M_data()) > || less<const _CharT*>()(_M_data() + this->size(), __s)) > return _M_replace_safe(_M_ibegin(), _M_iend(), __s, __s + __n); > else > { > > const size_type __pos = __s - _M_data(); > if (__pos >= __n) > traits_type::copy(_M_data(), __s, __n); > else if (__pos) > traits_type::move(_M_data(), __s, __n); > _M_rep()->_M_length = __n; > _M_data()[__n] = _Rep::_S_terminal; > return *this; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > insert(size_type __pos1, const basic_string& __str, > size_type __pos2, size_type __n) > { > const size_type __strsize = __str.size(); > if (__pos2 > __strsize) > __throw_out_of_range("basic_string::insert"); > const bool __testn = __n < __strsize - __pos2; > const size_type __newsize = __testn ? __n : __strsize - __pos2; > return this->insert(__pos1, __str._M_data() + __pos2, __newsize); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > insert(size_type __pos, const _CharT* __s, size_type __n) > { > const size_type __size = this->size(); > if (__pos > __size) > __throw_out_of_range("basic_string::insert"); > if (__size > this->max_size() - __n) > __throw_length_error("basic_string::insert"); > if (_M_rep()->_M_is_shared() || less<const _CharT*>()(__s, _M_data()) > || less<const _CharT*>()(_M_data() + __size, __s)) > return _M_replace_safe(_M_ibegin() + __pos, _M_ibegin() + __pos, > __s, __s + __n); > else > { > > > > const size_type __off = __s - _M_data(); > _M_mutate(__pos, 0, __n); > __s = _M_data() + __off; > _CharT* __p = _M_data() + __pos; > if (__s + __n <= __p) > traits_type::copy(__p, __s, __n); > else if (__s >= __p) > traits_type::copy(__p, __s + __n, __n); > else > { > traits_type::copy(__p, __s, __p - __s); > traits_type::copy(__p + (__p-__s), __p + __n, __n - (__p-__s)); > } > return *this; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > replace(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) > { > const size_type __size = this->size(); > if (__pos > __size) > __throw_out_of_range("basic_string::replace"); > const bool __testn1 = __n1 < __size - __pos; > const size_type __foldn1 = __testn1 ? __n1 : __size - __pos; > if (__size - __foldn1 > this->max_size() - __n2) > __throw_length_error("basic_string::replace"); > if (_M_rep()->_M_is_shared() || less<const _CharT*>()(__s, _M_data()) > || less<const _CharT*>()(_M_data() + __size, __s)) > return _M_replace_safe(_M_ibegin() + __pos, > _M_ibegin() + __pos + __foldn1, __s, __s + __n2); > > else > return _M_replace(_M_ibegin() + __pos, _M_ibegin() + __pos + __foldn1, > __s, __s + __n2, > typename iterator_traits<const _CharT*>::iterator_category()); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _M_destroy(const _Alloc& __a) throw () > { > size_type __size = sizeof(_Rep) + (_M_capacity + 1) * sizeof(_CharT); > _Raw_bytes_alloc(__a).deallocate(reinterpret_cast<char*>(this), __size); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>::_M_leak_hard() > { > if (_M_rep()->_M_is_shared()) > _M_mutate(0, 0, 0); > _M_rep()->_M_set_leaked(); > } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > _M_mutate(size_type __pos, size_type __len1, size_type __len2) > { > size_type __old_size = this->size(); > const size_type __new_size = __old_size + __len2 - __len1; > const _CharT* __src = _M_data() + __pos + __len1; > const size_type __how_much = __old_size - __pos - __len1; > > if (_M_rep()->_M_is_shared() || __new_size > capacity()) > { > > allocator_type __a = get_allocator(); > > > const size_type __pagesize = 4096; > const size_type __malloc_header_size = 4 * sizeof (void*); > > const size_type __page_capacity = (__pagesize - __malloc_header_size > - sizeof(_Rep) - sizeof(_CharT)) > / sizeof(_CharT); > _Rep* __r; > if (__new_size > capacity() && __new_size > __page_capacity) > > __r = _Rep::_S_create(__new_size > 2*capacity() ? > __new_size : 2*capacity(), __a); > else > __r = _Rep::_S_create(__new_size, __a); > try > { > if (__pos) > traits_type::copy(__r->_M_refdata(), _M_data(), __pos); > if (__how_much) > traits_type::copy(__r->_M_refdata() + __pos + __len2, > __src, __how_much); > } > catch(...) > { > __r->_M_dispose(get_allocator()); > throw; > } > _M_rep()->_M_dispose(__a); > _M_data(__r->_M_refdata()); > } > else if (__how_much && __len1 != __len2) > { > > traits_type::move(_M_data() + __pos + __len2, __src, __how_much); > } > _M_rep()->_M_set_sharable(); > _M_rep()->_M_length = __new_size; > _M_data()[__new_size] = _Rep::_S_terminal; > > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>::reserve(size_type __res) > { > if (__res > this->capacity() || _M_rep()->_M_is_shared()) > { > if (__res > this->max_size()) > __throw_length_error("basic_string::reserve"); > > if (__res < this->size()) > __res = this->size(); > allocator_type __a = get_allocator(); > _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size()); > _M_rep()->_M_dispose(__a); > _M_data(__tmp); > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void basic_string<_CharT, _Traits, _Alloc>::swap(basic_string& __s) > { > if (_M_rep()->_M_is_leaked()) > _M_rep()->_M_set_sharable(); > if (__s._M_rep()->_M_is_leaked()) > __s._M_rep()->_M_set_sharable(); > if (this->get_allocator() == __s.get_allocator()) > { > _CharT* __tmp = _M_data(); > _M_data(__s._M_data()); > __s._M_data(__tmp); > } > > else > { > basic_string __tmp1(_M_ibegin(), _M_iend(), __s.get_allocator()); > basic_string __tmp2(__s._M_ibegin(), __s._M_iend(), > this->get_allocator()); > *this = __tmp2; > __s = __tmp1; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::_Rep* > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _S_create(size_t __capacity, const _Alloc& __alloc) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > > > if (__capacity > _S_max_size) > > > > __throw_length_error("basic_string::_S_create"); > > > > > size_t __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); ># 532 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/basic_string.tcc" 3 > const size_t __pagesize = 4096; > const size_t __subpagesize = 128; > const size_t __malloc_header_size = 4 * sizeof (void*); > if ((__size + __malloc_header_size) > __pagesize) > { > size_t __extra = > (__pagesize - ((__size + __malloc_header_size) % __pagesize)) > % __pagesize; > __capacity += __extra / sizeof(_CharT); > __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); > } > else if (__size > __subpagesize) > { > size_t __extra = > (__subpagesize - ((__size + __malloc_header_size) % __subpagesize)) > % __subpagesize; > __capacity += __extra / sizeof(_CharT); > __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); > } > > > > void* __place = _Raw_bytes_alloc(__alloc).allocate(__size); > _Rep *__p = new (__place) _Rep; > __p->_M_capacity = __capacity; > __p->_M_set_sharable(); > __p->_M_length = 0; > return __p; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > _CharT* > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _M_clone(const _Alloc& __alloc, size_type __res) > { > > const size_type __requested_cap = _M_length + __res; > > const size_type __pagesize = 4096; > const size_type __malloc_header_size = 4 * sizeof (void*); > > const size_type __page_capacity = > (__pagesize - __malloc_header_size - sizeof(_Rep) - sizeof(_CharT)) > / sizeof(_CharT); > _Rep* __r; > if (__requested_cap > _M_capacity && __requested_cap > __page_capacity) > > __r = _Rep::_S_create(__requested_cap > 2*_M_capacity ? > __requested_cap : 2*_M_capacity, __alloc); > else > __r = _Rep::_S_create(__requested_cap, __alloc); > > if (_M_length) > { > try > { traits_type::copy(__r->_M_refdata(), _M_refdata(), _M_length); } > catch(...) > { > __r->_M_destroy(__alloc); > throw; > } > } > __r->_M_length = _M_length; > __r->_M_refdata()[_M_length] = _Rep::_S_terminal; > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>::resize(size_type __n, _CharT __c) > { > if (__n > max_size()) > __throw_length_error("basic_string::resize"); > size_type __size = this->size(); > if (__size < __n) > this->append(__n - __size, __c); > else if (__n < __size) > this->erase(__n); > > } > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InputIter> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > _M_replace(iterator __i1, iterator __i2, _InputIter __k1, > _InputIter __k2, input_iterator_tag) > { > > basic_string __s(__k1, __k2); > return _M_replace_safe(__i1, __i2, __s._M_ibegin(), __s._M_iend()); > } > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _ForwardIter> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > _M_replace_safe(iterator __i1, iterator __i2, _ForwardIter __k1, > _ForwardIter __k2) > { > size_type __dnew = static_cast<size_type>(std::distance(__k1, __k2)); > size_type __dold = __i2 - __i1; > size_type __dmax = this->max_size(); > > if (__dmax <= __dnew) > __throw_length_error("basic_string::_M_replace"); > size_type __off = __i1 - _M_ibegin(); > _M_mutate(__off, __dold, __dnew); > > > if (__dnew) > _S_copy_chars(_M_data() + __off, __k1, __k2); > > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > replace(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) > { > const size_type __strsize = __str.size(); > if (__pos2 > __strsize) > __throw_out_of_range("basic_string::replace"); > const bool __testn2 = __n2 < __strsize - __pos2; > const size_type __foldn2 = __testn2 ? __n2 : __strsize - __pos2; > return this->replace(__pos1, __n1, > __str._M_data() + __pos2, __foldn2); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const basic_string& __str) > { > > > > size_type __size = __str.size(); > size_type __len = __size + this->size(); > if (__len > this->capacity()) > this->reserve(__len); > return _M_replace_safe(_M_iend(), _M_iend(), __str._M_ibegin(), > __str._M_iend()); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const basic_string& __str, size_type __pos, size_type __n) > { > > > > size_type __len = std::min(size_type(__str.size() - __pos), > __n) + this->size(); > if (__len > this->capacity()) > this->reserve(__len); > return _M_replace_safe(_M_iend(), _M_iend(), __str._M_check(__pos), > __str._M_fold(__pos, __n)); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const _CharT* __s, size_type __n) > { > size_type __len = __n + this->size(); > if (__len > this->capacity()) > this->reserve(__len); > return _M_replace_safe(_M_iend(), _M_iend(), __s, __s + __n); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(size_type __n, _CharT __c) > { > size_type __len = __n + this->size(); > if (__len > this->capacity()) > this->reserve(__len); > return this->replace(_M_iend(), _M_iend(), __n, __c); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > __size_type __len = _Traits::length(__lhs); > __string_type __str; > __str.reserve(__len + __rhs.size()); > __str.append(__lhs, __lhs + __len); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > __string_type __str; > __size_type __len = __rhs.size(); > __str.reserve(__len + 1); > __str.append(__size_type(1), __lhs); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > replace(iterator __i1, iterator __i2, size_type __n2, _CharT __c) > { > size_type __n1 = __i2 - __i1; > size_type __off1 = __i1 - _M_ibegin(); > if (max_size() - (this->size() - __n1) <= __n2) > __throw_length_error("basic_string::replace"); > _M_mutate (__off1, __n1, __n2); > > if (__n2) > traits_type::assign(_M_data() + __off1, __n2, __c); > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > copy(_CharT* __s, size_type __n, size_type __pos) const > { > if (__pos > this->size()) > __throw_out_of_range("basic_string::copy"); > > if (__n > this->size() - __pos) > __n = this->size() - __pos; > > traits_type::copy(__s, _M_data() + __pos, __n); > > return __n; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find(const _CharT* __s, size_type __pos, size_type __n) const > { > size_type __size = this->size(); > size_t __xpos = __pos; > const _CharT* __data = _M_data(); > for (; __xpos + __n <= __size; ++__xpos) > if (traits_type::compare(__data + __xpos, __s, __n) == 0) > return __xpos; > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find(_CharT __c, size_type __pos) const > { > size_type __size = this->size(); > size_type __ret = npos; > if (__pos < __size) > { > const _CharT* __data = _M_data(); > size_type __n = __size - __pos; > const _CharT* __p = traits_type::find(__data + __pos, __n, __c); > if (__p) > __ret = __p - __data; > } > return __ret; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > rfind(const _CharT* __s, size_type __pos, size_type __n) const > { > size_type __size = this->size(); > if (__n <= __size) > { > __pos = std::min(size_type(__size - __n), __pos); > const _CharT* __data = _M_data(); > do > { > if (traits_type::compare(__data + __pos, __s, __n) == 0) > return __pos; > } > while (__pos-- > 0); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > rfind(_CharT __c, size_type __pos) const > { > size_type __size = this->size(); > if (__size) > { > size_t __xpos = __size - 1; > if (__xpos > __pos) > __xpos = __pos; > > for (++__xpos; __xpos-- > 0; ) > if (traits_type::eq(_M_data()[__xpos], __c)) > return __xpos; > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_of(const _CharT* __s, size_type __pos, size_type __n) const > { > for (; __n && __pos < this->size(); ++__pos) > { > const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]); > if (__p) > return __pos; > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_of(const _CharT* __s, size_type __pos, size_type __n) const > { > size_type __size = this->size(); > if (__size && __n) > { > if (--__size > __pos) > __size = __pos; > do > { > if (traits_type::find(__s, __n, _M_data()[__size])) > return __size; > } > while (__size-- != 0); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const > { > size_t __xpos = __pos; > for (; __xpos < this->size(); ++__xpos) > if (!traits_type::find(__s, __n, _M_data()[__xpos])) > return __xpos; > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_not_of(_CharT __c, size_type __pos) const > { > size_t __xpos = __pos; > for (; __xpos < this->size(); ++__xpos) > if (!traits_type::eq(_M_data()[__xpos], __c)) > return __xpos; > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const > { > size_type __size = this->size(); > if (__size) > { > if (--__size > __pos) > __size = __pos; > do > { > if (!traits_type::find(__s, __n, _M_data()[__size])) > return __size; > } > while (__size--); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_not_of(_CharT __c, size_type __pos) const > { > size_type __size = this->size(); > if (__size) > { > if (--__size > __pos) > __size = __pos; > do > { > if (!traits_type::eq(_M_data()[__size], __c)) > return __size; > } > while (__size--); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n, const basic_string& __str) const > { > size_type __size = this->size(); > size_type __osize = __str.size(); > if (__pos > __size) > __throw_out_of_range("basic_string::compare"); > > size_type __rsize= std::min(size_type(__size - __pos), __n); > size_type __len = std::min(__rsize, __osize); > int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len); > if (!__r) > __r = __rsize - __osize; > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) const > { > size_type __size = this->size(); > size_type __osize = __str.size(); > if (__pos1 > __size || __pos2 > __osize) > __throw_out_of_range("basic_string::compare"); > > size_type __rsize = std::min(size_type(__size - __pos1), __n1); > size_type __rosize = std::min(size_type(__osize - __pos2), __n2); > size_type __len = std::min(__rsize, __rosize); > int __r = traits_type::compare(_M_data() + __pos1, > __str.data() + __pos2, __len); > if (!__r) > __r = __rsize - __rosize; > return __r; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(const _CharT* __s) const > { > size_type __size = this->size(); > size_type __osize = traits_type::length(__s); > size_type __len = std::min(__size, __osize); > int __r = traits_type::compare(_M_data(), __s, __len); > if (!__r) > __r = __size - __osize; > return __r; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string <_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n1, const _CharT* __s) const > { > size_type __size = this->size(); > if (__pos > __size) > __throw_out_of_range("basic_string::compare"); > > size_type __osize = traits_type::length(__s); > size_type __rsize = std::min(size_type(__size - __pos), __n1); > size_type __len = std::min(__rsize, __osize); > int __r = traits_type::compare(_M_data() + __pos, __s, __len); > if (!__r) > __r = __rsize - __osize; > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string <_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) const > { > size_type __size = this->size(); > if (__pos > __size) > __throw_out_of_range("basic_string::compare"); > > size_type __rsize = std::min(size_type(__size - __pos), __n1); > size_type __len = std::min(__rsize, __n2); > int __r = traits_type::compare(_M_data() + __pos, __s, __len); > if (!__r) > __r = __rsize - __n2; > return __r; > } > > template <class _CharT, class _Traits, class _Alloc> > void > _S_string_copy(const basic_string<_CharT, _Traits, _Alloc>& __str, > _CharT* __buf, typename _Alloc::size_type __bufsiz) > { > typedef typename _Alloc::size_type size_type; > size_type __strsize = __str.size(); > size_type __bytes = std::min(__strsize, __bufsiz - 1); > _Traits::copy(__buf, __str.data(), __bytes); > __buf[__bytes] = _CharT(); > } > > > > > > extern template class basic_string<char>; > extern template > basic_istream<char>& > operator>>(basic_istream<char>&, string&); > extern template > basic_ostream<char>& > operator<<(basic_ostream<char>&, const string&); > extern template > basic_istream<char>& > getline(basic_istream<char>&, string&, char); > extern template > basic_istream<char>& > getline(basic_istream<char>&, string&); > > > extern template class basic_string<wchar_t>; > extern template > basic_istream<wchar_t>& > operator>>(basic_istream<wchar_t>&, wstring&); > extern template > basic_ostream<wchar_t>& > operator<<(basic_ostream<wchar_t>&, const wstring&); > extern template > basic_istream<wchar_t>& > getline(basic_istream<wchar_t>&, wstring&, wchar_t); > extern template > basic_istream<wchar_t>& > getline(basic_istream<wchar_t>&, wstring&); > > >} ># 58 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/string" 2 3 ># 34 "preferences.h" 2 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 3 ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_tree.h" 1 3 ># 91 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_tree.h" 3 >namespace std >{ > enum _Rb_tree_color { _M_red = false, _M_black = true }; > > struct _Rb_tree_node_base > { > typedef _Rb_tree_node_base* _Base_ptr; > > _Rb_tree_color _M_color; > _Base_ptr _M_parent; > _Base_ptr _M_left; > _Base_ptr _M_right; > > static _Base_ptr > _S_minimum(_Base_ptr __x) > { > while (__x->_M_left != 0) __x = __x->_M_left; > return __x; > } > > static _Base_ptr > _S_maximum(_Base_ptr __x) > { > while (__x->_M_right != 0) __x = __x->_M_right; > return __x; > } > }; > > template<typename _Val> > struct _Rb_tree_node : public _Rb_tree_node_base > { > typedef _Rb_tree_node<_Val>* _Link_type; > _Val _M_value_field; > }; > > struct _Rb_tree_base_iterator > { > typedef _Rb_tree_node_base::_Base_ptr _Base_ptr; > typedef bidirectional_iterator_tag iterator_category; > typedef ptrdiff_t difference_type; > > _Base_ptr _M_node; > > void > _M_increment() > { > if (_M_node->_M_right != 0) > { > _M_node = _M_node->_M_right; > while (_M_node->_M_left != 0) > _M_node = _M_node->_M_left; > } > else > { > _Base_ptr __y = _M_node->_M_parent; > while (_M_node == __y->_M_right) > { > _M_node = __y; > __y = __y->_M_parent; > } > if (_M_node->_M_right != __y) > _M_node = __y; > } > } > > void > _M_decrement() > { > if (_M_node->_M_color == _M_red > && _M_node->_M_parent->_M_parent == _M_node) > _M_node = _M_node->_M_right; > else if (_M_node->_M_left != 0) > { > _Base_ptr __y = _M_node->_M_left; > while (__y->_M_right != 0) > __y = __y->_M_right; > _M_node = __y; > } > else > { > _Base_ptr __y = _M_node->_M_parent; > while (_M_node == __y->_M_left) > { > _M_node = __y; > __y = __y->_M_parent; > } > _M_node = __y; > } > } > }; > > template<typename _Val, typename _Ref, typename _Ptr> > struct _Rb_tree_iterator : public _Rb_tree_base_iterator > { > typedef _Val value_type; > typedef _Ref reference; > typedef _Ptr pointer; > typedef _Rb_tree_iterator<_Val, _Val&, _Val*> iterator; > typedef _Rb_tree_iterator<_Val, const _Val&, const _Val*> > const_iterator; > typedef _Rb_tree_iterator<_Val, _Ref, _Ptr> _Self; > typedef _Rb_tree_node<_Val>* _Link_type; > > _Rb_tree_iterator() {} > _Rb_tree_iterator(_Link_type __x) { _M_node = __x; } > _Rb_tree_iterator(const iterator& __it) { _M_node = __it._M_node; } > > reference > operator*() const { return _Link_type(_M_node)->_M_value_field; } > > pointer > operator->() const { return &(operator*()); } > > _Self& > operator++() > { > _M_increment(); > return *this; > } > > _Self > operator++(int) > { > _Self __tmp = *this; > _M_increment(); > return __tmp; > } > > _Self& > operator--() { _M_decrement(); return *this; } > > _Self > operator--(int) > { > _Self __tmp = *this; > _M_decrement(); > return __tmp; > } > }; > > template<typename _Val, typename _Ref, typename _Ptr> > inline bool > operator==(const _Rb_tree_iterator<_Val, _Ref, _Ptr>& __x, > const _Rb_tree_iterator<_Val, _Ref, _Ptr>& __y) > { return __x._M_node == __y._M_node; } > > template<typename _Val> > inline bool > operator==(const _Rb_tree_iterator<_Val, const _Val&, const _Val*>& __x, > const _Rb_tree_iterator<_Val, _Val&, _Val*>& __y) > { return __x._M_node == __y._M_node; } > > template<typename _Val> > inline bool > operator==(const _Rb_tree_iterator<_Val, _Val&, _Val*>& __x, > const _Rb_tree_iterator<_Val, const _Val&, const _Val*>& __y) > { return __x._M_node == __y._M_node; } > > template<typename _Val, typename _Ref, typename _Ptr> > inline bool > operator!=(const _Rb_tree_iterator<_Val, _Ref, _Ptr>& __x, > const _Rb_tree_iterator<_Val, _Ref, _Ptr>& __y) > { return __x._M_node != __y._M_node; } > > template<typename _Val> > inline bool > operator!=(const _Rb_tree_iterator<_Val, const _Val&, const _Val*>& __x, > const _Rb_tree_iterator<_Val, _Val&, _Val*>& __y) > { return __x._M_node != __y._M_node; } > > template<typename _Val> > inline bool > operator!=(const _Rb_tree_iterator<_Val, _Val&, _Val*>& __x, > const _Rb_tree_iterator<_Val, const _Val&, const _Val*>& __y) > { return __x._M_node != __y._M_node; } > > inline void > _Rb_tree_rotate_left(_Rb_tree_node_base* __x, _Rb_tree_node_base*& __root) > { > _Rb_tree_node_base* __y = __x->_M_right; > __x->_M_right = __y->_M_left; > if (__y->_M_left !=0) > __y->_M_left->_M_parent = __x; > __y->_M_parent = __x->_M_parent; > > if (__x == __root) > __root = __y; > else if (__x == __x->_M_parent->_M_left) > __x->_M_parent->_M_left = __y; > else > __x->_M_parent->_M_right = __y; > __y->_M_left = __x; > __x->_M_parent = __y; > } > > inline void > _Rb_tree_rotate_right(_Rb_tree_node_base* __x, _Rb_tree_node_base*& __root) > { > _Rb_tree_node_base* __y = __x->_M_left; > __x->_M_left = __y->_M_right; > if (__y->_M_right != 0) > __y->_M_right->_M_parent = __x; > __y->_M_parent = __x->_M_parent; > > if (__x == __root) > __root = __y; > else if (__x == __x->_M_parent->_M_right) > __x->_M_parent->_M_right = __y; > else > __x->_M_parent->_M_left = __y; > __y->_M_right = __x; > __x->_M_parent = __y; > } > > inline void > _Rb_tree_rebalance(_Rb_tree_node_base* __x, _Rb_tree_node_base*& __root) > { > __x->_M_color = _M_red; > while (__x != __root > && __x->_M_parent->_M_color == _M_red) > { > if (__x->_M_parent == __x->_M_parent->_M_parent->_M_left) > { > _Rb_tree_node_base* __y = __x->_M_parent->_M_parent->_M_right; > if (__y && __y->_M_color == _M_red) > { > __x->_M_parent->_M_color = _M_black; > __y->_M_color = _M_black; > __x->_M_parent->_M_parent->_M_color = _M_red; > __x = __x->_M_parent->_M_parent; > } > else > { > if (__x == __x->_M_parent->_M_right) > { > __x = __x->_M_parent; > _Rb_tree_rotate_left(__x, __root); > } > __x->_M_parent->_M_color = _M_black; > __x->_M_parent->_M_parent->_M_color = _M_red; > _Rb_tree_rotate_right(__x->_M_parent->_M_parent, __root); > } > } > else > { > _Rb_tree_node_base* __y = __x->_M_parent->_M_parent->_M_left; > if (__y && __y->_M_color == _M_red) > { > __x->_M_parent->_M_color = _M_black; > __y->_M_color = _M_black; > __x->_M_parent->_M_parent->_M_color = _M_red; > __x = __x->_M_parent->_M_parent; > } > else > { > if (__x == __x->_M_parent->_M_left) > { > __x = __x->_M_parent; > _Rb_tree_rotate_right(__x, __root); > } > __x->_M_parent->_M_color = _M_black; > __x->_M_parent->_M_parent->_M_color = _M_red; > _Rb_tree_rotate_left(__x->_M_parent->_M_parent, __root); > } > } > } > __root->_M_color = _M_black; > } > > inline _Rb_tree_node_base* > _Rb_tree_rebalance_for_erase(_Rb_tree_node_base* __z, > _Rb_tree_node_base*& __root, > _Rb_tree_node_base*& __leftmost, > _Rb_tree_node_base*& __rightmost) > { > _Rb_tree_node_base* __y = __z; > _Rb_tree_node_base* __x = 0; > _Rb_tree_node_base* __x_parent = 0; > if (__y->_M_left == 0) > __x = __y->_M_right; > else > if (__y->_M_right == 0) > __x = __y->_M_left; > else > { > > __y = __y->_M_right; > while (__y->_M_left != 0) > __y = __y->_M_left; > __x = __y->_M_right; > } > if (__y != __z) > { > > __z->_M_left->_M_parent = __y; > __y->_M_left = __z->_M_left; > if (__y != __z->_M_right) > { > __x_parent = __y->_M_parent; > if (__x) __x->_M_parent = __y->_M_parent; > __y->_M_parent->_M_left = __x; > __y->_M_right = __z->_M_right; > __z->_M_right->_M_parent = __y; > } > else > __x_parent = __y; > if (__root == __z) > __root = __y; > else if (__z->_M_parent->_M_left == __z) > __z->_M_parent->_M_left = __y; > else > __z->_M_parent->_M_right = __y; > __y->_M_parent = __z->_M_parent; > std::swap(__y->_M_color, __z->_M_color); > __y = __z; > > } > else > { > __x_parent = __y->_M_parent; > if (__x) > __x->_M_parent = __y->_M_parent; > if (__root == __z) > __root = __x; > else > if (__z->_M_parent->_M_left == __z) > __z->_M_parent->_M_left = __x; > else > __z->_M_parent->_M_right = __x; > if (__leftmost == __z) > if (__z->_M_right == 0) > __leftmost = __z->_M_parent; > > else > __leftmost = _Rb_tree_node_base::_S_minimum(__x); > if (__rightmost == __z) > if (__z->_M_left == 0) > __rightmost = __z->_M_parent; > > else > __rightmost = _Rb_tree_node_base::_S_maximum(__x); > } > if (__y->_M_color != _M_red) > { > while (__x != __root && (__x == 0 || __x->_M_color == _M_black)) > if (__x == __x_parent->_M_left) > { > _Rb_tree_node_base* __w = __x_parent->_M_right; > if (__w->_M_color == _M_red) > { > __w->_M_color = _M_black; > __x_parent->_M_color = _M_red; > _Rb_tree_rotate_left(__x_parent, __root); > __w = __x_parent->_M_right; > } > if ((__w->_M_left == 0 || > __w->_M_left->_M_color == _M_black) && > (__w->_M_right == 0 || > __w->_M_right->_M_color == _M_black)) > { > __w->_M_color = _M_red; > __x = __x_parent; > __x_parent = __x_parent->_M_parent; > } > else > { > if (__w->_M_right == 0 > || __w->_M_right->_M_color == _M_black) > { > __w->_M_left->_M_color = _M_black; > __w->_M_color = _M_red; > _Rb_tree_rotate_right(__w, __root); > __w = __x_parent->_M_right; > } > __w->_M_color = __x_parent->_M_color; > __x_parent->_M_color = _M_black; > if (__w->_M_right) > __w->_M_right->_M_color = _M_black; > _Rb_tree_rotate_left(__x_parent, __root); > break; > } > } > else > { > > _Rb_tree_node_base* __w = __x_parent->_M_left; > if (__w->_M_color == _M_red) > { > __w->_M_color = _M_black; > __x_parent->_M_color = _M_red; > _Rb_tree_rotate_right(__x_parent, __root); > __w = __x_parent->_M_left; > } > if ((__w->_M_right == 0 || > __w->_M_right->_M_color == _M_black) && > (__w->_M_left == 0 || > __w->_M_left->_M_color == _M_black)) > { > __w->_M_color = _M_red; > __x = __x_parent; > __x_parent = __x_parent->_M_parent; > } > else > { > if (__w->_M_left == 0 || __w->_M_left->_M_color == _M_black) > { > __w->_M_right->_M_color = _M_black; > __w->_M_color = _M_red; > _Rb_tree_rotate_left(__w, __root); > __w = __x_parent->_M_left; > } > __w->_M_color = __x_parent->_M_color; > __x_parent->_M_color = _M_black; > if (__w->_M_left) > __w->_M_left->_M_color = _M_black; > _Rb_tree_rotate_right(__x_parent, __root); > break; > } > } > if (__x) __x->_M_color = _M_black; > } > return __y; > } > > > > > > > > template<typename _Tp, typename _Alloc, bool _S_instanceless> > class _Rb_tree_alloc_base > { > public: > typedef typename _Alloc_traits<_Tp, _Alloc>::allocator_type allocator_type; > > allocator_type > get_allocator() const { return _M_node_allocator; } > > _Rb_tree_alloc_base(const allocator_type& __a) > : _M_node_allocator(__a), _M_header(0) {} > > protected: > typename _Alloc_traits<_Rb_tree_node<_Tp>, _Alloc>::allocator_type > _M_node_allocator; > > _Rb_tree_node<_Tp>* _M_header; > > _Rb_tree_node<_Tp>* > _M_get_node() { return _M_node_allocator.allocate(1); } > > void > _M_put_node(_Rb_tree_node<_Tp>* __p) > { _M_node_allocator.deallocate(__p, 1); } > }; > > > template<typename _Tp, typename _Alloc> > class _Rb_tree_alloc_base<_Tp, _Alloc, true> > { > public: > typedef typename _Alloc_traits<_Tp, _Alloc>::allocator_type allocator_type; > allocator_type get_allocator() const { return allocator_type(); } > > _Rb_tree_alloc_base(const allocator_type&) : _M_header(0) {} > > protected: > _Rb_tree_node<_Tp>* _M_header; > > typedef typename _Alloc_traits<_Rb_tree_node<_Tp>, _Alloc>::_Alloc_type > _Alloc_type; > > _Rb_tree_node<_Tp>* > _M_get_node() { return _Alloc_type::allocate(1); } > > void > _M_put_node(_Rb_tree_node<_Tp>* __p) { _Alloc_type::deallocate(__p, 1); } > }; > > template<typename _Tp, typename _Alloc> > struct _Rb_tree_base : public _Rb_tree_alloc_base<_Tp, _Alloc, > _Alloc_traits<_Tp, _Alloc>::_S_instanceless> > { > typedef _Rb_tree_alloc_base<_Tp, > _Alloc, _Alloc_traits<_Tp, _Alloc>::_S_instanceless> _Base; > typedef typename _Base::allocator_type allocator_type; > > _Rb_tree_base(const allocator_type& __a) > : _Base(__a) { _M_header = _M_get_node(); } > ~_Rb_tree_base() { _M_put_node(_M_header); } > }; > > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc = allocator<_Val> > > class _Rb_tree : protected _Rb_tree_base<_Val, _Alloc> > { > typedef _Rb_tree_base<_Val, _Alloc> _Base; > > protected: > typedef _Rb_tree_node_base* _Base_ptr; > typedef _Rb_tree_node<_Val> _Rb_tree_node; > > public: > typedef _Key key_type; > typedef _Val value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type& reference; > typedef const value_type& const_reference; > typedef _Rb_tree_node* _Link_type; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > > typedef typename _Base::allocator_type allocator_type; > allocator_type get_allocator() const { return _Base::get_allocator(); } > > protected: > using _Base::_M_get_node; > using _Base::_M_put_node; > using _Base::_M_header; > > _Link_type > _M_create_node(const value_type& __x) > { > _Link_type __tmp = _M_get_node(); > try > { _Construct(&__tmp->_M_value_field, __x); } > catch(...) > { > _M_put_node(__tmp); > throw; > } > return __tmp; > } > > _Link_type > _M_clone_node(_Link_type __x) > { > _Link_type __tmp = _M_create_node(__x->_M_value_field); > __tmp->_M_color = __x->_M_color; > __tmp->_M_left = 0; > __tmp->_M_right = 0; > return __tmp; > } > > void > destroy_node(_Link_type __p) > { > _Destroy(&__p->_M_value_field); > _M_put_node(__p); > } > > size_type _M_node_count; > _Compare _M_key_compare; > > _Link_type& > _M_root() const { return (_Link_type&) _M_header->_M_parent; } > > _Link_type& > _M_leftmost() const { return (_Link_type&) _M_header->_M_left; } > > _Link_type& > _M_rightmost() const { return (_Link_type&) _M_header->_M_right; } > > static _Link_type& > _S_left(_Link_type __x) { return (_Link_type&)(__x->_M_left); } > > static _Link_type& > _S_right(_Link_type __x) { return (_Link_type&)(__x->_M_right); } > > static _Link_type& > _S_parent(_Link_type __x) { return (_Link_type&)(__x->_M_parent); } > > static reference > _S_value(_Link_type __x) { return __x->_M_value_field; } > > static const _Key& > _S_key(_Link_type __x) { return _KeyOfValue()(_S_value(__x)); } > > static _Rb_tree_color& > _S_color(_Link_type __x) { return __x->_M_color; } > > static _Link_type& > _S_left(_Base_ptr __x) { return (_Link_type&)(__x->_M_left); } > > static _Link_type& > _S_right(_Base_ptr __x) { return (_Link_type&)(__x->_M_right); } > > static _Link_type& > _S_parent(_Base_ptr __x) { return (_Link_type&)(__x->_M_parent); } > > static reference > _S_value(_Base_ptr __x) { return ((_Link_type)__x)->_M_value_field; } > > static const _Key& > _S_key(_Base_ptr __x) { return _KeyOfValue()(_S_value(_Link_type(__x)));} > > static _Rb_tree_color& > _S_color(_Base_ptr __x) { return (_Link_type(__x)->_M_color); } > > static _Link_type > _S_minimum(_Link_type __x) > { return (_Link_type) _Rb_tree_node_base::_S_minimum(__x); } > > static _Link_type > _S_maximum(_Link_type __x) > { return (_Link_type) _Rb_tree_node_base::_S_maximum(__x); } > > public: > typedef _Rb_tree_iterator<value_type, reference, pointer> iterator; > typedef _Rb_tree_iterator<value_type, const_reference, const_pointer> > const_iterator; > > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > > private: > iterator > _M_insert(_Base_ptr __x, _Base_ptr __y, const value_type& __v); > > _Link_type > _M_copy(_Link_type __x, _Link_type __p); > > void > _M_erase(_Link_type __x); > > public: > > _Rb_tree() > : _Base(allocator_type()), _M_node_count(0), _M_key_compare() > { _M_empty_initialize(); } > > _Rb_tree(const _Compare& __comp) > : _Base(allocator_type()), _M_node_count(0), _M_key_compare(__comp) > { _M_empty_initialize(); } > > _Rb_tree(const _Compare& __comp, const allocator_type& __a) > : _Base(__a), _M_node_count(0), _M_key_compare(__comp) > { _M_empty_initialize(); } > > _Rb_tree(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x) > : _Base(__x.get_allocator()), _M_node_count(0), > _M_key_compare(__x._M_key_compare) > { > if (__x._M_root() == 0) > _M_empty_initialize(); > else > { > _S_color(_M_header) = _M_red; > _M_root() = _M_copy(__x._M_root(), _M_header); > _M_leftmost() = _S_minimum(_M_root()); > _M_rightmost() = _S_maximum(_M_root()); > } > _M_node_count = __x._M_node_count; > } > > ~_Rb_tree() { clear(); } > > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& > operator=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x); > > private: > void _M_empty_initialize() > { > _S_color(_M_header) = _M_red; > > _M_root() = 0; > _M_leftmost() = _M_header; > _M_rightmost() = _M_header; > } > > public: > > _Compare > key_comp() const { return _M_key_compare; } > > iterator > begin() { return _M_leftmost(); } > > const_iterator > begin() const { return _M_leftmost(); } > > iterator > end() { return _M_header; } > > const_iterator > end() const { return _M_header; } > > reverse_iterator > rbegin() { return reverse_iterator(end()); } > > const_reverse_iterator > rbegin() const { return const_reverse_iterator(end()); } > > reverse_iterator > rend() { return reverse_iterator(begin()); } > > const_reverse_iterator > rend() const { return const_reverse_iterator(begin()); } > > bool > empty() const { return _M_node_count == 0; } > > size_type > size() const { return _M_node_count; } > > size_type > max_size() const { return size_type(-1); } > > void > swap(_Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __t) > { > std::swap(_M_header, __t._M_header); > std::swap(_M_node_count, __t._M_node_count); > std::swap(_M_key_compare, __t._M_key_compare); > } > > > pair<iterator,bool> > insert_unique(const value_type& __x); > > iterator > insert_equal(const value_type& __x); > > iterator > insert_unique(iterator __position, const value_type& __x); > > iterator > insert_equal(iterator __position, const value_type& __x); > > template<typename _InputIterator> > void > insert_unique(_InputIterator __first, _InputIterator __last); > > template<typename _InputIterator> > void > insert_equal(_InputIterator __first, _InputIterator __last); > > void > erase(iterator __position); > > size_type > erase(const key_type& __x); > > void > erase(iterator __first, iterator __last); > > void > erase(const key_type* __first, const key_type* __last); > > void > clear() > { > if (_M_node_count != 0) > { > _M_erase(_M_root()); > _M_leftmost() = _M_header; > _M_root() = 0; > _M_rightmost() = _M_header; > _M_node_count = 0; > } > } > > > iterator > find(const key_type& __x); > > const_iterator > find(const key_type& __x) const; > > size_type > count(const key_type& __x) const; > > iterator > lower_bound(const key_type& __x); > > const_iterator > lower_bound(const key_type& __x) const; > > iterator > upper_bound(const key_type& __x); > > const_iterator > upper_bound(const key_type& __x) const; > > pair<iterator,iterator> > equal_range(const key_type& __x); > > pair<const_iterator, const_iterator> > equal_range(const key_type& __x) const; > > > bool > __rb_verify() const; > }; > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator==(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { > return __x.size() == __y.size() && > equal(__x.begin(), __x.end(), __y.begin()); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator<(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { > return lexicographical_compare(__x.begin(), __x.end(), > __y.begin(), __y.end()); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator!=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { return !(__x == __y); } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator>(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { return __y < __x; } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator<=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { return !(__y < __x); } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline bool > operator>=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { return !(__x < __y); } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline void > swap(_Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __y) > { __x.swap(__y); } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > operator=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x) > { > if (this != &__x) > { > > clear(); > _M_node_count = 0; > _M_key_compare = __x._M_key_compare; > if (__x._M_root() == 0) > { > _M_root() = 0; > _M_leftmost() = _M_header; > _M_rightmost() = _M_header; > } > else > { > _M_root() = _M_copy(__x._M_root(), _M_header); > _M_leftmost() = _S_minimum(_M_root()); > _M_rightmost() = _S_maximum(_M_root()); > _M_node_count = __x._M_node_count; > } > } > return *this; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > _M_insert(_Base_ptr __x_, _Base_ptr __y_, const _Val& __v) > { > _Link_type __x = (_Link_type) __x_; > _Link_type __y = (_Link_type) __y_; > _Link_type __z; > > if (__y == _M_header || __x != 0 || > _M_key_compare(_KeyOfValue()(__v), _S_key(__y))) > { > __z = _M_create_node(__v); > _S_left(__y) = __z; > > if (__y == _M_header) > { > _M_root() = __z; > _M_rightmost() = __z; > } > else if (__y == _M_leftmost()) > _M_leftmost() = __z; > } > else > { > __z = _M_create_node(__v); > _S_right(__y) = __z; > > if (__y == _M_rightmost()) > _M_rightmost() = __z; > } > _S_parent(__z) = __y; > _S_left(__z) = 0; > _S_right(__z) = 0; > _Rb_tree_rebalance(__z, _M_header->_M_parent); > ++_M_node_count; > return iterator(__z); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > insert_equal(const _Val& __v) > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > while (__x != 0) > { > __y = __x; > __x = _M_key_compare(_KeyOfValue()(__v), _S_key(__x)) ? > _S_left(__x) : _S_right(__x); > } > return _M_insert(__x, __y, __v); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > pair<typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator, > bool> > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > insert_unique(const _Val& __v) > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > bool __comp = true; > while (__x != 0) > { > __y = __x; > __comp = _M_key_compare(_KeyOfValue()(__v), _S_key(__x)); > __x = __comp ? _S_left(__x) : _S_right(__x); > } > iterator __j = iterator(__y); > if (__comp) > if (__j == begin()) > return pair<iterator,bool>(_M_insert(__x, __y, __v), true); > else > --__j; > if (_M_key_compare(_S_key(__j._M_node), _KeyOfValue()(__v))) > return pair<iterator,bool>(_M_insert(__x, __y, __v), true); > return pair<iterator,bool>(__j, false); > } > > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator > _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: > insert_unique(iterator __position, const _Val& __v) > { > if (__position._M_node == _M_header->_M_left) > { > > if (size() > 0 && > _M_key_compare(_KeyOfValue()(__v), _S_key(__position._M_node))) > return _M_insert(__position._M_node, __position._M_node, __v); > > else > return insert_unique(__v).first; > } > else if (__position._M_node == _M_header) > { > > if (_M_key_compare(_S_key(_M_rightmost()), _KeyOfValue()(__v))) > return _M_insert(0, _M_rightmost(), __v); > else > return insert_unique(__v).first; > } > else > { > iterator __before = __position; > --__before; > if (_M_key_compare(_S_key(__before._M_node), _KeyOfValue()(__v)) > && _M_key_compare(_KeyOfValue()(__v),_S_key(__position._M_node))) > { > if (_S_right(__before._M_node) == 0) > return _M_insert(0, __before._M_node, __v); > else > return _M_insert(__position._M_node, __position._M_node, __v); > > } > else > return insert_unique(__v).first; > } > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > insert_equal(iterator __position, const _Val& __v) > { > if (__position._M_node == _M_header->_M_left) > { > > if (size() > 0 && > !_M_key_compare(_S_key(__position._M_node), _KeyOfValue()(__v))) > return _M_insert(__position._M_node, __position._M_node, __v); > > else > return insert_equal(__v); > } > else if (__position._M_node == _M_header) > { > > if (!_M_key_compare(_KeyOfValue()(__v), _S_key(_M_rightmost()))) > return _M_insert(0, _M_rightmost(), __v); > else > return insert_equal(__v); > } > else > { > iterator __before = __position; > --__before; > if (!_M_key_compare(_KeyOfValue()(__v), _S_key(__before._M_node)) > && !_M_key_compare(_S_key(__position._M_node), > _KeyOfValue()(__v))) > { > if (_S_right(__before._M_node) == 0) > return _M_insert(0, __before._M_node, __v); > else > return _M_insert(__position._M_node, __position._M_node, __v); > > } > else > return insert_equal(__v); > } > } > > template<typename _Key, typename _Val, typename _KoV, > typename _Cmp, typename _Alloc> > template<class _II> > void > _Rb_tree<_Key,_Val,_KoV,_Cmp,_Alloc>:: > insert_equal(_II __first, _II __last) > { > for ( ; __first != __last; ++__first) > insert_equal(*__first); > } > > template<typename _Key, typename _Val, typename _KoV, > typename _Cmp, typename _Alloc> > template<class _II> > void > _Rb_tree<_Key,_Val,_KoV,_Cmp,_Alloc>:: > insert_unique(_II __first, _II __last) > { > for ( ; __first != __last; ++__first) > insert_unique(*__first); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline void > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::erase(iterator __position) > { > _Link_type __y = > (_Link_type) _Rb_tree_rebalance_for_erase(__position._M_node, > _M_header->_M_parent, > _M_header->_M_left, > _M_header->_M_right); > destroy_node(__y); > --_M_node_count; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::size_type > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::erase(const _Key& __x) > { > pair<iterator,iterator> __p = equal_range(__x); > size_type __n = distance(__p.first, __p.second); > erase(__p.first, __p.second); > return __n; > } > > template<typename _Key, typename _Val, typename _KoV, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc>::_Link_type > _Rb_tree<_Key,_Val,_KoV,_Compare,_Alloc>:: > _M_copy(_Link_type __x, _Link_type __p) > { > > _Link_type __top = _M_clone_node(__x); > __top->_M_parent = __p; > > try > { > if (__x->_M_right) > __top->_M_right = _M_copy(_S_right(__x), __top); > __p = __top; > __x = _S_left(__x); > > while (__x != 0) > { > _Link_type __y = _M_clone_node(__x); > __p->_M_left = __y; > __y->_M_parent = __p; > if (__x->_M_right) > __y->_M_right = _M_copy(_S_right(__x), __y); > __p = __y; > __x = _S_left(__x); > } > } > catch(...) > { > _M_erase(__top); > throw; > } > return __top; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > void > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::_M_erase(_Link_type __x) > { > > while (__x != 0) > { > _M_erase(_S_right(__x)); > _Link_type __y = _S_left(__x); > destroy_node(__x); > __x = __y; > } > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > void > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > erase(iterator __first, iterator __last) > { > if (__first == begin() && __last == end()) > clear(); > else > while (__first != __last) erase(__first++); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > void > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > erase(const _Key* __first, const _Key* __last) > { > while (__first != __last) > erase(*__first++); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::find(const _Key& __k) > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > if (!_M_key_compare(_S_key(__x), __k)) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > > iterator __j = iterator(__y); > return (__j == end() || _M_key_compare(__k, _S_key(__j._M_node))) ? > end() : __j; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::const_iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > find(const _Key& __k) const > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > { > if (!_M_key_compare(_S_key(__x), __k)) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > } > const_iterator __j = const_iterator(__y); > return (__j == end() || _M_key_compare(__k, _S_key(__j._M_node))) ? > end() : __j; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::size_type > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > count(const _Key& __k) const > { > pair<const_iterator, const_iterator> __p = equal_range(__k); > size_type __n = distance(__p.first, __p.second); > return __n; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > lower_bound(const _Key& __k) > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > if (!_M_key_compare(_S_key(__x), __k)) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > > return iterator(__y); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::const_iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > lower_bound(const _Key& __k) const > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > if (!_M_key_compare(_S_key(__x), __k)) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > > return const_iterator(__y); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > upper_bound(const _Key& __k) > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > if (_M_key_compare(__k, _S_key(__x))) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > > return iterator(__y); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::const_iterator > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > upper_bound(const _Key& __k) const > { > _Link_type __y = _M_header; > _Link_type __x = _M_root(); > > while (__x != 0) > if (_M_key_compare(__k, _S_key(__x))) > __y = __x, __x = _S_left(__x); > else > __x = _S_right(__x); > > return const_iterator(__y); > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > inline > pair<typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator, > typename _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::iterator> > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>:: > equal_range(const _Key& __k) > { return pair<iterator, iterator>(lower_bound(__k), upper_bound(__k)); } > > template<typename _Key, typename _Val, typename _KoV, > typename _Compare, typename _Alloc> > inline > pair<typename _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc>::const_iterator, > typename _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc>::const_iterator> > _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc> > ::equal_range(const _Key& __k) const > { > return pair<const_iterator,const_iterator>(lower_bound(__k), > upper_bound(__k)); > } > > inline int > __black_count(_Rb_tree_node_base* __node, _Rb_tree_node_base* __root) > { > if (__node == 0) > return 0; > int __sum = 0; > do > { > if (__node->_M_color == _M_black) > ++__sum; > if (__node == __root) > break; > __node = __node->_M_parent; > } > while (1); > return __sum; > } > > template<typename _Key, typename _Val, typename _KeyOfValue, > typename _Compare, typename _Alloc> > bool > _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::__rb_verify() const > { > if (_M_node_count == 0 || begin() == end()) > return _M_node_count == 0 && begin() == end() && > _M_header->_M_left == _M_header && _M_header->_M_right == _M_header; > > int __len = __black_count(_M_leftmost(), _M_root()); > for (const_iterator __it = begin(); __it != end(); ++__it) > { > _Link_type __x = (_Link_type) __it._M_node; > _Link_type __L = _S_left(__x); > _Link_type __R = _S_right(__x); > > if (__x->_M_color == _M_red) > if ((__L && __L->_M_color == _M_red) > || (__R && __R->_M_color == _M_red)) > return false; > > if (__L && _M_key_compare(_S_key(__x), _S_key(__L))) > return false; > if (__R && _M_key_compare(_S_key(__R), _S_key(__x))) > return false; > > if (!__L && !__R && __black_count(__x, _M_root()) != __len) > return false; > } > > if (_M_leftmost() != _Rb_tree_node_base::_S_minimum(_M_root())) > return false; > if (_M_rightmost() != _Rb_tree_node_base::_S_maximum(_M_root())) > return false; > return true; > } >} ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 1 3 ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 >namespace std >{ ># 89 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _Key, typename _Tp, typename _Compare = less<_Key>, > typename _Alloc = allocator<pair<const _Key, _Tp> > > > class map > { > > > > > public: > typedef _Key key_type; > typedef _Tp mapped_type; > typedef pair<const _Key, _Tp> value_type; > typedef _Compare key_compare; > > class value_compare > : public binary_function<value_type, value_type, bool> > { > friend class map<_Key,_Tp,_Compare,_Alloc>; > protected: > _Compare comp; > value_compare(_Compare __c) : comp(__c) {} > public: > bool operator()(const value_type& __x, const value_type& __y) const > { return comp(__x.first, __y.first); } > }; > > private: > > typedef _Rb_tree<key_type, value_type, > _Select1st<value_type>, key_compare, _Alloc> _Rep_type; > > _Rep_type _M_t; > > public: > > > typedef typename _Rep_type::allocator_type allocator_type; > typedef typename _Rep_type::reference reference; > typedef typename _Rep_type::const_reference const_reference; > typedef typename _Rep_type::iterator iterator; > typedef typename _Rep_type::const_iterator const_iterator; > typedef typename _Rep_type::size_type size_type; > typedef typename _Rep_type::difference_type difference_type; > typedef typename _Rep_type::pointer pointer; > typedef typename _Rep_type::const_pointer const_pointer; > typedef typename _Rep_type::reverse_iterator reverse_iterator; > typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator; ># 144 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > map() : _M_t(_Compare(), allocator_type()) { } > > > > > > explicit > map(const _Compare& __comp, const allocator_type& __a = allocator_type()) > : _M_t(__comp, __a) { } ># 161 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > map(const map& __x) > : _M_t(__x._M_t) { } ># 173 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _InputIterator> > map(_InputIterator __first, _InputIterator __last) > : _M_t(_Compare(), allocator_type()) > { _M_t.insert_unique(__first, __last); } ># 189 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _InputIterator> > map(_InputIterator __first, _InputIterator __last, > const _Compare& __comp, const allocator_type& __a = allocator_type()) > : _M_t(__comp, __a) > { _M_t.insert_unique(__first, __last); } ># 211 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > map& > operator=(const map& __x) > { > _M_t = __x._M_t; > return *this; > } > > > allocator_type > get_allocator() const { return _M_t.get_allocator(); } > > > > > > > iterator > begin() { return _M_t.begin(); } > > > > > > > const_iterator > begin() const { return _M_t.begin(); } > > > > > > iterator > end() { return _M_t.end(); } > > > > > > > const_iterator > end() const { return _M_t.end(); } > > > > > > reverse_iterator > rbegin() { return _M_t.rbegin(); } > > > > > > > const_reverse_iterator > rbegin() const { return _M_t.rbegin(); } > > > > > > > reverse_iterator > rend() { return _M_t.rend(); } > > > > > > > const_reverse_iterator > rend() const { return _M_t.rend(); } > > > > bool > empty() const { return _M_t.empty(); } > > > size_type > size() const { return _M_t.size(); } > > > size_type > max_size() const { return _M_t.max_size(); } ># 310 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > mapped_type& > operator[](const key_type& __k) > { > > > > iterator __i = lower_bound(__k); > > if (__i == end() || key_comp()(__k, (*__i).first)) > __i = insert(__i, value_type(__k, mapped_type())); > return (*__i).second; > } ># 338 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > pair<iterator,bool> > insert(const value_type& __x) > { return _M_t.insert_unique(__x); } ># 362 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > iterator > insert(iterator position, const value_type& __x) > { return _M_t.insert_unique(position, __x); } ># 374 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _InputIterator> > void > insert(_InputIterator __first, _InputIterator __last) > { _M_t.insert_unique(__first, __last); } ># 388 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > void > erase(iterator __position) { _M_t.erase(__position); } ># 402 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > size_type > erase(const key_type& __x) { return _M_t.erase(__x); } ># 415 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > void > erase(iterator __first, iterator __last) { _M_t.erase(__first, __last); } ># 429 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > void > swap(map& __x) { _M_t.swap(__x._M_t); } > > > > > > > > void > clear() { _M_t.clear(); } > > > > > > key_compare > key_comp() const { return _M_t.key_comp(); } > > > > > > value_compare > value_comp() const { return value_compare(_M_t.key_comp()); } ># 467 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > iterator > find(const key_type& __x) { return _M_t.find(__x); } ># 481 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > const_iterator > find(const key_type& __x) const { return _M_t.find(__x); } ># 492 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > size_type > count(const key_type& __x) const > { return _M_t.find(__x) == _M_t.end() ? 0 : 1; } ># 507 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > iterator > lower_bound(const key_type& __x) { return _M_t.lower_bound(__x); } ># 521 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > const_iterator > lower_bound(const key_type& __x) const { return _M_t.lower_bound(__x); } ># 531 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > iterator > upper_bound(const key_type& __x) { return _M_t.upper_bound(__x); } ># 542 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > const_iterator > upper_bound(const key_type& __x) const > { return _M_t.upper_bound(__x); } ># 561 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > pair<iterator,iterator> > equal_range(const key_type& __x) > { return _M_t.equal_range(__x); } ># 580 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > pair<const_iterator,const_iterator> > equal_range(const key_type& __x) const > { return _M_t.equal_range(__x); } > > template <typename _K1, typename _T1, typename _C1, typename _A1> > friend bool operator== (const map<_K1,_T1,_C1,_A1>&, > const map<_K1,_T1,_C1,_A1>&); > template <typename _K1, typename _T1, typename _C1, typename _A1> > friend bool operator< (const map<_K1,_T1,_C1,_A1>&, > const map<_K1,_T1,_C1,_A1>&); > }; ># 603 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator==(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return __x._M_t == __y._M_t; } ># 620 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h" 3 > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator<(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return __x._M_t < __y._M_t; } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator!=(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__x == __y); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator>(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return __y < __x; } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator<=(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__y < __x); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator>=(const map<_Key,_Tp,_Compare,_Alloc>& __x, > const map<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__x < __y); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline void > swap(map<_Key,_Tp,_Compare,_Alloc>& __x, map<_Key,_Tp,_Compare,_Alloc>& __y) > { __x.swap(__y); } >} ># 68 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 1 3 ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 >namespace std >{ > > > template <typename _Key, typename _Tp, > typename _Compare = less<_Key>, > typename _Alloc = allocator<pair<const _Key, _Tp> > > > class multimap; > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y); > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool operator<(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y); ># 104 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > class multimap > { > > > > > public: > typedef _Key key_type; > typedef _Tp mapped_type; > typedef pair<const _Key, _Tp> value_type; > typedef _Compare key_compare; > > class value_compare > : public binary_function<value_type, value_type, bool> > { > friend class multimap<_Key,_Tp,_Compare,_Alloc>; > protected: > _Compare comp; > value_compare(_Compare __c) : comp(__c) {} > public: > bool operator()(const value_type& __x, const value_type& __y) const > { return comp(__x.first, __y.first); } > }; > > private: > > typedef _Rb_tree<key_type, value_type, > _Select1st<value_type>, key_compare, _Alloc> _Rep_type; > > _Rep_type _M_t; > > public: > > > typedef typename _Rep_type::allocator_type allocator_type; > typedef typename _Rep_type::reference reference; > typedef typename _Rep_type::const_reference const_reference; > typedef typename _Rep_type::iterator iterator; > typedef typename _Rep_type::const_iterator const_iterator; > typedef typename _Rep_type::size_type size_type; > typedef typename _Rep_type::difference_type difference_type; > typedef typename _Rep_type::pointer pointer; > typedef typename _Rep_type::const_pointer const_pointer; > typedef typename _Rep_type::reverse_iterator reverse_iterator; > typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator; > > > > > > > > multimap() : _M_t(_Compare(), allocator_type()) { } > > > > > > explicit > multimap(const _Compare& __comp, const allocator_type& __a = allocator_type()) > : _M_t(__comp, __a) { } ># 174 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > multimap(const multimap& __x) > : _M_t(__x._M_t) { } ># 186 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _InputIterator> > multimap(_InputIterator __first, _InputIterator __last) > : _M_t(_Compare(), allocator_type()) > { _M_t.insert_equal(__first, __last); } ># 202 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _InputIterator> > multimap(_InputIterator __first, _InputIterator __last, > const _Compare& __comp, > const allocator_type& __a = allocator_type()) > : _M_t(__comp, __a) > { _M_t.insert_equal(__first, __last); } ># 225 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > multimap& > operator=(const multimap& __x) > { > _M_t = __x._M_t; > return *this; > } > > > allocator_type > get_allocator() const { return _M_t.get_allocator(); } > > > > > > > iterator > begin() { return _M_t.begin(); } > > > > > > > const_iterator > begin() const { return _M_t.begin(); } > > > > > > iterator > end() { return _M_t.end(); } > > > > > > > const_iterator > end() const { return _M_t.end(); } > > > > > > > reverse_iterator > rbegin() { return _M_t.rbegin(); } > > > > > > > const_reverse_iterator > rbegin() const { return _M_t.rbegin(); } > > > > > > > reverse_iterator > rend() { return _M_t.rend(); } > > > > > > > const_reverse_iterator > rend() const { return _M_t.rend(); } > > > > bool > empty() const { return _M_t.empty(); } > > > size_type > size() const { return _M_t.size(); } > > > size_type > max_size() const { return _M_t.max_size(); } ># 325 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > iterator > insert(const value_type& __x) { return _M_t.insert_equal(__x); } ># 348 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > iterator > insert(iterator __position, const value_type& __x) > { return _M_t.insert_equal(__position, __x); } ># 360 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _InputIterator> > void > insert(_InputIterator __first, _InputIterator __last) > { _M_t.insert_equal(__first, __last); } ># 374 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > void > erase(iterator __position) { _M_t.erase(__position); } ># 388 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > size_type > erase(const key_type& __x) { return _M_t.erase(__x); } ># 401 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > void > erase(iterator __first, iterator __last) { _M_t.erase(__first, __last); } ># 415 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > void > swap(multimap& __x) { _M_t.swap(__x._M_t); } > > > > > > > > void > clear() { _M_t.clear(); } > > > > > > > key_compare > key_comp() const { return _M_t.key_comp(); } > > > > > > value_compare > value_comp() const { return value_compare(_M_t.key_comp()); } ># 454 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > iterator > find(const key_type& __x) { return _M_t.find(__x); } ># 468 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > const_iterator > find(const key_type& __x) const { return _M_t.find(__x); } > > > > > > > size_type > count(const key_type& __x) const { return _M_t.count(__x); } ># 490 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > iterator > lower_bound(const key_type& __x) { return _M_t.lower_bound(__x); } ># 504 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > const_iterator > lower_bound(const key_type& __x) const { return _M_t.lower_bound(__x); } > > > > > > > iterator > upper_bound(const key_type& __x) { return _M_t.upper_bound(__x); } > > > > > > > > const_iterator > upper_bound(const key_type& __x) const { return _M_t.upper_bound(__x); } ># 537 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > pair<iterator,iterator> > equal_range(const key_type& __x) { return _M_t.equal_range(__x); } ># 553 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > pair<const_iterator,const_iterator> > equal_range(const key_type& __x) const { return _M_t.equal_range(__x); } > > template <typename _K1, typename _T1, typename _C1, typename _A1> > friend bool operator== (const multimap<_K1,_T1,_C1,_A1>&, > const multimap<_K1,_T1,_C1,_A1>&); > template <typename _K1, typename _T1, typename _C1, typename _A1> > friend bool operator< (const multimap<_K1,_T1,_C1,_A1>&, > const multimap<_K1,_T1,_C1,_A1>&); > }; ># 575 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { > return __x._M_t == __y._M_t; > } ># 594 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_multimap.h" 3 > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator<(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { return __x._M_t < __y._M_t; } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator!=(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__x == __y); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator>(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { return __y < __x; } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator<=(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__y < __x); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline bool > operator>=(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, > const multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { return !(__x < __y); } > > > template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> > inline void > swap(multimap<_Key,_Tp,_Compare,_Alloc>& __x, > multimap<_Key,_Tp,_Compare,_Alloc>& __y) > { __x.swap(__y); } >} ># 69 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/map" 2 3 ># 35 "preferences.h" 2 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/utility" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/utility" 3 ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/utility" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 1 3 ># 74 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 3 >namespace std >{ > namespace rel_ops > { ># 90 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 3 >template <class _Tp> >inline bool operator!=(const _Tp& __x, const _Tp& __y) { > return !(__x == __y); >} ># 103 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 3 >template <class _Tp> >inline bool operator>(const _Tp& __x, const _Tp& __y) { > return __y < __x; >} ># 116 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 3 >template <class _Tp> >inline bool operator<=(const _Tp& __x, const _Tp& __y) { > return !(__y < __x); >} ># 129 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_relops.h" 3 >template <class _Tp> >inline bool operator>=(const _Tp& __x, const _Tp& __y) { > return !(__x < __y); >} > > } >} ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/utility" 2 3 ># 36 "preferences.h" 2 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 3 ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 3 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 1 3 ># 34 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception_defines.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 2 3 > >namespace std >{ > > void > __throw_bad_exception(void); > > > void > __throw_bad_alloc(void); > > > void > __throw_bad_cast(void); > > void > __throw_bad_typeid(void); > > > void > __throw_logic_error(const char* __s); > > void > __throw_domain_error(const char* __s); > > void > __throw_invalid_argument(const char* __s); > > void > __throw_length_error(const char* __s); > > void > __throw_out_of_range(const char* __s); > > void > __throw_runtime_error(const char* __s); > > void > __throw_range_error(const char* __s); > > void > __throw_overflow_error(const char* __s); > > void > __throw_underflow_error(const char* __s); > > > void > __throw_ios_failure(const char* __s); >} ># 67 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 2 3 > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 1 3 ># 65 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 1 3 ># 34 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/exception_defines.h" 1 3 ># 35 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/functexcept.h" 2 3 > >namespace std >{ > > void > __throw_bad_exception(void); > > > void > __throw_bad_alloc(void); > > > void > __throw_bad_cast(void); > > void > __throw_bad_typeid(void); > > > void > __throw_logic_error(const char* __s); > > void > __throw_domain_error(const char* __s); > > void > __throw_invalid_argument(const char* __s); > > void > __throw_length_error(const char* __s); > > void > __throw_out_of_range(const char* __s); > > void > __throw_runtime_error(const char* __s); > > void > __throw_range_error(const char* __s); > > void > __throw_overflow_error(const char* __s); > > void > __throw_underflow_error(const char* __s); > > > void > __throw_ios_failure(const char* __s); >} ># 66 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 2 3 > > >namespace std >{ > > > > > > > template<typename _Tp, typename _Allocator, bool _IsStatic> > class _Vector_alloc_base > { > public: > typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type > allocator_type; > > allocator_type > get_allocator() const { return _M_data_allocator; } > > _Vector_alloc_base(const allocator_type& __a) > : _M_data_allocator(__a), _M_start(0), _M_finish(0), _M_end_of_storage(0) > { } > > protected: > allocator_type _M_data_allocator; > _Tp* _M_start; > _Tp* _M_finish; > _Tp* _M_end_of_storage; > > _Tp* > _M_allocate(size_t __n) { return _M_data_allocator.allocate(__n); } > > void > _M_deallocate(_Tp* __p, size_t __n) > { if (__p) _M_data_allocator.deallocate(__p, __n); } > }; > > > template<typename _Tp, typename _Allocator> > class _Vector_alloc_base<_Tp, _Allocator, true> > { > public: > typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type > allocator_type; > > allocator_type > get_allocator() const { return allocator_type(); } > > _Vector_alloc_base(const allocator_type&) > : _M_start(0), _M_finish(0), _M_end_of_storage(0) > { } > > protected: > _Tp* _M_start; > _Tp* _M_finish; > _Tp* _M_end_of_storage; > > typedef typename _Alloc_traits<_Tp, _Allocator>::_Alloc_type _Alloc_type; > > _Tp* > _M_allocate(size_t __n) { return _Alloc_type::allocate(__n); } > > void > _M_deallocate(_Tp* __p, size_t __n) { _Alloc_type::deallocate(__p, __n);} > }; > > > > > > > > template<typename _Tp, typename _Alloc> > struct _Vector_base > : public _Vector_alloc_base<_Tp, _Alloc, > _Alloc_traits<_Tp, _Alloc>::_S_instanceless> > { > public: > typedef _Vector_alloc_base<_Tp, _Alloc, > _Alloc_traits<_Tp, _Alloc>::_S_instanceless> > _Base; > typedef typename _Base::allocator_type allocator_type; > > _Vector_base(const allocator_type& __a) > : _Base(__a) { } > > _Vector_base(size_t __n, const allocator_type& __a) > : _Base(__a) > { > _M_start = _M_allocate(__n); > _M_finish = _M_start; > _M_end_of_storage = _M_start + __n; > } > > ~_Vector_base() > { _M_deallocate(_M_start, _M_end_of_storage - _M_start); } > }; ># 184 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc = allocator<_Tp> > > class vector : protected _Vector_base<_Tp, _Alloc> > { > > > > typedef _Vector_base<_Tp, _Alloc> _Base; > typedef vector<_Tp, _Alloc> vector_type; > > public: > typedef _Tp value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef __gnu_cxx::__normal_iterator<pointer, vector_type> iterator; > typedef __gnu_cxx::__normal_iterator<const_pointer, vector_type> > const_iterator; > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > typedef value_type& reference; > typedef const value_type& const_reference; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef typename _Base::allocator_type allocator_type; > > protected: > > > > > > > using _Base::_M_allocate; > using _Base::_M_deallocate; > using _Base::_M_start; > using _Base::_M_finish; > using _Base::_M_end_of_storage; > > public: > > > > > > explicit > vector(const allocator_type& __a = allocator_type()) > : _Base(__a) { } ># 238 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > vector(size_type __n, const value_type& __value, > const allocator_type& __a = allocator_type()) > : _Base(__n, __a) > { _M_finish = uninitialized_fill_n(_M_start, __n, __value); } ># 250 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > explicit > vector(size_type __n) > : _Base(__n, allocator_type()) > { _M_finish = uninitialized_fill_n(_M_start, __n, value_type()); } ># 264 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > vector(const vector& __x) > : _Base(__x.size(), __x.get_allocator()) > { _M_finish = uninitialized_copy(__x.begin(), __x.end(), _M_start); } ># 282 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _InputIterator> > vector(_InputIterator __first, _InputIterator __last, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { > > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_initialize_dispatch(__first, __last, _Integral()); > } > > > > > > > ~vector() { _Destroy(_M_start, _M_finish); } ># 307 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > vector& > operator=(const vector& __x); ># 320 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > assign(size_type __n, const value_type& __val) > { _M_fill_assign(__n, __val); } ># 336 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _InputIterator> > void > assign(_InputIterator __first, _InputIterator __last) > { > > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_assign_dispatch(__first, __last, _Integral()); > } > > > allocator_type > get_allocator() const { return _Base::get_allocator(); } > > > > > > > iterator > begin() { return iterator (_M_start); } > > > > > > > const_iterator > begin() const { return const_iterator (_M_start); } > > > > > > > iterator > end() { return iterator (_M_finish); } > > > > > > const_iterator > end() const { return const_iterator (_M_finish); } > > > > > > > reverse_iterator > rbegin() { return reverse_iterator(end()); } > > > > > > > const_reverse_iterator > rbegin() const { return const_reverse_iterator(end()); } > > > > > > > reverse_iterator > rend() { return reverse_iterator(begin()); } > > > > > > > const_reverse_iterator > rend() const { return const_reverse_iterator(begin()); } > > > > size_type > size() const { return size_type(end() - begin()); } > > > size_type > max_size() const { return size_type(-1) / sizeof(value_type); } ># 432 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > resize(size_type __new_size, const value_type& __x) > { > if (__new_size < size()) > erase(begin() + __new_size, end()); > else > insert(end(), __new_size - size(), __x); > } ># 451 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > resize(size_type __new_size) { resize(__new_size, value_type()); } > > > > > > size_type > capacity() const > { return size_type(const_iterator(_M_end_of_storage) - begin()); } > > > > > > bool > empty() const { return begin() == end(); } ># 486 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > reserve(size_type __n); ># 500 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > reference > operator[](size_type __n) { return *(begin() + __n); } ># 514 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > const_reference > operator[](size_type __n) const { return *(begin() + __n); } > > protected: > > void > _M_range_check(size_type __n) const > { > if (__n >= this->size()) > __throw_out_of_range("vector [] access out of range"); > } > > public: ># 538 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > reference > at(size_type __n) { _M_range_check(__n); return (*this)[__n]; } ># 552 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > const_reference > at(size_type __n) const { _M_range_check(__n); return (*this)[__n]; } > > > > > > reference > front() { return *begin(); } > > > > > > const_reference > front() const { return *begin(); } > > > > > > reference > back() { return *(end() - 1); } > > > > > > const_reference > back() const { return *(end() - 1); } ># 594 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > push_back(const value_type& __x) > { > if (_M_finish != _M_end_of_storage) > { > _Construct(_M_finish, __x); > ++_M_finish; > } > else > _M_insert_aux(end(), __x); > } ># 614 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > pop_back() > { > --_M_finish; > _Destroy(_M_finish); > } ># 632 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > iterator > insert(iterator __position, const value_type& __x); ># 669 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > insert(iterator __pos, size_type __n, const value_type& __x) > { _M_fill_insert(__pos, __n, __x); } ># 687 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _InputIterator> > void > insert(iterator __pos, _InputIterator __first, _InputIterator __last) > { > > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_insert_dispatch(__pos, __first, __last, _Integral()); > } ># 711 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > iterator > erase(iterator __position); ># 732 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > iterator > erase(iterator __first, iterator __last); ># 744 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > void > swap(vector& __x) > { > std::swap(_M_start, __x._M_start); > std::swap(_M_finish, __x._M_finish); > std::swap(_M_end_of_storage, __x._M_end_of_storage); > } > > > > > > > > void > clear() { erase(begin(), end()); } > > protected: > > > > > > > template<typename _ForwardIterator> > pointer > _M_allocate_and_copy(size_type __n, > _ForwardIterator __first, _ForwardIterator __last) > { > pointer __result = _M_allocate(__n); > try > { > uninitialized_copy(__first, __last, __result); > return __result; > } > catch(...) > { > _M_deallocate(__result, __n); > throw; > } > } > > > > > > template<typename _Integer> > void > _M_initialize_dispatch(_Integer __n, _Integer __value, __true_type) > { > _M_start = _M_allocate(__n); > _M_end_of_storage = _M_start + __n; > _M_finish = uninitialized_fill_n(_M_start, __n, __value); > } > > > template<typename _InputIter> > void > _M_initialize_dispatch(_InputIter __first, _InputIter __last, > __false_type) > { > typedef typename iterator_traits<_InputIter>::iterator_category > _IterCategory; > _M_range_initialize(__first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_range_initialize(_InputIterator __first, > _InputIterator __last, input_iterator_tag) > { > for ( ; __first != __last; ++__first) > push_back(*__first); > } > > > template<typename _ForwardIterator> > void > _M_range_initialize(_ForwardIterator __first, > _ForwardIterator __last, forward_iterator_tag) > { > size_type __n = distance(__first, __last); > _M_start = _M_allocate(__n); > _M_end_of_storage = _M_start + __n; > _M_finish = uninitialized_copy(__first, __last, _M_start); > } > > > > > > > template<typename _Integer> > void > _M_assign_dispatch(_Integer __n, _Integer __val, __true_type) > { > _M_fill_assign(static_cast<size_type>(__n), > static_cast<value_type>(__val)); > } > > > template<typename _InputIter> > void > _M_assign_dispatch(_InputIter __first, _InputIter __last, __false_type) > { > typedef typename iterator_traits<_InputIter>::iterator_category > _IterCategory; > _M_assign_aux(__first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_assign_aux(_InputIterator __first, _InputIterator __last, > input_iterator_tag); > > > template<typename _ForwardIterator> > void > _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last, > forward_iterator_tag); > > > > void > _M_fill_assign(size_type __n, const value_type& __val); > > > > > > template<typename _Integer> > void > _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __val, > __true_type) > { > _M_fill_insert(__pos, static_cast<size_type>(__n), > static_cast<value_type>(__val)); > } > > > template<typename _InputIterator> > void > _M_insert_dispatch(iterator __pos, _InputIterator __first, > _InputIterator __last, __false_type) > { > typedef typename iterator_traits<_InputIterator>::iterator_category > _IterCategory; > _M_range_insert(__pos, __first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_range_insert(iterator __pos, _InputIterator __first, > _InputIterator __last, input_iterator_tag); > > > template<typename _ForwardIterator> > void > _M_range_insert(iterator __pos, _ForwardIterator __first, > _ForwardIterator __last, forward_iterator_tag); > > > > void > _M_fill_insert(iterator __pos, size_type __n, const value_type& __x); > > > void > _M_insert_aux(iterator __position, const value_type& __x); > > > > > > }; ># 934 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc> > inline bool > operator==(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { > return __x.size() == __y.size() && > equal(__x.begin(), __x.end(), __y.begin()); > } ># 953 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc> > inline bool > operator<(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { > return lexicographical_compare(__x.begin(), __x.end(), > __y.begin(), __y.end()); > } > > > template<typename _Tp, typename _Alloc> > inline bool > operator!=(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { return !(__x == __y); } > > > template<typename _Tp, typename _Alloc> > inline bool > operator>(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { return __y < __x; } > > > template<typename _Tp, typename _Alloc> > inline bool > operator<=(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { return !(__y < __x); } > > > template<typename _Tp, typename _Alloc> > inline bool > operator>=(const vector<_Tp,_Alloc>& __x, const vector<_Tp,_Alloc>& __y) > { return !(__x < __y); } > > > template<typename _Tp, typename _Alloc> > inline void > swap(vector<_Tp,_Alloc>& __x, vector<_Tp,_Alloc>& __y) > { __x.swap(__y); } >} ># 72 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_bvector.h" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/stl_bvector.h" 3 >namespace std >{ > typedef unsigned long _Bit_type; > enum { _M_word_bit = int(8 * sizeof(_Bit_type)) }; > >struct _Bit_reference { > > _Bit_type * _M_p; > _Bit_type _M_mask; > _Bit_reference(_Bit_type * __x, _Bit_type __y) > : _M_p(__x), _M_mask(__y) {} > >public: > _Bit_reference() : _M_p(0), _M_mask(0) {} > operator bool() const { return !!(*_M_p & _M_mask); } > _Bit_reference& operator=(bool __x) > { > if (__x) *_M_p |= _M_mask; > else *_M_p &= ~_M_mask; > return *this; > } > _Bit_reference& operator=(const _Bit_reference& __x) > { return *this = bool(__x); } > bool operator==(const _Bit_reference& __x) const > { return bool(*this) == bool(__x); } > bool operator<(const _Bit_reference& __x) const > { return !bool(*this) && bool(__x); } > void flip() { *_M_p ^= _M_mask; } >}; > >struct _Bit_iterator_base : public iterator<random_access_iterator_tag, bool> >{ > _Bit_type * _M_p; > unsigned int _M_offset; > > _Bit_iterator_base(_Bit_type * __x, unsigned int __y) > : _M_p(__x), _M_offset(__y) {} > > void _M_bump_up() { > if (_M_offset++ == _M_word_bit - 1) { > _M_offset = 0; > ++_M_p; > } > } > void _M_bump_down() { > if (_M_offset-- == 0) { > _M_offset = _M_word_bit - 1; > --_M_p; > } > } > > void _M_incr(ptrdiff_t __i) { > difference_type __n = __i + _M_offset; > _M_p += __n / _M_word_bit; > __n = __n % _M_word_bit; > if (__n < 0) { > _M_offset = (unsigned int) __n + _M_word_bit; > --_M_p; > } else > _M_offset = (unsigned int) __n; > } > > bool operator==(const _Bit_iterator_base& __i) const { > return _M_p == __i._M_p && _M_offset == __i._M_offset; > } > bool operator<(const _Bit_iterator_base& __i) const { > return _M_p < __i._M_p || (_M_p == __i._M_p && _M_offset < __i._M_offset); > } > bool operator!=(const _Bit_iterator_base& __i) const { > return !(*this == __i); > } > bool operator>(const _Bit_iterator_base& __i) const { > return __i < *this; > } > bool operator<=(const _Bit_iterator_base& __i) const { > return !(__i < *this); > } > bool operator>=(const _Bit_iterator_base& __i) const { > return !(*this < __i); > } >}; > >inline ptrdiff_t >operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) { > return _M_word_bit * (__x._M_p - __y._M_p) + __x._M_offset - __y._M_offset; >} > > >struct _Bit_iterator : public _Bit_iterator_base >{ > typedef _Bit_reference reference; > typedef _Bit_reference* pointer; > typedef _Bit_iterator iterator; > > _Bit_iterator() : _Bit_iterator_base(0, 0) {} > _Bit_iterator(_Bit_type * __x, unsigned int __y) > : _Bit_iterator_base(__x, __y) {} > > reference operator*() const { return reference(_M_p, 1UL << _M_offset); } > iterator& operator++() { > _M_bump_up(); > return *this; > } > iterator operator++(int) { > iterator __tmp = *this; > _M_bump_up(); > return __tmp; > } > iterator& operator--() { > _M_bump_down(); > return *this; > } > iterator operator--(int) { > iterator __tmp = *this; > _M_bump_down(); > return __tmp; > } > iterator& operator+=(difference_type __i) { > _M_incr(__i); > return *this; > } > iterator& operator-=(difference_type __i) { > *this += -__i; > return *this; > } > iterator operator+(difference_type __i) const { > iterator __tmp = *this; > return __tmp += __i; > } > iterator operator-(difference_type __i) const { > iterator __tmp = *this; > return __tmp -= __i; > } > > reference operator[](difference_type __i) { return *(*this + __i); } >}; > >inline _Bit_iterator >operator+(ptrdiff_t __n, const _Bit_iterator& __x) { return __x + __n; } > > >struct _Bit_const_iterator : public _Bit_iterator_base >{ > typedef bool reference; > typedef bool const_reference; > typedef const bool* pointer; > typedef _Bit_const_iterator const_iterator; > > _Bit_const_iterator() : _Bit_iterator_base(0, 0) {} > _Bit_const_iterator(_Bit_type * __x, unsigned int __y) > : _Bit_iterator_base(__x, __y) {} > _Bit_const_iterator(const _Bit_iterator& __x) > : _Bit_iterator_base(__x._M_p, __x._M_offset) {} > > const_reference operator*() const { > return _Bit_reference(_M_p, 1UL << _M_offset); > } > const_iterator& operator++() { > _M_bump_up(); > return *this; > } > const_iterator operator++(int) { > const_iterator __tmp = *this; > _M_bump_up(); > return __tmp; > } > const_iterator& operator--() { > _M_bump_down(); > return *this; > } > const_iterator operator--(int) { > const_iterator __tmp = *this; > _M_bump_down(); > return __tmp; > } > const_iterator& operator+=(difference_type __i) { > _M_incr(__i); > return *this; > } > const_iterator& operator-=(difference_type __i) { > *this += -__i; > return *this; > } > const_iterator operator+(difference_type __i) const { > const_iterator __tmp = *this; > return __tmp += __i; > } > const_iterator operator-(difference_type __i) const { > const_iterator __tmp = *this; > return __tmp -= __i; > } > const_reference operator[](difference_type __i) { > return *(*this + __i); > } >}; > >inline _Bit_const_iterator >operator+(ptrdiff_t __n, const _Bit_const_iterator& __x) { return __x + __n; } > > > > > > >template <class _Allocator, bool __is_static> >class _Bvector_alloc_base { >public: > typedef typename _Alloc_traits<bool, _Allocator>::allocator_type > allocator_type; > allocator_type get_allocator() const { return _M_data_allocator; } > > _Bvector_alloc_base(const allocator_type& __a) > : _M_data_allocator(__a), _M_start(), _M_finish(), _M_end_of_storage(0) {} > >protected: > _Bit_type * _M_bit_alloc(size_t __n) > { return _M_data_allocator.allocate((__n + _M_word_bit - 1)/_M_word_bit); } > void _M_deallocate() { > if (_M_start._M_p) > _M_data_allocator.deallocate(_M_start._M_p, > _M_end_of_storage - _M_start._M_p); > } > > typename _Alloc_traits<_Bit_type, _Allocator>::allocator_type > _M_data_allocator; > _Bit_iterator _M_start; > _Bit_iterator _M_finish; > _Bit_type * _M_end_of_storage; >}; > > >template <class _Allocator> >class _Bvector_alloc_base<_Allocator, true> { >public: > typedef typename _Alloc_traits<bool, _Allocator>::allocator_type > allocator_type; > allocator_type get_allocator() const { return allocator_type(); } > > _Bvector_alloc_base(const allocator_type&) > : _M_start(), _M_finish(), _M_end_of_storage(0) {} > >protected: > typedef typename _Alloc_traits<_Bit_type, _Allocator>::_Alloc_type > _Alloc_type; > > _Bit_type * _M_bit_alloc(size_t __n) > { return _Alloc_type::allocate((__n + _M_word_bit - 1)/_M_word_bit); } > void _M_deallocate() { > if (_M_start._M_p) > _Alloc_type::deallocate(_M_start._M_p, > _M_end_of_storage - _M_start._M_p); > } > > _Bit_iterator _M_start; > _Bit_iterator _M_finish; > _Bit_type * _M_end_of_storage; >}; > >template <class _Alloc> >class _Bvector_base > : public _Bvector_alloc_base<_Alloc, > _Alloc_traits<bool, _Alloc>::_S_instanceless> >{ > typedef _Bvector_alloc_base<_Alloc, > _Alloc_traits<bool, _Alloc>::_S_instanceless> > _Base; >public: > typedef typename _Base::allocator_type allocator_type; > > _Bvector_base(const allocator_type& __a) : _Base(__a) {} > ~_Bvector_base() { _Base::_M_deallocate(); } >}; > >} > > > >namespace std >{ > >template <typename _Alloc> > class vector<bool, _Alloc> : public _Bvector_base<_Alloc> > { > public: > typedef bool value_type; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Bit_reference reference; > typedef bool const_reference; > typedef _Bit_reference* pointer; > typedef const bool* const_pointer; > > typedef _Bit_iterator iterator; > typedef _Bit_const_iterator const_iterator; > > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > > typedef typename _Bvector_base<_Alloc>::allocator_type allocator_type; > allocator_type get_allocator() const { > return _Bvector_base<_Alloc>::get_allocator(); > } > > protected: > using _Bvector_base<_Alloc>::_M_bit_alloc; > using _Bvector_base<_Alloc>::_M_deallocate; > using _Bvector_base<_Alloc>::_M_start; > using _Bvector_base<_Alloc>::_M_finish; > using _Bvector_base<_Alloc>::_M_end_of_storage; > > protected: > void _M_initialize(size_type __n) { > _Bit_type * __q = _M_bit_alloc(__n); > _M_end_of_storage = __q + (__n + _M_word_bit - 1)/_M_word_bit; > _M_start = iterator(__q, 0); > _M_finish = _M_start + difference_type(__n); > } > void _M_insert_aux(iterator __position, bool __x) { > if (_M_finish._M_p != _M_end_of_storage) { > copy_backward(__position, _M_finish, _M_finish + 1); > *__position = __x; > ++_M_finish; > } > else { > size_type __len = size() > ? 2 * size() : static_cast<size_type>(_M_word_bit); > _Bit_type * __q = _M_bit_alloc(__len); > iterator __i = copy(begin(), __position, iterator(__q, 0)); > *__i++ = __x; > _M_finish = copy(__position, end(), __i); > _M_deallocate(); > _M_end_of_storage = __q + (__len + _M_word_bit - 1)/_M_word_bit; > _M_start = iterator(__q, 0); > } > } > > template <class _InputIterator> > void _M_initialize_range(_InputIterator __first, _InputIterator __last, > input_iterator_tag) { > _M_start = iterator(); > _M_finish = iterator(); > _M_end_of_storage = 0; > for ( ; __first != __last; ++__first) > push_back(*__first); > } > > template <class _ForwardIterator> > void _M_initialize_range(_ForwardIterator __first, _ForwardIterator __last, > forward_iterator_tag) { > size_type __n = distance(__first, __last); > _M_initialize(__n); > copy(__first, __last, _M_start); > } > > template <class _InputIterator> > void _M_insert_range(iterator __pos, > _InputIterator __first, _InputIterator __last, > input_iterator_tag) { > for ( ; __first != __last; ++__first) { > __pos = insert(__pos, *__first); > ++__pos; > } > } > > template <class _ForwardIterator> > void _M_insert_range(iterator __position, > _ForwardIterator __first, _ForwardIterator __last, > forward_iterator_tag) { > if (__first != __last) { > size_type __n = distance(__first, __last); > if (capacity() - size() >= __n) { > copy_backward(__position, end(), _M_finish + difference_type(__n)); > copy(__first, __last, __position); > _M_finish += difference_type(__n); > } > else { > size_type __len = size() + max(size(), __n); > _Bit_type * __q = _M_bit_alloc(__len); > iterator __i = copy(begin(), __position, iterator(__q, 0)); > __i = copy(__first, __last, __i); > _M_finish = copy(__position, end(), __i); > _M_deallocate(); > _M_end_of_storage = __q + (__len + _M_word_bit - 1)/_M_word_bit; > _M_start = iterator(__q, 0); > } > } > } > > public: > iterator begin() { return _M_start; } > const_iterator begin() const { return _M_start; } > iterator end() { return _M_finish; } > const_iterator end() const { return _M_finish; } > > reverse_iterator rbegin() { return reverse_iterator(end()); } > const_reverse_iterator rbegin() const { > return const_reverse_iterator(end()); > } > reverse_iterator rend() { return reverse_iterator(begin()); } > const_reverse_iterator rend() const { > return const_reverse_iterator(begin()); > } > > size_type size() const { return size_type(end() - begin()); } > size_type max_size() const { return size_type(-1); } > size_type capacity() const { > return size_type(const_iterator(_M_end_of_storage, 0) - begin()); > } > bool empty() const { return begin() == end(); } > > reference operator[](size_type __n) > { return *(begin() + difference_type(__n)); } > const_reference operator[](size_type __n) const > { return *(begin() + difference_type(__n)); } > > void _M_range_check(size_type __n) const { > if (__n >= this->size()) > __throw_out_of_range("vector<bool>"); > } > > reference at(size_type __n) > { _M_range_check(__n); return (*this)[__n]; } > const_reference at(size_type __n) const > { _M_range_check(__n); return (*this)[__n]; } > > explicit vector(const allocator_type& __a = allocator_type()) > : _Bvector_base<_Alloc>(__a) {} > > vector(size_type __n, bool __value, > const allocator_type& __a = allocator_type()) > : _Bvector_base<_Alloc>(__a) > { > _M_initialize(__n); > fill(_M_start._M_p, _M_end_of_storage, __value ? ~0 : 0); > } > > explicit vector(size_type __n) > : _Bvector_base<_Alloc>(allocator_type()) > { > _M_initialize(__n); > fill(_M_start._M_p, _M_end_of_storage, 0); > } > > vector(const vector& __x) : _Bvector_base<_Alloc>(__x.get_allocator()) { > _M_initialize(__x.size()); > copy(__x.begin(), __x.end(), _M_start); > } > > > > template <class _Integer> > void _M_initialize_dispatch(_Integer __n, _Integer __x, __true_type) { > _M_initialize(__n); > fill(_M_start._M_p, _M_end_of_storage, __x ? ~0 : 0); > } > > template <class _InputIterator> > void _M_initialize_dispatch(_InputIterator __first, _InputIterator __last, > __false_type) { > _M_initialize_range(__first, __last, __iterator_category(__first)); > } > > template <class _InputIterator> > vector(_InputIterator __first, _InputIterator __last, > const allocator_type& __a = allocator_type()) > : _Bvector_base<_Alloc>(__a) > { > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_initialize_dispatch(__first, __last, _Integral()); > } > > ~vector() { } > > vector& operator=(const vector& __x) { > if (&__x == this) return *this; > if (__x.size() > capacity()) { > _M_deallocate(); > _M_initialize(__x.size()); > } > copy(__x.begin(), __x.end(), begin()); > _M_finish = begin() + difference_type(__x.size()); > return *this; > } > > > > > > > void _M_fill_assign(size_t __n, bool __x) { > if (__n > size()) { > fill(_M_start._M_p, _M_end_of_storage, __x ? ~0 : 0); > insert(end(), __n - size(), __x); > } > else { > erase(begin() + __n, end()); > fill(_M_start._M_p, _M_end_of_storage, __x ? ~0 : 0); > } > } > > void assign(size_t __n, bool __x) { _M_fill_assign(__n, __x); } > > template <class _InputIterator> > void assign(_InputIterator __first, _InputIterator __last) { > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_assign_dispatch(__first, __last, _Integral()); > } > > template <class _Integer> > void _M_assign_dispatch(_Integer __n, _Integer __val, __true_type) > { _M_fill_assign((size_t) __n, (bool) __val); } > > template <class _InputIter> > void _M_assign_dispatch(_InputIter __first, _InputIter __last, __false_type) > { _M_assign_aux(__first, __last, __iterator_category(__first)); } > > template <class _InputIterator> > void _M_assign_aux(_InputIterator __first, _InputIterator __last, > input_iterator_tag) { > iterator __cur = begin(); > for ( ; __first != __last && __cur != end(); ++__cur, ++__first) > *__cur = *__first; > if (__first == __last) > erase(__cur, end()); > else > insert(end(), __first, __last); > } > > template <class _ForwardIterator> > void _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last, > forward_iterator_tag) { > size_type __len = distance(__first, __last); > if (__len < size()) > erase(copy(__first, __last, begin()), end()); > else { > _ForwardIterator __mid = __first; > advance(__mid, size()); > copy(__first, __mid, begin()); > insert(end(), __mid, __last); > } > } > > void reserve(size_type __n) { > if (__n > this->max_size()) > __throw_length_error("vector::reserve"); > if (this->capacity() < __n) { > _Bit_type * __q = _M_bit_alloc(__n); > _M_finish = copy(begin(), end(), iterator(__q, 0)); > _M_deallocate(); > _M_start = iterator(__q, 0); > _M_end_of_storage = __q + (__n + _M_word_bit - 1)/_M_word_bit; > } > } > > reference front() { return *begin(); } > const_reference front() const { return *begin(); } > reference back() { return *(end() - 1); } > const_reference back() const { return *(end() - 1); } > void push_back(bool __x) { > if (_M_finish._M_p != _M_end_of_storage) > *_M_finish++ = __x; > else > _M_insert_aux(end(), __x); > } > void swap(vector<bool, _Alloc>& __x) { > std::swap(_M_start, __x._M_start); > std::swap(_M_finish, __x._M_finish); > std::swap(_M_end_of_storage, __x._M_end_of_storage); > } > > > static void swap(reference __x, reference __y) { > bool __tmp = __x; > __x = __y; > __y = __tmp; > } > > iterator insert(iterator __position, bool __x = bool()) { > difference_type __n = __position - begin(); > if (_M_finish._M_p != _M_end_of_storage && __position == end()) > *_M_finish++ = __x; > else > _M_insert_aux(__position, __x); > return begin() + __n; > } > > > > template <class _Integer> > void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x, > __true_type) { > _M_fill_insert(__pos, __n, __x); > } > > template <class _InputIterator> > void _M_insert_dispatch(iterator __pos, > _InputIterator __first, _InputIterator __last, > __false_type) { > _M_insert_range(__pos, __first, __last, __iterator_category(__first)); > } > > template <class _InputIterator> > void insert(iterator __position, > _InputIterator __first, _InputIterator __last) { > typedef typename _Is_integer<_InputIterator>::_Integral _Integral; > _M_insert_dispatch(__position, __first, __last, _Integral()); > } > > void _M_fill_insert(iterator __position, size_type __n, bool __x) { > if (__n == 0) return; > if (capacity() - size() >= __n) { > copy_backward(__position, end(), _M_finish + difference_type(__n)); > fill(__position, __position + difference_type(__n), __x); > _M_finish += difference_type(__n); > } > else { > size_type __len = size() + max(size(), __n); > _Bit_type * __q = _M_bit_alloc(__len); > iterator __i = copy(begin(), __position, iterator(__q, 0)); > fill_n(__i, __n, __x); > _M_finish = copy(__position, end(), __i + difference_type(__n)); > _M_deallocate(); > _M_end_of_storage = __q + (__len + _M_word_bit - 1)/_M_word_bit; > _M_start = iterator(__q, 0); > } > } > > void insert(iterator __position, size_type __n, bool __x) { > _M_fill_insert(__position, __n, __x); > } > > void pop_back() { --_M_finish; } > iterator erase(iterator __position) { > if (__position + 1 != end()) > copy(__position + 1, end(), __position); > --_M_finish; > return __position; > } > iterator erase(iterator __first, iterator __last) { > _M_finish = copy(__last, end(), __first); > return __first; > } > void resize(size_type __new_size, bool __x = bool()) { > if (__new_size < size()) > erase(begin() + difference_type(__new_size), end()); > else > insert(end(), __new_size - size(), __x); > } > void flip() { > for (_Bit_type * __p = _M_start._M_p; __p != _M_end_of_storage; ++__p) > *__p = ~*__p; > } > > void clear() { erase(begin(), end()); } > }; > > >typedef vector<bool, __alloc> bit_vector; > >} ># 73 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 2 3 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/vector.tcc" 1 3 ># 64 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/vector.tcc" 3 >namespace std >{ > template<typename _Tp, typename _Alloc> > void > vector<_Tp,_Alloc>:: > reserve(size_type __n) > { > if (__n > this->max_size()) > __throw_length_error("vector::reserve"); > if (this->capacity() < __n) > { > const size_type __old_size = size(); > pointer __tmp = _M_allocate_and_copy(__n, _M_start, _M_finish); > _Destroy(_M_start, _M_finish); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __tmp; > _M_finish = __tmp + __old_size; > _M_end_of_storage = _M_start + __n; > } > } > > template<typename _Tp, typename _Alloc> > typename vector<_Tp,_Alloc>::iterator > vector<_Tp,_Alloc>:: > insert(iterator __position, const value_type& __x) > { > size_type __n = __position - begin(); > if (_M_finish != _M_end_of_storage && __position == end()) > { > _Construct(_M_finish, __x); > ++_M_finish; > } > else > _M_insert_aux(__position, __x); > return begin() + __n; > } > > template<typename _Tp, typename _Alloc> > typename vector<_Tp,_Alloc>::iterator > vector<_Tp,_Alloc>:: > erase(iterator __position) > { > if (__position + 1 != end()) > copy(__position + 1, end(), __position); > --_M_finish; > _Destroy(_M_finish); > return __position; > } > > template<typename _Tp, typename _Alloc> > typename vector<_Tp,_Alloc>::iterator > vector<_Tp,_Alloc>:: > erase(iterator __first, iterator __last) > { > iterator __i(copy(__last, end(), __first)); > _Destroy(__i, end()); > _M_finish = _M_finish - (__last - __first); > return __first; > } > > template<typename _Tp, typename _Alloc> > vector<_Tp,_Alloc>& > vector<_Tp,_Alloc>:: > operator=(const vector<_Tp,_Alloc>& __x) > { > if (&__x != this) > { > const size_type __xlen = __x.size(); > if (__xlen > capacity()) > { > pointer __tmp = _M_allocate_and_copy(__xlen, __x.begin(), __x.end()); > _Destroy(_M_start, _M_finish); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __tmp; > _M_end_of_storage = _M_start + __xlen; > } > else if (size() >= __xlen) > { > iterator __i(copy(__x.begin(), __x.end(), begin())); > _Destroy(__i, end()); > } > else > { > copy(__x.begin(), __x.begin() + size(), _M_start); > uninitialized_copy(__x.begin() + size(), __x.end(), _M_finish); > } > _M_finish = _M_start + __xlen; > } > return *this; > } > > template<typename _Tp, typename _Alloc> > void > vector<_Tp,_Alloc>:: > _M_fill_assign(size_t __n, const value_type& __val) > { > if (__n > capacity()) > { > vector __tmp(__n, __val, get_allocator()); > __tmp.swap(*this); > } > else if (__n > size()) > { > fill(begin(), end(), __val); > _M_finish = uninitialized_fill_n(_M_finish, __n - size(), __val); > } > else > erase(fill_n(begin(), __n, __val), end()); > } > > template<typename _Tp, typename _Alloc> template<typename _InputIter> > void > vector<_Tp,_Alloc>:: > _M_assign_aux(_InputIter __first, _InputIter __last, input_iterator_tag) > { > iterator __cur(begin()); > for ( ; __first != __last && __cur != end(); ++__cur, ++__first) > *__cur = *__first; > if (__first == __last) > erase(__cur, end()); > else > insert(end(), __first, __last); > } > > template<typename _Tp, typename _Alloc> template<typename _ForwardIter> > void > vector<_Tp,_Alloc>:: > _M_assign_aux(_ForwardIter __first, _ForwardIter __last, > forward_iterator_tag) > { > size_type __len = distance(__first, __last); > > if (__len > capacity()) > { > pointer __tmp(_M_allocate_and_copy(__len, __first, __last)); > _Destroy(_M_start, _M_finish); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __tmp; > _M_end_of_storage = _M_finish = _M_start + __len; > } > else if (size() >= __len) > { > iterator __new_finish(copy(__first, __last, _M_start)); > _Destroy(__new_finish, end()); > _M_finish = __new_finish.base(); > } > else > { > _ForwardIter __mid = __first; > advance(__mid, size()); > copy(__first, __mid, _M_start); > _M_finish = uninitialized_copy(__mid, __last, _M_finish); > } > } > > template<typename _Tp, typename _Alloc> > void > vector<_Tp,_Alloc>:: > _M_insert_aux(iterator __position, const _Tp& __x) > { > if (_M_finish != _M_end_of_storage) > { > _Construct(_M_finish, *(_M_finish - 1)); > ++_M_finish; > _Tp __x_copy = __x; > copy_backward(__position, iterator(_M_finish-2), iterator(_M_finish-1)); > *__position = __x_copy; > } > else > { > const size_type __old_size = size(); > const size_type __len = __old_size != 0 ? 2 * __old_size : 1; > iterator __new_start(_M_allocate(__len)); > iterator __new_finish(__new_start); > try > { > __new_finish = uninitialized_copy(iterator(_M_start), __position, > __new_start); > _Construct(__new_finish.base(), __x); > ++__new_finish; > __new_finish = uninitialized_copy(__position, iterator(_M_finish), > __new_finish); > } > catch(...) > { > _Destroy(__new_start,__new_finish); > _M_deallocate(__new_start.base(),__len); > throw; > } > _Destroy(begin(), end()); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __new_start.base(); > _M_finish = __new_finish.base(); > _M_end_of_storage = __new_start.base() + __len; > } > } ># 305 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/bits/vector.tcc" 3 > template<typename _Tp, typename _Alloc> > void > vector<_Tp,_Alloc>:: > _M_fill_insert(iterator __position, size_type __n, const value_type& __x) > { > if (__n != 0) > { > if (size_type(_M_end_of_storage - _M_finish) >= __n) > { > value_type __x_copy = __x; > const size_type __elems_after = end() - __position; > iterator __old_finish(_M_finish); > if (__elems_after > __n) > { > uninitialized_copy(_M_finish - __n, _M_finish, _M_finish); > _M_finish += __n; > copy_backward(__position, __old_finish - __n, __old_finish); > fill(__position, __position + __n, __x_copy); > } > else > { > uninitialized_fill_n(_M_finish, __n - __elems_after, __x_copy); > _M_finish += __n - __elems_after; > uninitialized_copy(__position, __old_finish, _M_finish); > _M_finish += __elems_after; > fill(__position, __old_finish, __x_copy); > } > } > else > { > const size_type __old_size = size(); > const size_type __len = __old_size + max(__old_size, __n); > iterator __new_start(_M_allocate(__len)); > iterator __new_finish(__new_start); > try > { > __new_finish = uninitialized_copy(begin(), __position, > __new_start); > __new_finish = uninitialized_fill_n(__new_finish, __n, __x); > __new_finish = uninitialized_copy(__position, end(), > __new_finish); > } > catch(...) > { > _Destroy(__new_start,__new_finish); > _M_deallocate(__new_start.base(),__len); > throw; > } > _Destroy(_M_start, _M_finish); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __new_start.base(); > _M_finish = __new_finish.base(); > _M_end_of_storage = __new_start.base() + __len; > } > } > } > > template<typename _Tp, typename _Alloc> template<typename _InputIterator> > void > vector<_Tp,_Alloc>:: > _M_range_insert(iterator __pos, > _InputIterator __first, _InputIterator __last, > input_iterator_tag) > { > for ( ; __first != __last; ++__first) > { > __pos = insert(__pos, *__first); > ++__pos; > } > } > > template<typename _Tp, typename _Alloc> template<typename _ForwardIterator> > void > vector<_Tp,_Alloc>:: > _M_range_insert(iterator __position,_ForwardIterator __first, > _ForwardIterator __last, forward_iterator_tag) > { > if (__first != __last) > { > size_type __n = distance(__first, __last); > if (size_type(_M_end_of_storage - _M_finish) >= __n) > { > const size_type __elems_after = end() - __position; > iterator __old_finish(_M_finish); > if (__elems_after > __n) > { > uninitialized_copy(_M_finish - __n, _M_finish, _M_finish); > _M_finish += __n; > copy_backward(__position, __old_finish - __n, __old_finish); > copy(__first, __last, __position); > } > else > { > _ForwardIterator __mid = __first; > advance(__mid, __elems_after); > uninitialized_copy(__mid, __last, _M_finish); > _M_finish += __n - __elems_after; > uninitialized_copy(__position, __old_finish, _M_finish); > _M_finish += __elems_after; > copy(__first, __mid, __position); > } > } > else > { > const size_type __old_size = size(); > const size_type __len = __old_size + max(__old_size, __n); > iterator __new_start(_M_allocate(__len)); > iterator __new_finish(__new_start); > try > { > __new_finish = uninitialized_copy(iterator(_M_start), > __position, __new_start); > __new_finish = uninitialized_copy(__first, __last, __new_finish); > __new_finish = uninitialized_copy(__position, iterator(_M_finish), > __new_finish); > } > catch(...) > { > _Destroy(__new_start,__new_finish); > _M_deallocate(__new_start.base(), __len); > throw; > } > _Destroy(_M_start, _M_finish); > _M_deallocate(_M_start, _M_end_of_storage - _M_start); > _M_start = __new_start.base(); > _M_finish = __new_finish.base(); > _M_end_of_storage = __new_start.base() + __len; > } > } > } >} ># 76 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/g++-v3/vector" 2 3 ># 37 "preferences.h" 2 >using std::string; >using std::map; >using std::pair; >using std::make_pair; >using std::vector; >class JogShuttleActions >{ >public: > int _option_index; > string _short_desc; > string _desc; > string _action; > JogShuttleActions(int option_index, string short_desc, > string desc, string action ) : > _option_index( option_index ), _short_desc( short_desc ), > _desc( desc ), _action( action ) {}; >}; > >class JogShuttleMapping >{ >public: > string _action; > JogShuttleMapping( string action ) > : _action( action ) {}; > JogShuttleMapping() : _action( "" ) {}; >}; > > > >class Preferences { >private: > static Preferences *instance; > >protected: > Preferences(); > >public: > static Preferences &getInstance(); > > gint defaultNormalisation; > gint defaultAudio; > gint defaultAspect; > gchar file[512]; > gint fileFormat; > gboolean autoSplit; > gboolean timeStamp; > gint frames; > gint every; > gint interface; > gint channel; > gint phyID; > gchar avcGUID[65]; > gint displayMode; > gfloat displayQuality; > gboolean displayFixed; > gboolean enableAudio; > guint cip_n; > guint cip_d; > guint syt_offset; > gboolean preview_capture; > gboolean dropFrame; > gchar audioDevice[512]; > > > gboolean enableJogShuttle; > gchar jogShuttleDevice[512]; > gboolean _isGrabbing; > > map<pair<unsigned short, unsigned short>, JogShuttleMapping> > _JogShuttleMappings; > vector<JogShuttleActions> _JogShuttleActions; > > > gboolean enableV4L; > gboolean disableKeyRepeat; > gint audioRendering; > gint previewRendering; > gboolean enableTimecode; > gint maxUndos; > gchar video1394Device[512]; > gint dvCaptureBuffers; > gint dvExportBuffers; > gboolean dvDecoderAddNTSCSetup; > gboolean dvDecoderClampLuma; > gboolean dvDecoderClampChroma; > gint maxFileSize; > gboolean audioScrub; > gchar v4lVideoDevice[512]; > gchar v4lAudioDevice[512]; > gchar v4lInput[32]; > gchar v4lAudio[32]; > gboolean isOpenDML; > gchar defaultDirectory[512]; > gboolean deinterlacePreview; > gboolean relativeSave; > > gint dvCaptureDriver; > gchar dvCaptureDevice[512]; > gboolean dv1394Preview; > gint dvExportDriver; > gchar dvExportDevice[512]; > gint avcPollIntervalMs; > gint dvExportPrerollSec; > gboolean dvTwoPassEncoder; > > void Save(); >}; > >extern "C" gchar *Preferences_getAudioDevice(void); ># 25 "preferences.cc" 2 ># 1 "kino_common.h" 1 ># 23 "kino_common.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/limits.h" 1 3 4 ># 24 "kino_common.h" 2 > > ># 1 "/usr/include/gnome-1.0/gnome.h" 1 ># 12 "/usr/include/gnome-1.0/gnome.h" ># 1 "/usr/lib/gnome-libs/include/gnomesupport.h" 1 > > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 8 "/usr/lib/gnome-libs/include/gnomesupport.h" 2 > > >extern "C" { > > > >} ># 13 "/usr/include/gnome-1.0/gnome.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtk.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtk.h" ># 1 "/usr/include/gtk-1.2/gdk/gdk.h" 1 ># 31 "/usr/include/gtk-1.2/gdk/gdk.h" ># 1 "/usr/include/gtk-1.2/gdk/gdktypes.h" 1 ># 45 "/usr/include/gtk-1.2/gdk/gdktypes.h" >extern "C" { > > > > > > >typedef gulong GdkAtom; >typedef struct _GdkColor GdkColor; >typedef struct _GdkColormap GdkColormap; >typedef struct _GdkVisual GdkVisual; >typedef struct _GdkWindowAttr GdkWindowAttr; >typedef struct _GdkWindow GdkWindow; >typedef struct _GdkWindow GdkPixmap; >typedef struct _GdkWindow GdkBitmap; >typedef struct _GdkWindow GdkDrawable; >typedef struct _GdkGeometry GdkGeometry; >typedef struct _GdkImage GdkImage; >typedef struct _GdkGCValues GdkGCValues; >typedef struct _GdkGC GdkGC; >typedef struct _GdkPoint GdkPoint; >typedef struct _GdkRectangle GdkRectangle; >typedef struct _GdkSegment GdkSegment; >typedef struct _GdkFont GdkFont; >typedef struct _GdkCursor GdkCursor; >typedef struct _GdkColorContextDither GdkColorContextDither; >typedef struct _GdkColorContext GdkColorContext; >typedef struct _GdkDragContext GdkDragContext; > >typedef struct _GdkEventAny GdkEventAny; >typedef struct _GdkEventExpose GdkEventExpose; >typedef struct _GdkEventNoExpose GdkEventNoExpose; >typedef struct _GdkEventVisibility GdkEventVisibility; >typedef struct _GdkEventMotion GdkEventMotion; >typedef struct _GdkEventButton GdkEventButton; >typedef struct _GdkEventKey GdkEventKey; >typedef struct _GdkEventFocus GdkEventFocus; >typedef struct _GdkEventCrossing GdkEventCrossing; >typedef struct _GdkEventConfigure GdkEventConfigure; >typedef struct _GdkEventProperty GdkEventProperty; >typedef struct _GdkEventSelection GdkEventSelection; >typedef struct _GdkEventProximity GdkEventProximity; >typedef struct _GdkEventClient GdkEventClient; > >typedef struct _GdkEventDND GdkEventDND; > >typedef union _GdkEvent GdkEvent; > >typedef struct _GdkDeviceKey GdkDeviceKey; >typedef struct _GdkDeviceInfo GdkDeviceInfo; >typedef struct _GdkTimeCoord GdkTimeCoord; >typedef struct _GdkRegion GdkRegion; >typedef void (*GdkEventFunc) (GdkEvent *event, > gpointer data); > >typedef struct _GdkIC GdkIC; >typedef struct _GdkICAttr GdkICAttr; > >typedef guint32 GdkWChar; ># 126 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_WINDOW_ROOT, > GDK_WINDOW_TOPLEVEL, > GDK_WINDOW_CHILD, > GDK_WINDOW_DIALOG, > GDK_WINDOW_TEMP, > GDK_WINDOW_PIXMAP, > GDK_WINDOW_FOREIGN >} GdkWindowType; ># 146 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_INPUT_OUTPUT, > GDK_INPUT_ONLY >} GdkWindowClass; ># 162 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_IMAGE_NORMAL, > GDK_IMAGE_SHARED, > GDK_IMAGE_FASTEST >} GdkImageType; ># 177 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_VISUAL_STATIC_GRAY, > GDK_VISUAL_GRAYSCALE, > GDK_VISUAL_STATIC_COLOR, > GDK_VISUAL_PSEUDO_COLOR, > GDK_VISUAL_TRUE_COLOR, > GDK_VISUAL_DIRECT_COLOR >} GdkVisualType; > > > > > >typedef enum >{ > GDK_FONT_FONT, > GDK_FONT_FONTSET >} GdkFontType; ># 205 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_WA_TITLE = 1 << 1, > GDK_WA_X = 1 << 2, > GDK_WA_Y = 1 << 3, > GDK_WA_CURSOR = 1 << 4, > GDK_WA_COLORMAP = 1 << 5, > GDK_WA_VISUAL = 1 << 6, > GDK_WA_WMCLASS = 1 << 7, > GDK_WA_NOREDIR = 1 << 8 >} GdkWindowAttributesType; > > > >typedef enum >{ > GDK_HINT_POS = 1 << 0, > GDK_HINT_MIN_SIZE = 1 << 1, > GDK_HINT_MAX_SIZE = 1 << 2, > GDK_HINT_BASE_SIZE = 1 << 3, > GDK_HINT_ASPECT = 1 << 4, > GDK_HINT_RESIZE_INC = 1 << 5 >} GdkWindowHints; ># 247 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_COPY, > GDK_INVERT, > GDK_XOR, > GDK_CLEAR, > GDK_AND, > GDK_AND_REVERSE, > GDK_AND_INVERT, > GDK_NOOP, > GDK_OR, > GDK_EQUIV, > GDK_OR_REVERSE, > GDK_COPY_INVERT, > GDK_OR_INVERT, > GDK_NAND, > GDK_SET >} GdkFunction; > > > > > > > >typedef enum >{ > GDK_SOLID, > GDK_TILED, > GDK_STIPPLED, > GDK_OPAQUE_STIPPLED >} GdkFill; > > > > > >typedef enum >{ > GDK_EVEN_ODD_RULE, > GDK_WINDING_RULE >} GdkFillRule; > > > > > > >typedef enum >{ > GDK_LINE_SOLID, > GDK_LINE_ON_OFF_DASH, > GDK_LINE_DOUBLE_DASH >} GdkLineStyle; > > > > > > > >typedef enum >{ > GDK_CAP_NOT_LAST, > GDK_CAP_BUTT, > GDK_CAP_ROUND, > GDK_CAP_PROJECTING >} GdkCapStyle; > > > > > > >typedef enum >{ > GDK_JOIN_MITER, > GDK_JOIN_ROUND, > GDK_JOIN_BEVEL >} GdkJoinStyle; > > > >typedef enum >{ ># 1 "/usr/include/gtk-1.2/gdk/gdkcursors.h" 1 >GDK_NUM_GLYPHS = 154, >GDK_X_CURSOR = 0, >GDK_ARROW = 2, >GDK_BASED_ARROW_DOWN = 4, >GDK_BASED_ARROW_UP = 6, >GDK_BOAT = 8, >GDK_BOGOSITY = 10, >GDK_BOTTOM_LEFT_CORNER = 12, >GDK_BOTTOM_RIGHT_CORNER = 14, >GDK_BOTTOM_SIDE = 16, >GDK_BOTTOM_TEE = 18, >GDK_BOX_SPIRAL = 20, >GDK_CENTER_PTR = 22, >GDK_CIRCLE = 24, >GDK_CLOCK = 26, >GDK_COFFEE_MUG = 28, >GDK_CROSS = 30, >GDK_CROSS_REVERSE = 32, >GDK_CROSSHAIR = 34, >GDK_DIAMOND_CROSS = 36, >GDK_DOT = 38, >GDK_DOTBOX = 40, >GDK_DOUBLE_ARROW = 42, >GDK_DRAFT_LARGE = 44, >GDK_DRAFT_SMALL = 46, >GDK_DRAPED_BOX = 48, >GDK_EXCHANGE = 50, >GDK_FLEUR = 52, >GDK_GOBBLER = 54, >GDK_GUMBY = 56, >GDK_HAND1 = 58, >GDK_HAND2 = 60, >GDK_HEART = 62, >GDK_ICON = 64, >GDK_IRON_CROSS = 66, >GDK_LEFT_PTR = 68, >GDK_LEFT_SIDE = 70, >GDK_LEFT_TEE = 72, >GDK_LEFTBUTTON = 74, >GDK_LL_ANGLE = 76, >GDK_LR_ANGLE = 78, >GDK_MAN = 80, >GDK_MIDDLEBUTTON = 82, >GDK_MOUSE = 84, >GDK_PENCIL = 86, >GDK_PIRATE = 88, >GDK_PLUS = 90, >GDK_QUESTION_ARROW = 92, >GDK_RIGHT_PTR = 94, >GDK_RIGHT_SIDE = 96, >GDK_RIGHT_TEE = 98, >GDK_RIGHTBUTTON = 100, >GDK_RTL_LOGO = 102, >GDK_SAILBOAT = 104, >GDK_SB_DOWN_ARROW = 106, >GDK_SB_H_DOUBLE_ARROW = 108, >GDK_SB_LEFT_ARROW = 110, >GDK_SB_RIGHT_ARROW = 112, >GDK_SB_UP_ARROW = 114, >GDK_SB_V_DOUBLE_ARROW = 116, >GDK_SHUTTLE = 118, >GDK_SIZING = 120, >GDK_SPIDER = 122, >GDK_SPRAYCAN = 124, >GDK_STAR = 126, >GDK_TARGET = 128, >GDK_TCROSS = 130, >GDK_TOP_LEFT_ARROW = 132, >GDK_TOP_LEFT_CORNER = 134, >GDK_TOP_RIGHT_CORNER = 136, >GDK_TOP_SIDE = 138, >GDK_TOP_TEE = 140, >GDK_TREK = 142, >GDK_UL_ANGLE = 144, >GDK_UMBRELLA = 146, >GDK_UR_ANGLE = 148, >GDK_WATCH = 150, >GDK_XTERM = 152, ># 333 "/usr/include/gtk-1.2/gdk/gdktypes.h" 2 > GDK_LAST_CURSOR, > GDK_CURSOR_IS_PIXMAP = -1 >} GdkCursorType; > >typedef enum { > GDK_FILTER_CONTINUE, > GDK_FILTER_TRANSLATE, > GDK_FILTER_REMOVE >} GdkFilterReturn; > >typedef enum { > GDK_VISIBILITY_UNOBSCURED, > GDK_VISIBILITY_PARTIAL, > GDK_VISIBILITY_FULLY_OBSCURED >} GdkVisibilityState; ># 371 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_NOTHING = -1, > GDK_DELETE = 0, > GDK_DESTROY = 1, > GDK_EXPOSE = 2, > GDK_MOTION_NOTIFY = 3, > GDK_BUTTON_PRESS = 4, > GDK_2BUTTON_PRESS = 5, > GDK_3BUTTON_PRESS = 6, > GDK_BUTTON_RELEASE = 7, > GDK_KEY_PRESS = 8, > GDK_KEY_RELEASE = 9, > GDK_ENTER_NOTIFY = 10, > GDK_LEAVE_NOTIFY = 11, > GDK_FOCUS_CHANGE = 12, > GDK_CONFIGURE = 13, > GDK_MAP = 14, > GDK_UNMAP = 15, > GDK_PROPERTY_NOTIFY = 16, > GDK_SELECTION_CLEAR = 17, > GDK_SELECTION_REQUEST = 18, > GDK_SELECTION_NOTIFY = 19, > GDK_PROXIMITY_IN = 20, > GDK_PROXIMITY_OUT = 21, > GDK_DRAG_ENTER = 22, > GDK_DRAG_LEAVE = 23, > GDK_DRAG_MOTION = 24, > GDK_DRAG_STATUS = 25, > GDK_DROP_START = 26, > GDK_DROP_FINISHED = 27, > GDK_CLIENT_EVENT = 28, > GDK_VISIBILITY_NOTIFY = 29, > GDK_NO_EXPOSE = 30 >} GdkEventType; > > > > >typedef enum >{ > GDK_EXPOSURE_MASK = 1 << 1, > GDK_POINTER_MOTION_MASK = 1 << 2, > GDK_POINTER_MOTION_HINT_MASK = 1 << 3, > GDK_BUTTON_MOTION_MASK = 1 << 4, > GDK_BUTTON1_MOTION_MASK = 1 << 5, > GDK_BUTTON2_MOTION_MASK = 1 << 6, > GDK_BUTTON3_MOTION_MASK = 1 << 7, > GDK_BUTTON_PRESS_MASK = 1 << 8, > GDK_BUTTON_RELEASE_MASK = 1 << 9, > GDK_KEY_PRESS_MASK = 1 << 10, > GDK_KEY_RELEASE_MASK = 1 << 11, > GDK_ENTER_NOTIFY_MASK = 1 << 12, > GDK_LEAVE_NOTIFY_MASK = 1 << 13, > GDK_FOCUS_CHANGE_MASK = 1 << 14, > GDK_STRUCTURE_MASK = 1 << 15, > GDK_PROPERTY_CHANGE_MASK = 1 << 16, > GDK_VISIBILITY_NOTIFY_MASK = 1 << 17, > GDK_PROXIMITY_IN_MASK = 1 << 18, > GDK_PROXIMITY_OUT_MASK = 1 << 19, > GDK_SUBSTRUCTURE_MASK = 1 << 20, > GDK_ALL_EVENTS_MASK = 0x0FFFFF >} GdkEventMask; ># 443 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_NOTIFY_ANCESTOR = 0, > GDK_NOTIFY_VIRTUAL = 1, > GDK_NOTIFY_INFERIOR = 2, > GDK_NOTIFY_NONLINEAR = 3, > GDK_NOTIFY_NONLINEAR_VIRTUAL = 4, > GDK_NOTIFY_UNKNOWN = 5 >} GdkNotifyType; > > > > > > >typedef enum >{ > GDK_CROSSING_NORMAL, > GDK_CROSSING_GRAB, > GDK_CROSSING_UNGRAB >} GdkCrossingMode; > > > >typedef enum >{ > GDK_SHIFT_MASK = 1 << 0, > GDK_LOCK_MASK = 1 << 1, > GDK_CONTROL_MASK = 1 << 2, > GDK_MOD1_MASK = 1 << 3, > GDK_MOD2_MASK = 1 << 4, > GDK_MOD3_MASK = 1 << 5, > GDK_MOD4_MASK = 1 << 6, > GDK_MOD5_MASK = 1 << 7, > GDK_BUTTON1_MASK = 1 << 8, > GDK_BUTTON2_MASK = 1 << 9, > GDK_BUTTON3_MASK = 1 << 10, > GDK_BUTTON4_MASK = 1 << 11, > GDK_BUTTON5_MASK = 1 << 12, > GDK_RELEASE_MASK = 1 << 13, > GDK_MODIFIER_MASK = 0x3fff >} GdkModifierType; > >typedef enum >{ > GDK_CLIP_BY_CHILDREN = 0, > GDK_INCLUDE_INFERIORS = 1 >} GdkSubwindowMode; > >typedef enum >{ > GDK_INPUT_READ = 1 << 0, > GDK_INPUT_WRITE = 1 << 1, > GDK_INPUT_EXCEPTION = 1 << 2 >} GdkInputCondition; > >typedef enum >{ > GDK_OK = 0, > GDK_ERROR = -1, > GDK_ERROR_PARAM = -2, > GDK_ERROR_FILE = -3, > GDK_ERROR_MEM = -4 >} GdkStatus; > >typedef enum >{ > GDK_LSB_FIRST, > GDK_MSB_FIRST >} GdkByteOrder; > >typedef enum >{ > GDK_GC_FOREGROUND = 1 << 0, > GDK_GC_BACKGROUND = 1 << 1, > GDK_GC_FONT = 1 << 2, > GDK_GC_FUNCTION = 1 << 3, > GDK_GC_FILL = 1 << 4, > GDK_GC_TILE = 1 << 5, > GDK_GC_STIPPLE = 1 << 6, > GDK_GC_CLIP_MASK = 1 << 7, > GDK_GC_SUBWINDOW = 1 << 8, > GDK_GC_TS_X_ORIGIN = 1 << 9, > GDK_GC_TS_Y_ORIGIN = 1 << 10, > GDK_GC_CLIP_X_ORIGIN = 1 << 11, > GDK_GC_CLIP_Y_ORIGIN = 1 << 12, > GDK_GC_EXPOSURES = 1 << 13, > GDK_GC_LINE_WIDTH = 1 << 14, > GDK_GC_LINE_STYLE = 1 << 15, > GDK_GC_CAP_STYLE = 1 << 16, > GDK_GC_JOIN_STYLE = 1 << 17 >} GdkGCValuesMask; > >typedef enum >{ > GDK_SELECTION_PRIMARY = 1, > GDK_SELECTION_SECONDARY = 2 >} GdkSelection; > >typedef enum >{ > GDK_PROPERTY_NEW_VALUE, > GDK_PROPERTY_DELETE >} GdkPropertyState; > >typedef enum >{ > GDK_PROP_MODE_REPLACE, > GDK_PROP_MODE_PREPEND, > GDK_PROP_MODE_APPEND >} GdkPropMode; > > > >typedef enum >{ > GDK_SOURCE_MOUSE, > GDK_SOURCE_PEN, > GDK_SOURCE_ERASER, > GDK_SOURCE_CURSOR >} GdkInputSource; > >typedef enum >{ > GDK_MODE_DISABLED, > GDK_MODE_SCREEN, > GDK_MODE_WINDOW >} GdkInputMode; > >typedef enum >{ > GDK_AXIS_IGNORE, > GDK_AXIS_X, > GDK_AXIS_Y, > GDK_AXIS_PRESSURE, > GDK_AXIS_XTILT, > GDK_AXIS_YTILT, > GDK_AXIS_LAST >} GdkAxisUse; > > > > >typedef enum >{ > GDK_TARGET_BITMAP = 5, > GDK_TARGET_COLORMAP = 7, > GDK_TARGET_DRAWABLE = 17, > GDK_TARGET_PIXMAP = 20, > GDK_TARGET_STRING = 31 >} GdkTarget; > >typedef enum >{ > GDK_SELECTION_TYPE_ATOM = 4, > GDK_SELECTION_TYPE_BITMAP = 5, > GDK_SELECTION_TYPE_COLORMAP = 7, > GDK_SELECTION_TYPE_DRAWABLE = 17, > GDK_SELECTION_TYPE_INTEGER = 19, > GDK_SELECTION_TYPE_PIXMAP = 20, > GDK_SELECTION_TYPE_WINDOW = 33, > GDK_SELECTION_TYPE_STRING = 31 >} GdkSelectionType; > >typedef enum >{ > GDK_EXTENSION_EVENTS_NONE, > GDK_EXTENSION_EVENTS_ALL, > GDK_EXTENSION_EVENTS_CURSOR >} GdkExtensionMode; > >typedef enum >{ > GDK_IM_PREEDIT_AREA = 0x0001, > GDK_IM_PREEDIT_CALLBACKS = 0x0002, > GDK_IM_PREEDIT_POSITION = 0x0004, > GDK_IM_PREEDIT_NOTHING = 0x0008, > GDK_IM_PREEDIT_NONE = 0x0010, > GDK_IM_PREEDIT_MASK = 0x001f, > > GDK_IM_STATUS_AREA = 0x0100, > GDK_IM_STATUS_CALLBACKS = 0x0200, > GDK_IM_STATUS_NOTHING = 0x0400, > GDK_IM_STATUS_NONE = 0x0800, > GDK_IM_STATUS_MASK = 0x0f00 >} GdkIMStyle; > >typedef enum >{ > GDK_IC_STYLE = 1 << 0, > GDK_IC_CLIENT_WINDOW = 1 << 1, > GDK_IC_FOCUS_WINDOW = 1 << 2, > GDK_IC_FILTER_EVENTS = 1 << 3, > GDK_IC_SPOT_LOCATION = 1 << 4, > GDK_IC_LINE_SPACING = 1 << 5, > GDK_IC_CURSOR = 1 << 6, > > GDK_IC_PREEDIT_FONTSET = 1 << 10, > GDK_IC_PREEDIT_AREA = 1 << 11, > GDK_IC_PREEDIT_AREA_NEEDED = 1 << 12, > GDK_IC_PREEDIT_FOREGROUND = 1 << 13, > GDK_IC_PREEDIT_BACKGROUND = 1 << 14, > GDK_IC_PREEDIT_PIXMAP = 1 << 15, > GDK_IC_PREEDIT_COLORMAP = 1 << 16, > > GDK_IC_STATUS_FONTSET = 1 << 21, > GDK_IC_STATUS_AREA = 1 << 22, > GDK_IC_STATUS_AREA_NEEDED = 1 << 23, > GDK_IC_STATUS_FOREGROUND = 1 << 24, > GDK_IC_STATUS_BACKGROUND = 1 << 25, > GDK_IC_STATUS_PIXMAP = 1 << 26, > GDK_IC_STATUS_COLORMAP = 1 << 27, > > GDK_IC_ALL_REQ = GDK_IC_STYLE | > GDK_IC_CLIENT_WINDOW, > > GDK_IC_PREEDIT_AREA_REQ = GDK_IC_PREEDIT_AREA | > GDK_IC_PREEDIT_FONTSET, > GDK_IC_PREEDIT_POSITION_REQ = GDK_IC_PREEDIT_AREA | GDK_IC_SPOT_LOCATION | > GDK_IC_PREEDIT_FONTSET, > > GDK_IC_STATUS_AREA_REQ = GDK_IC_STATUS_AREA | > GDK_IC_STATUS_FONTSET >} GdkICAttributesType; > > > > > > >typedef enum >{ > GDK_DECOR_ALL = 1 << 0, > GDK_DECOR_BORDER = 1 << 1, > GDK_DECOR_RESIZEH = 1 << 2, > GDK_DECOR_TITLE = 1 << 3, > GDK_DECOR_MENU = 1 << 4, > GDK_DECOR_MINIMIZE = 1 << 5, > GDK_DECOR_MAXIMIZE = 1 << 6 >} GdkWMDecoration; > >typedef enum >{ > GDK_FUNC_ALL = 1 << 0, > GDK_FUNC_RESIZE = 1 << 1, > GDK_FUNC_MOVE = 1 << 2, > GDK_FUNC_MINIMIZE = 1 << 3, > GDK_FUNC_MAXIMIZE = 1 << 4, > GDK_FUNC_CLOSE = 1 << 5 >} GdkWMFunction; > >typedef void (*GdkInputFunction) (gpointer data, > gint source, > GdkInputCondition condition); > >typedef void (*GdkDestroyNotify) (gpointer data); ># 710 "/usr/include/gtk-1.2/gdk/gdktypes.h" >typedef enum >{ > GDK_CC_MODE_UNDEFINED, > GDK_CC_MODE_BW, > GDK_CC_MODE_STD_CMAP, > GDK_CC_MODE_TRUE, > GDK_CC_MODE_MY_GRAY, > GDK_CC_MODE_PALETTE >} GdkColorContextMode; > > > > > > > >typedef enum >{ > GDK_OVERLAP_RECTANGLE_IN, > GDK_OVERLAP_RECTANGLE_OUT, > GDK_OVERLAP_RECTANGLE_PART >} GdkOverlapType; > >typedef enum { > GDK_ACTION_DEFAULT = 1 << 0, > GDK_ACTION_COPY = 1 << 1, > GDK_ACTION_MOVE = 1 << 2, > GDK_ACTION_LINK = 1 << 3, > GDK_ACTION_PRIVATE = 1 << 4, > GDK_ACTION_ASK = 1 << 5 >} GdkDragAction; > >typedef enum { > GDK_DRAG_PROTO_MOTIF, > GDK_DRAG_PROTO_XDND, > GDK_DRAG_PROTO_ROOTWIN, > > GDK_DRAG_PROTO_NONE >} GdkDragProtocol; ># 757 "/usr/include/gtk-1.2/gdk/gdktypes.h" >struct _GdkColor >{ > gulong pixel; > gushort red; > gushort green; > gushort blue; >}; > > > > >struct _GdkColormap >{ > gint size; > GdkColor *colors; >}; ># 786 "/usr/include/gtk-1.2/gdk/gdktypes.h" >struct _GdkVisual >{ > GdkVisualType type; > gint depth; > GdkByteOrder byte_order; > gint colormap_size; > gint bits_per_rgb; > > guint32 red_mask; > gint red_shift; > gint red_prec; > > guint32 green_mask; > gint green_shift; > gint green_prec; > > guint32 blue_mask; > gint blue_shift; > gint blue_prec; >}; > >struct _GdkWindowAttr >{ > gchar *title; > gint event_mask; > gint16 x, y; > gint16 width; > gint16 height; > GdkWindowClass wclass; > GdkVisual *visual; > GdkColormap *colormap; > GdkWindowType window_type; > GdkCursor *cursor; > gchar *wmclass_name; > gchar *wmclass_class; > gboolean override_redirect; >}; > >struct _GdkWindow >{ > gpointer user_data; >}; > >struct _GdkGeometry { > gint min_width; > gint min_height; > gint max_width; > gint max_height; > gint base_width; > gint base_height; > gint width_inc; > gint height_inc; > gdouble min_aspect; > gdouble max_aspect; > >}; > >struct _GdkImage >{ > GdkImageType type; > GdkVisual *visual; > GdkByteOrder byte_order; > guint16 width; > guint16 height; > guint16 depth; > guint16 bpp; > guint16 bpl; > gpointer mem; >}; > >struct _GdkGCValues >{ > GdkColor foreground; > GdkColor background; > GdkFont *font; > GdkFunction function; > GdkFill fill; > GdkPixmap *tile; > GdkPixmap *stipple; > GdkPixmap *clip_mask; > GdkSubwindowMode subwindow_mode; > gint ts_x_origin; > gint ts_y_origin; > gint clip_x_origin; > gint clip_y_origin; > gint graphics_exposures; > gint line_width; > GdkLineStyle line_style; > GdkCapStyle cap_style; > GdkJoinStyle join_style; >}; > >struct _GdkGC >{ > gint dummy_var; >}; > >struct _GdkPoint >{ > gint16 x; > gint16 y; >}; > >struct _GdkRectangle >{ > gint16 x; > gint16 y; > guint16 width; > guint16 height; >}; > >struct _GdkSegment >{ > gint16 x1; > gint16 y1; > gint16 x2; > gint16 y2; >}; > >struct _GdkFont >{ > GdkFontType type; > gint ascent; > gint descent; >}; > >struct _GdkCursor >{ > GdkCursorType type; >}; > > >struct _GdkColorContextDither >{ > gint fast_rgb[32][32][32]; > gint fast_err[32][32][32]; > gint fast_erg[32][32][32]; > gint fast_erb[32][32][32]; >}; > >struct _GdkColorContext >{ > GdkVisual *visual; > GdkColormap *colormap; > > gint num_colors; > gint max_colors; > gint num_allocated; > > GdkColorContextMode mode; > gint need_to_free_colormap; > GdkAtom std_cmap_atom; > > gulong *clut; > GdkColor *cmap; > > GHashTable *color_hash; > GdkColor *palette; > gint num_palette; > > GdkColorContextDither *fast_dither; > > struct > { > gint red; > gint green; > gint blue; > } shifts; > > struct > { > gulong red; > gulong green; > gulong blue; > } masks; > > struct > { > gint red; > gint green; > gint blue; > } bits; > > gulong max_entry; > > gulong black_pixel; > gulong white_pixel; >}; > > > >struct _GdkDeviceKey >{ > guint keyval; > GdkModifierType modifiers; >}; > >struct _GdkDeviceInfo >{ > guint32 deviceid; > gchar *name; > GdkInputSource source; > GdkInputMode mode; > gint has_cursor; > gint num_axes; > GdkAxisUse *axes; > gint num_keys; > GdkDeviceKey *keys; >}; > >struct _GdkTimeCoord >{ > guint32 time; > gdouble x; > gdouble y; > gdouble pressure; > gdouble xtilt; > gdouble ytilt; >}; > > > > >struct _GdkDragContext { > GdkDragProtocol protocol; > > gboolean is_source; > > GdkWindow *source_window; > GdkWindow *dest_window; > > GList *targets; > GdkDragAction actions; > GdkDragAction suggested_action; > GdkDragAction action; > > guint32 start_time; >}; > > > >typedef void GdkXEvent; > >typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent, > GdkEvent *event, > gpointer data); > >struct _GdkEventAny >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; >}; > >struct _GdkEventExpose >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkRectangle area; > gint count; >}; > >struct _GdkEventNoExpose >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > >}; > >struct _GdkEventVisibility >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkVisibilityState state; >}; > >struct _GdkEventMotion >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > gdouble x; > gdouble y; > gdouble pressure; > gdouble xtilt; > gdouble ytilt; > guint state; > gint16 is_hint; > GdkInputSource source; > guint32 deviceid; > gdouble x_root, y_root; >}; > >struct _GdkEventButton >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > gdouble x; > gdouble y; > gdouble pressure; > gdouble xtilt; > gdouble ytilt; > guint state; > guint button; > GdkInputSource source; > guint32 deviceid; > gdouble x_root, y_root; >}; > >struct _GdkEventKey >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > guint state; > guint keyval; > gint length; > gchar *string; >}; > >struct _GdkEventCrossing >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkWindow *subwindow; > guint32 time; > gdouble x; > gdouble y; > gdouble x_root; > gdouble y_root; > GdkCrossingMode mode; > GdkNotifyType detail; > gboolean focus; > guint state; >}; > >struct _GdkEventFocus >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > gint16 in; >}; > >struct _GdkEventConfigure >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > gint16 x, y; > gint16 width; > gint16 height; >}; > >struct _GdkEventProperty >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom atom; > guint32 time; > guint state; >}; > >struct _GdkEventSelection >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom selection; > GdkAtom target; > GdkAtom property; > guint32 requestor; > guint32 time; >}; > > > > >struct _GdkEventProximity >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > GdkInputSource source; > guint32 deviceid; >}; > >struct _GdkEventClient >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom message_type; > gushort data_format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >}; > > > >struct _GdkEventDND { > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkDragContext *context; > > guint32 time; > gshort x_root, y_root; >}; > >union _GdkEvent >{ > GdkEventType type; > GdkEventAny any; > GdkEventExpose expose; > GdkEventNoExpose no_expose; > GdkEventVisibility visibility; > GdkEventMotion motion; > GdkEventButton button; > GdkEventKey key; > GdkEventCrossing crossing; > GdkEventFocus focus_change; > GdkEventConfigure configure; > GdkEventProperty property; > GdkEventSelection selection; > GdkEventProximity proximity; > GdkEventClient client; > GdkEventDND dnd; >}; > >struct _GdkRegion >{ > gpointer user_data; >}; > >struct _GdkICAttr >{ > GdkIMStyle style; > GdkWindow *client_window; > GdkWindow *focus_window; > GdkEventMask filter_events; > GdkPoint spot_location; > gint line_spacing; > GdkCursor *cursor; > > GdkFont *preedit_fontset; > GdkRectangle preedit_area; > GdkRectangle preedit_area_needed; > GdkColor preedit_foreground; > GdkColor preedit_background; > GdkPixmap *preedit_pixmap; > GdkColormap *preedit_colormap; > > GdkFont *status_fontset; > GdkRectangle status_area; > GdkRectangle status_area_needed; > GdkColor status_foreground; > GdkColor status_background; > GdkPixmap *status_pixmap; > GdkColormap *status_colormap; >}; > > >} ># 32 "/usr/include/gtk-1.2/gdk/gdk.h" 2 > > >extern "C" { > > > > > > >void gdk_init (gint *argc, > gchar ***argv); >gboolean gdk_init_check (gint *argc, > gchar ***argv); >void gdk_exit (gint error_code); >gchar* gdk_set_locale (void); > > > >void gdk_error_trap_push (void); >gint gdk_error_trap_pop (void); > > >gboolean gdk_events_pending (void); >GdkEvent* gdk_event_get (void); > >GdkEvent* gdk_event_peek (void); >GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window); >void gdk_event_put (GdkEvent *event); > >GdkEvent* gdk_event_copy (GdkEvent *event); >void gdk_event_free (GdkEvent *event); >guint32 gdk_event_get_time (GdkEvent *event); > >void gdk_event_handler_set (GdkEventFunc func, > gpointer data, > GDestroyNotify notify); > >void gdk_set_show_events (gboolean show_events); >void gdk_set_use_xshm (gboolean use_xshm); > >gboolean gdk_get_show_events (void); >gboolean gdk_get_use_xshm (void); >gchar* gdk_get_display (void); > >guint32 gdk_time_get (void); >guint32 gdk_timer_get (void); >void gdk_timer_set (guint32 milliseconds); >void gdk_timer_enable (void); >void gdk_timer_disable (void); > >gint gdk_input_add_full (gint source, > GdkInputCondition condition, > GdkInputFunction function, > gpointer data, > GdkDestroyNotify destroy); >gint gdk_input_add (gint source, > GdkInputCondition condition, > GdkInputFunction function, > gpointer data); >void gdk_input_remove (gint tag); > >gint gdk_pointer_grab (GdkWindow *window, > gint owner_events, > GdkEventMask event_mask, > GdkWindow *confine_to, > GdkCursor *cursor, > guint32 time); >void gdk_pointer_ungrab (guint32 time); >gint gdk_keyboard_grab (GdkWindow *window, > gboolean owner_events, > guint32 time); >void gdk_keyboard_ungrab (guint32 time); >gboolean gdk_pointer_is_grabbed (void); > > >gint gdk_screen_width (void); >gint gdk_screen_height (void); > >gint gdk_screen_width_mm (void); >gint gdk_screen_height_mm (void); > >void gdk_flush (void); >void gdk_beep (void); > >void gdk_key_repeat_disable (void); >void gdk_key_repeat_restore (void); > > > > >gint gdk_visual_get_best_depth (void); >GdkVisualType gdk_visual_get_best_type (void); >GdkVisual* gdk_visual_get_system (void); >GdkVisual* gdk_visual_get_best (void); >GdkVisual* gdk_visual_get_best_with_depth (gint depth); >GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type); >GdkVisual* gdk_visual_get_best_with_both (gint depth, > GdkVisualType visual_type); > > >GdkVisual* gdk_visual_ref (GdkVisual *visual); >void gdk_visual_unref (GdkVisual *visual); > >void gdk_query_depths (gint **depths, > gint *count); >void gdk_query_visual_types (GdkVisualType **visual_types, > gint *count); > >GList* gdk_list_visuals (void); > > > > >GdkWindow* gdk_window_new (GdkWindow *parent, > GdkWindowAttr *attributes, > gint attributes_mask); > >void gdk_window_destroy (GdkWindow *window); >GdkWindow* gdk_window_ref (GdkWindow *window); >void gdk_window_unref (GdkWindow *window); > >GdkWindow* gdk_window_at_pointer (gint *win_x, > gint *win_y); >void gdk_window_show (GdkWindow *window); >void gdk_window_hide (GdkWindow *window); >void gdk_window_withdraw (GdkWindow *window); >void gdk_window_move (GdkWindow *window, > gint x, > gint y); >void gdk_window_resize (GdkWindow *window, > gint width, > gint height); >void gdk_window_move_resize (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_reparent (GdkWindow *window, > GdkWindow *new_parent, > gint x, > gint y); >void gdk_window_clear (GdkWindow *window); >void gdk_window_clear_area (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_clear_area_e(GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_copy_area (GdkWindow *window, > GdkGC *gc, > gint x, > gint y, > GdkWindow *source_window, > gint source_x, > gint source_y, > gint width, > gint height); >void gdk_window_raise (GdkWindow *window); >void gdk_window_lower (GdkWindow *window); > >void gdk_window_set_user_data (GdkWindow *window, > gpointer user_data); >void gdk_window_set_override_redirect(GdkWindow *window, > gboolean override_redirect); > >void gdk_window_add_filter (GdkWindow *window, > GdkFilterFunc function, > gpointer data); >void gdk_window_remove_filter (GdkWindow *window, > GdkFilterFunc function, > gpointer data); > > > > > > > >void gdk_window_shape_combine_mask (GdkWindow *window, > GdkBitmap *shape_mask, > gint offset_x, > gint offset_y); > > > > > > > >void gdk_window_set_child_shapes (GdkWindow *window); ># 234 "/usr/include/gtk-1.2/gdk/gdk.h" >void gdk_window_merge_child_shapes (GdkWindow *window); > > > > > > > >gboolean gdk_window_is_visible (GdkWindow *window); >gboolean gdk_window_is_viewable (GdkWindow *window); > > > > >gboolean gdk_window_set_static_gravities (GdkWindow *window, > gboolean use_static); > > > > >void gdk_add_client_message_filter (GdkAtom message_type, > GdkFilterFunc func, > gpointer data); > > > >GdkDragContext * gdk_drag_context_new (void); >void gdk_drag_context_ref (GdkDragContext *context); >void gdk_drag_context_unref (GdkDragContext *context); > > > >void gdk_drag_status (GdkDragContext *context, > GdkDragAction action, > guint32 time); >void gdk_drop_reply (GdkDragContext *context, > gboolean ok, > guint32 time); >void gdk_drop_finish (GdkDragContext *context, > gboolean success, > guint32 time); >GdkAtom gdk_drag_get_selection (GdkDragContext *context); > > > >GdkDragContext * gdk_drag_begin (GdkWindow *window, > GList *targets); >guint32 gdk_drag_get_protocol (guint32 xid, > GdkDragProtocol *protocol); >void gdk_drag_find_window (GdkDragContext *context, > GdkWindow *drag_window, > gint x_root, > gint y_root, > GdkWindow **dest_window, > GdkDragProtocol *protocol); >gboolean gdk_drag_motion (GdkDragContext *context, > GdkWindow *dest_window, > GdkDragProtocol protocol, > gint x_root, > gint y_root, > GdkDragAction suggested_action, > GdkDragAction possible_actions, > guint32 time); >void gdk_drag_drop (GdkDragContext *context, > guint32 time); >void gdk_drag_abort (GdkDragContext *context, > guint32 time); > > > >void gdk_window_set_hints (GdkWindow *window, > gint x, > gint y, > gint min_width, > gint min_height, > gint max_width, > gint max_height, > gint flags); >void gdk_window_set_geometry_hints (GdkWindow *window, > GdkGeometry *geometry, > GdkWindowHints flags); >void gdk_set_sm_client_id (const gchar *sm_client_id); > > >void gdk_window_set_title (GdkWindow *window, > const gchar *title); >void gdk_window_set_role (GdkWindow *window, > const gchar *role); >void gdk_window_set_transient_for (GdkWindow *window, > GdkWindow *leader); >void gdk_window_set_background (GdkWindow *window, > GdkColor *color); >void gdk_window_set_back_pixmap (GdkWindow *window, > GdkPixmap *pixmap, > gboolean parent_relative); >void gdk_window_set_cursor (GdkWindow *window, > GdkCursor *cursor); >void gdk_window_set_colormap (GdkWindow *window, > GdkColormap *colormap); >void gdk_window_get_user_data (GdkWindow *window, > gpointer *data); >void gdk_window_get_geometry (GdkWindow *window, > gint *x, > gint *y, > gint *width, > gint *height, > gint *depth); >void gdk_window_get_position (GdkWindow *window, > gint *x, > gint *y); >void gdk_window_get_size (GdkWindow *window, > gint *width, > gint *height); >GdkVisual* gdk_window_get_visual (GdkWindow *window); >GdkColormap* gdk_window_get_colormap (GdkWindow *window); >GdkWindowType gdk_window_get_type (GdkWindow *window); >gint gdk_window_get_origin (GdkWindow *window, > gint *x, > gint *y); >gboolean gdk_window_get_deskrelative_origin (GdkWindow *window, > gint *x, > gint *y); >void gdk_window_get_root_origin (GdkWindow *window, > gint *x, > gint *y); >GdkWindow* gdk_window_get_pointer (GdkWindow *window, > gint *x, > gint *y, > GdkModifierType *mask); >GdkWindow* gdk_window_get_parent (GdkWindow *window); >GdkWindow* gdk_window_get_toplevel (GdkWindow *window); >GList* gdk_window_get_children (GdkWindow *window); >GdkEventMask gdk_window_get_events (GdkWindow *window); >void gdk_window_set_events (GdkWindow *window, > GdkEventMask event_mask); > >void gdk_window_set_icon (GdkWindow *window, > GdkWindow *icon_window, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gdk_window_set_icon_name (GdkWindow *window, > const gchar *name); >void gdk_window_set_group (GdkWindow *window, > GdkWindow *leader); >void gdk_window_set_decorations (GdkWindow *window, > GdkWMDecoration decorations); >void gdk_window_set_functions (GdkWindow *window, > GdkWMFunction functions); >GList * gdk_window_get_toplevels (void); > >void gdk_window_register_dnd (GdkWindow *window); > >void gdk_drawable_set_data (GdkDrawable *drawable, > const gchar *key, > gpointer data, > GDestroyNotify destroy_func); > > > > >GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); >GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source, > GdkPixmap *mask, > GdkColor *fg, > GdkColor *bg, > gint x, > gint y); >void gdk_cursor_destroy (GdkCursor *cursor); > > > > >GdkGC* gdk_gc_new (GdkWindow *window); >GdkGC* gdk_gc_new_with_values (GdkWindow *window, > GdkGCValues *values, > GdkGCValuesMask values_mask); >GdkGC* gdk_gc_ref (GdkGC *gc); >void gdk_gc_unref (GdkGC *gc); >void gdk_gc_destroy (GdkGC *gc); >void gdk_gc_get_values (GdkGC *gc, > GdkGCValues *values); >void gdk_gc_set_foreground (GdkGC *gc, > GdkColor *color); >void gdk_gc_set_background (GdkGC *gc, > GdkColor *color); >void gdk_gc_set_font (GdkGC *gc, > GdkFont *font); >void gdk_gc_set_function (GdkGC *gc, > GdkFunction function); >void gdk_gc_set_fill (GdkGC *gc, > GdkFill fill); >void gdk_gc_set_tile (GdkGC *gc, > GdkPixmap *tile); >void gdk_gc_set_stipple (GdkGC *gc, > GdkPixmap *stipple); >void gdk_gc_set_ts_origin (GdkGC *gc, > gint x, > gint y); >void gdk_gc_set_clip_origin (GdkGC *gc, > gint x, > gint y); >void gdk_gc_set_clip_mask (GdkGC *gc, > GdkBitmap *mask); >void gdk_gc_set_clip_rectangle (GdkGC *gc, > GdkRectangle *rectangle); >void gdk_gc_set_clip_region (GdkGC *gc, > GdkRegion *region); >void gdk_gc_set_subwindow (GdkGC *gc, > GdkSubwindowMode mode); >void gdk_gc_set_exposures (GdkGC *gc, > gboolean exposures); >void gdk_gc_set_line_attributes (GdkGC *gc, > gint line_width, > GdkLineStyle line_style, > GdkCapStyle cap_style, > GdkJoinStyle join_style); >void gdk_gc_set_dashes (GdkGC *gc, > gint dash_offset, > gint8 dash_list[], > gint n); >void gdk_gc_copy (GdkGC *dst_gc, > GdkGC *src_gc); > > > > >GdkPixmap* gdk_pixmap_new (GdkWindow *window, > gint width, > gint height, > gint depth); >GdkBitmap* gdk_bitmap_create_from_data (GdkWindow *window, > const gchar *data, > gint width, > gint height); >GdkPixmap* gdk_pixmap_create_from_data (GdkWindow *window, > const gchar *data, > gint width, > gint height, > gint depth, > GdkColor *fg, > GdkColor *bg); >GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window, > GdkBitmap **mask, > GdkColor *transparent_color, > const gchar *filename); >GdkPixmap* gdk_pixmap_colormap_create_from_xpm ( > GdkWindow *window, > GdkColormap *colormap, > GdkBitmap **mask, > GdkColor *transparent_color, > const gchar *filename); >GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkWindow *window, > GdkBitmap **mask, > GdkColor *transparent_color, > gchar **data); >GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d ( > GdkWindow *window, > GdkColormap *colormap, > GdkBitmap **mask, > GdkColor *transparent_color, > gchar **data); >GdkPixmap *gdk_pixmap_ref (GdkPixmap *pixmap); >void gdk_pixmap_unref (GdkPixmap *pixmap); > >GdkBitmap *gdk_bitmap_ref (GdkBitmap *pixmap); >void gdk_bitmap_unref (GdkBitmap *pixmap); > > > > >GdkImage* gdk_image_new_bitmap(GdkVisual *visual, > gpointer data, > gint width, > gint height); >GdkImage* gdk_image_new (GdkImageType type, > GdkVisual *visual, > gint width, > gint height); >GdkImage* gdk_image_get (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_image_put_pixel (GdkImage *image, > gint x, > gint y, > guint32 pixel); >guint32 gdk_image_get_pixel (GdkImage *image, > gint x, > gint y); >void gdk_image_destroy (GdkImage *image); > > > > >GdkColormap* gdk_colormap_new (GdkVisual *visual, > gboolean allocate); >GdkColormap* gdk_colormap_ref (GdkColormap *cmap); >void gdk_colormap_unref (GdkColormap *cmap); > >GdkColormap* gdk_colormap_get_system (void); >gint gdk_colormap_get_system_size (void); > >void gdk_colormap_change (GdkColormap *colormap, > gint ncolors); > >void gdk_colormap_sync (GdkColormap *colormap, > gboolean force); >gint gdk_colormap_alloc_colors (GdkColormap *colormap, > GdkColor *colors, > gint ncolors, > gboolean writeable, > gboolean best_match, > gboolean *success); >gboolean gdk_colormap_alloc_color (GdkColormap *colormap, > GdkColor *color, > gboolean writeable, > gboolean best_match); >void gdk_colormap_free_colors (GdkColormap *colormap, > GdkColor *colors, > gint ncolors); > >GdkVisual* gdk_colormap_get_visual (GdkColormap *colormap); > >GdkColor* gdk_color_copy (const GdkColor *color); >void gdk_color_free (GdkColor *color); > >gboolean gdk_color_parse (const gchar *spec, > GdkColor *color); >guint gdk_color_hash (const GdkColor *colora, > const GdkColor *colorb); >gboolean gdk_color_equal (const GdkColor *colora, > const GdkColor *colorb); > > > >void gdk_colors_store (GdkColormap *colormap, > GdkColor *colors, > gint ncolors); >gboolean gdk_colors_alloc (GdkColormap *colormap, > gboolean contiguous, > gulong *planes, > gint nplanes, > gulong *pixels, > gint npixels); >void gdk_colors_free (GdkColormap *colormap, > gulong *pixels, > gint npixels, > gulong planes); >gboolean gdk_color_white (GdkColormap *colormap, > GdkColor *color); >gboolean gdk_color_black (GdkColormap *colormap, > GdkColor *color); >gboolean gdk_color_alloc (GdkColormap *colormap, > GdkColor *color); >gboolean gdk_color_change (GdkColormap *colormap, > GdkColor *color); > > > > >GdkFont* gdk_font_load (const gchar *font_name); >GdkFont* gdk_fontset_load (const gchar *fontset_name); >GdkFont* gdk_font_ref (GdkFont *font); >void gdk_font_unref (GdkFont *font); >gint gdk_font_id (const GdkFont *font); >gboolean gdk_font_equal (const GdkFont *fonta, > const GdkFont *fontb); >gint gdk_string_width (GdkFont *font, > const gchar *string); >gint gdk_text_width (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_text_width_wc (GdkFont *font, > const GdkWChar *text, > gint text_length); >gint gdk_char_width (GdkFont *font, > gchar character); >gint gdk_char_width_wc (GdkFont *font, > GdkWChar character); >gint gdk_string_measure (GdkFont *font, > const gchar *string); >gint gdk_text_measure (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_char_measure (GdkFont *font, > gchar character); >gint gdk_string_height (GdkFont *font, > const gchar *string); >gint gdk_text_height (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_char_height (GdkFont *font, > gchar character); > >void gdk_text_extents (GdkFont *font, > const gchar *text, > gint text_length, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); >void gdk_text_extents_wc (GdkFont *font, > const GdkWChar *text, > gint text_length, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); >void gdk_string_extents (GdkFont *font, > const gchar *string, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); > > > >void gdk_draw_point (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y); >void gdk_draw_line (GdkDrawable *drawable, > GdkGC *gc, > gint x1, > gint y1, > gint x2, > gint y2); >void gdk_draw_rectangle (GdkDrawable *drawable, > GdkGC *gc, > gint filled, > gint x, > gint y, > gint width, > gint height); >void gdk_draw_arc (GdkDrawable *drawable, > GdkGC *gc, > gint filled, > gint x, > gint y, > gint width, > gint height, > gint angle1, > gint angle2); >void gdk_draw_polygon (GdkDrawable *drawable, > GdkGC *gc, > gint filled, > GdkPoint *points, > gint npoints); >void gdk_draw_string (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const gchar *string); >void gdk_draw_text (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const gchar *text, > gint text_length); >void gdk_draw_text_wc (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const GdkWChar *text, > gint text_length); >void gdk_draw_pixmap (GdkDrawable *drawable, > GdkGC *gc, > GdkDrawable *src, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); >void gdk_draw_image (GdkDrawable *drawable, > GdkGC *gc, > GdkImage *image, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); >void gdk_draw_points (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); >void gdk_draw_segments (GdkDrawable *drawable, > GdkGC *gc, > GdkSegment *segs, > gint nsegs); >void gdk_draw_lines (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); > > > > > > >gboolean gdk_selection_owner_set (GdkWindow *owner, > GdkAtom selection, > guint32 time, > gint send_event); >GdkWindow* gdk_selection_owner_get (GdkAtom selection); >void gdk_selection_convert (GdkWindow *requestor, > GdkAtom selection, > GdkAtom target, > guint32 time); >gboolean gdk_selection_property_get (GdkWindow *requestor, > guchar **data, > GdkAtom *prop_type, > gint *prop_format); >void gdk_selection_send_notify (guint32 requestor, > GdkAtom selection, > GdkAtom target, > GdkAtom property, > guint32 time); > >gint gdk_text_property_to_text_list (GdkAtom encoding, gint format, > guchar *text, gint length, > gchar ***list); >void gdk_free_text_list (gchar **list); >gint gdk_string_to_compound_text (const gchar *str, > GdkAtom *encoding, gint *format, > guchar **ctext, gint *length); >void gdk_free_compound_text (guchar *ctext); > > > >GdkAtom gdk_atom_intern (const gchar *atom_name, > gint only_if_exists); >gchar* gdk_atom_name (GdkAtom atom); >gboolean gdk_property_get (GdkWindow *window, > GdkAtom property, > GdkAtom type, > gulong offset, > gulong length, > gint pdelete, > GdkAtom *actual_property_type, > gint *actual_format, > gint *actual_length, > guchar **data); >void gdk_property_change (GdkWindow *window, > GdkAtom property, > GdkAtom type, > gint format, > GdkPropMode mode, > guchar *data, > gint nelements); >void gdk_property_delete (GdkWindow *window, > GdkAtom property); > > > > > >gboolean gdk_rectangle_intersect (GdkRectangle *src1, > GdkRectangle *src2, > GdkRectangle *dest); >void gdk_rectangle_union (GdkRectangle *src1, > GdkRectangle *src2, > GdkRectangle *dest); > > > >void gdk_input_init (void); >void gdk_input_exit (void); >GList * gdk_input_list_devices (void); >void gdk_input_set_extension_events (GdkWindow *window, > gint mask, > GdkExtensionMode mode); >void gdk_input_set_source (guint32 deviceid, > GdkInputSource source); >gboolean gdk_input_set_mode (guint32 deviceid, > GdkInputMode mode); >void gdk_input_set_axes (guint32 deviceid, > GdkAxisUse *axes); >void gdk_input_set_key (guint32 deviceid, > guint index, > guint keyval, > GdkModifierType modifiers); >void gdk_input_window_get_pointer (GdkWindow *window, > guint32 deviceid, > gdouble *x, > gdouble *y, > gdouble *pressure, > gdouble *xtilt, > gdouble *ytilt, > GdkModifierType *mask); >GdkTimeCoord *gdk_input_motion_events (GdkWindow *window, > guint32 deviceid, > guint32 start, > guint32 stop, > gint *nevents_return); > > > > >gboolean gdk_im_ready (void); > >void gdk_im_begin (GdkIC *ic, > GdkWindow *window); >void gdk_im_end (void); >GdkIMStyle gdk_im_decide_style (GdkIMStyle supported_style); >GdkIMStyle gdk_im_set_best_style (GdkIMStyle best_allowed_style); > >GdkIC* gdk_ic_new (GdkICAttr *attr, > GdkICAttributesType mask); >void gdk_ic_destroy (GdkIC *ic); >GdkIMStyle gdk_ic_get_style (GdkIC *ic); >GdkEventMask gdk_ic_get_events (GdkIC *ic); > >GdkICAttr* gdk_ic_attr_new (void); >void gdk_ic_attr_destroy (GdkICAttr *attr); > >GdkICAttributesType gdk_ic_set_attr (GdkIC *ic, > GdkICAttr *attr, > GdkICAttributesType mask); >GdkICAttributesType gdk_ic_get_attr (GdkIC *ic, > GdkICAttr *attr, > GdkICAttributesType mask); > > > >gchar *gdk_wcstombs (const GdkWChar *src); >gint gdk_mbstowcs (GdkWChar *dest, > const gchar *src, > gint dest_max); > > > > >GdkColorContext *gdk_color_context_new (GdkVisual *visual, > GdkColormap *colormap); > >GdkColorContext *gdk_color_context_new_mono (GdkVisual *visual, > GdkColormap *colormap); > >void gdk_color_context_free (GdkColorContext *cc); > >gulong gdk_color_context_get_pixel (GdkColorContext *cc, > gushort red, > gushort green, > gushort blue, > gint *failed); >void gdk_color_context_get_pixels (GdkColorContext *cc, > gushort *reds, > gushort *greens, > gushort *blues, > gint ncolors, > gulong *colors, > gint *nallocated); >void gdk_color_context_get_pixels_incremental (GdkColorContext *cc, > gushort *reds, > gushort *greens, > gushort *blues, > gint ncolors, > gint *used, > gulong *colors, > gint *nallocated); > >gint gdk_color_context_query_color (GdkColorContext *cc, > GdkColor *color); >gint gdk_color_context_query_colors (GdkColorContext *cc, > GdkColor *colors, > gint num_colors); > >gint gdk_color_context_add_palette (GdkColorContext *cc, > GdkColor *palette, > gint num_palette); > >void gdk_color_context_init_dither (GdkColorContext *cc); >void gdk_color_context_free_dither (GdkColorContext *cc); > >gulong gdk_color_context_get_pixel_from_palette (GdkColorContext *cc, > gushort *red, > gushort *green, > gushort *blue, > gint *failed); >guchar gdk_color_context_get_index_from_palette (GdkColorContext *cc, > gint *red, > gint *green, > gint *blue, > gint *failed); > > > >GdkRegion* gdk_region_new (void); >void gdk_region_destroy (GdkRegion *region); > >void gdk_region_get_clipbox(GdkRegion *region, > GdkRectangle *rectangle); > >gboolean gdk_region_empty (GdkRegion *region); >gboolean gdk_region_equal (GdkRegion *region1, > GdkRegion *region2); >gboolean gdk_region_point_in (GdkRegion *region, > int x, > int y); >GdkOverlapType gdk_region_rect_in (GdkRegion *region, > GdkRectangle *rect); > >GdkRegion* gdk_region_polygon (GdkPoint *points, > gint npoints, > GdkFillRule fill_rule); > >void gdk_region_offset (GdkRegion *region, > gint dx, > gint dy); >void gdk_region_shrink (GdkRegion *region, > gint dx, > gint dy); > >GdkRegion* gdk_region_union_with_rect (GdkRegion *region, > GdkRectangle *rect); >GdkRegion* gdk_regions_intersect (GdkRegion *source1, > GdkRegion *source2); >GdkRegion* gdk_regions_union (GdkRegion *source1, > GdkRegion *source2); >GdkRegion* gdk_regions_subtract (GdkRegion *source1, > GdkRegion *source2); >GdkRegion* gdk_regions_xor (GdkRegion *source1, > GdkRegion *source2); > > >void gdk_event_send_clientmessage_toall (GdkEvent *event); >gboolean gdk_event_send_client_message (GdkEvent *event, > guint32 xid); > > > >gchar* gdk_keyval_name (guint keyval); >guint gdk_keyval_from_name (const gchar *keyval_name); >guint gdk_keyval_to_upper (guint keyval); >guint gdk_keyval_to_lower (guint keyval); >gboolean gdk_keyval_is_upper (guint keyval); >gboolean gdk_keyval_is_lower (guint keyval); > > > > >extern GMutex *gdk_threads_mutex; > >void gdk_threads_enter (void); >void gdk_threads_leave (void); ># 1004 "/usr/include/gtk-1.2/gdk/gdk.h" >} > > ># 1 "/usr/include/gtk-1.2/gdk/gdkrgb.h" 1 ># 31 "/usr/include/gtk-1.2/gdk/gdkrgb.h" >extern "C" { > > >typedef struct _GdkRgbCmap GdkRgbCmap; > >struct _GdkRgbCmap { > guint32 colors[256]; > guchar lut[256]; >}; > >void >gdk_rgb_init (void); > >gulong >gdk_rgb_xpixel_from_rgb (guint32 rgb); > >void >gdk_rgb_gc_set_foreground (GdkGC *gc, guint32 rgb); > >void >gdk_rgb_gc_set_background (GdkGC *gc, guint32 rgb); > >typedef enum >{ > GDK_RGB_DITHER_NONE, > GDK_RGB_DITHER_NORMAL, > GDK_RGB_DITHER_MAX >} GdkRgbDither; > >void >gdk_draw_rgb_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *rgb_buf, > gint rowstride); > >void >gdk_draw_rgb_image_dithalign (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *rgb_buf, > gint rowstride, > gint xdith, > gint ydith); > >void >gdk_draw_rgb_32_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride); > >void >gdk_draw_gray_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride); > >GdkRgbCmap * >gdk_rgb_cmap_new (guint32 *colors, gint n_colors); > >void >gdk_rgb_cmap_free (GdkRgbCmap *cmap); > >void >gdk_draw_indexed_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride, > GdkRgbCmap *cmap); > > > > >gboolean >gdk_rgb_ditherable (void); > >void >gdk_rgb_set_verbose (gboolean verbose); > > >void >gdk_rgb_set_install (gboolean install); > >void >gdk_rgb_set_min_colors (gint min_colors); > >GdkColormap * >gdk_rgb_get_cmap (void); > >GdkVisual * >gdk_rgb_get_visual (void); > > >} ># 1008 "/usr/include/gtk-1.2/gdk/gdk.h" 2 ># 32 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkaccelgroup.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkaccelgroup.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkobject.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtkobject.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkarg.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtkarg.h" ># 1 "/usr/include/gtk-1.2/gtk/gtktypeutils.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtktypeutils.h" >extern "C" { > > > > > >typedef enum >{ > GTK_TYPE_INVALID, > GTK_TYPE_NONE, > > > GTK_TYPE_CHAR, > GTK_TYPE_UCHAR, > GTK_TYPE_BOOL, > GTK_TYPE_INT, > GTK_TYPE_UINT, > GTK_TYPE_LONG, > GTK_TYPE_ULONG, > GTK_TYPE_FLOAT, > GTK_TYPE_DOUBLE, > GTK_TYPE_STRING, > GTK_TYPE_ENUM, > GTK_TYPE_FLAGS, > GTK_TYPE_BOXED, > GTK_TYPE_POINTER, > > > GTK_TYPE_SIGNAL, > GTK_TYPE_ARGS, > GTK_TYPE_CALLBACK, > GTK_TYPE_C_CALLBACK, > GTK_TYPE_FOREIGN, > > > GTK_TYPE_OBJECT >} GtkFundamentalType; ># 123 "/usr/include/gtk-1.2/gtk/gtktypeutils.h" >typedef guint GtkType; > >typedef struct _GtkTypeObject GtkTypeObject; >typedef struct _GtkTypeClass GtkTypeClass; > > > >} > > > > ># 1 "/usr/include/gtk-1.2/gtk/gtktypebuiltins.h" 1 > > >extern GtkType GTK_TYPE_ACCEL_FLAGS; >extern GtkType GTK_TYPE_CALENDAR_DISPLAY_OPTIONS; >extern GtkType GTK_TYPE_CELL_TYPE; >extern GtkType GTK_TYPE_CLIST_DRAG_POS; >extern GtkType GTK_TYPE_BUTTON_ACTION; >extern GtkType GTK_TYPE_CTREE_POS; >extern GtkType GTK_TYPE_CTREE_LINE_STYLE; >extern GtkType GTK_TYPE_CTREE_EXPANDER_STYLE; >extern GtkType GTK_TYPE_CTREE_EXPANSION_TYPE; >extern GtkType GTK_TYPE_DEBUG_FLAG; >extern GtkType GTK_TYPE_DEST_DEFAULTS; >extern GtkType GTK_TYPE_TARGET_FLAGS; >extern GtkType GTK_TYPE_ARROW_TYPE; >extern GtkType GTK_TYPE_ATTACH_OPTIONS; >extern GtkType GTK_TYPE_BUTTON_BOX_STYLE; >extern GtkType GTK_TYPE_CURVE_TYPE; >extern GtkType GTK_TYPE_DIRECTION_TYPE; >extern GtkType GTK_TYPE_JUSTIFICATION; >extern GtkType GTK_TYPE_MATCH_TYPE; >extern GtkType GTK_TYPE_MENU_DIRECTION_TYPE; >extern GtkType GTK_TYPE_MENU_FACTORY_TYPE; >extern GtkType GTK_TYPE_METRIC_TYPE; >extern GtkType GTK_TYPE_ORIENTATION; >extern GtkType GTK_TYPE_CORNER_TYPE; >extern GtkType GTK_TYPE_PACK_TYPE; >extern GtkType GTK_TYPE_PATH_PRIORITY_TYPE; >extern GtkType GTK_TYPE_PATH_TYPE; >extern GtkType GTK_TYPE_POLICY_TYPE; >extern GtkType GTK_TYPE_POSITION_TYPE; >extern GtkType GTK_TYPE_PREVIEW_TYPE; >extern GtkType GTK_TYPE_RELIEF_STYLE; >extern GtkType GTK_TYPE_RESIZE_MODE; >extern GtkType GTK_TYPE_SIGNAL_RUN_TYPE; >extern GtkType GTK_TYPE_SCROLL_TYPE; >extern GtkType GTK_TYPE_SELECTION_MODE; >extern GtkType GTK_TYPE_SHADOW_TYPE; >extern GtkType GTK_TYPE_STATE_TYPE; >extern GtkType GTK_TYPE_SUBMENU_DIRECTION; >extern GtkType GTK_TYPE_SUBMENU_PLACEMENT; >extern GtkType GTK_TYPE_TOOLBAR_STYLE; >extern GtkType GTK_TYPE_TROUGH_TYPE; >extern GtkType GTK_TYPE_UPDATE_TYPE; >extern GtkType GTK_TYPE_VISIBILITY; >extern GtkType GTK_TYPE_WINDOW_POSITION; >extern GtkType GTK_TYPE_WINDOW_TYPE; >extern GtkType GTK_TYPE_SORT_TYPE; >extern GtkType GTK_TYPE_FONT_METRIC_TYPE; >extern GtkType GTK_TYPE_FONT_TYPE; >extern GtkType GTK_TYPE_FONT_FILTER_TYPE; >extern GtkType GTK_TYPE_OBJECT_FLAGS; >extern GtkType GTK_TYPE_ARG_FLAGS; >extern GtkType GTK_TYPE_PACKER_OPTIONS; >extern GtkType GTK_TYPE_SIDE_TYPE; >extern GtkType GTK_TYPE_ANCHOR_TYPE; >extern GtkType GTK_TYPE_PRIVATE_FLAGS; >extern GtkType GTK_TYPE_PROGRESS_BAR_STYLE; >extern GtkType GTK_TYPE_PROGRESS_BAR_ORIENTATION; >extern GtkType GTK_TYPE_RC_FLAGS; >extern GtkType GTK_TYPE_RC_TOKEN_TYPE; >extern GtkType GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY; >extern GtkType GTK_TYPE_SPIN_TYPE; >extern GtkType GTK_TYPE_TOOLBAR_CHILD_TYPE; >extern GtkType GTK_TYPE_TOOLBAR_SPACE_STYLE; >extern GtkType GTK_TYPE_TREE_VIEW_MODE; >extern GtkType GTK_TYPE_FUNDAMENTAL_TYPE; >extern GtkType GTK_TYPE_WIDGET_FLAGS; >extern GtkType GTK_TYPE_GDK_WINDOW_TYPE; >extern GtkType GTK_TYPE_GDK_WINDOW_CLASS; >extern GtkType GTK_TYPE_GDK_IMAGE_TYPE; >extern GtkType GTK_TYPE_GDK_VISUAL_TYPE; >extern GtkType GTK_TYPE_GDK_FONT_TYPE; >extern GtkType GTK_TYPE_GDK_WINDOW_ATTRIBUTES_TYPE; >extern GtkType GTK_TYPE_GDK_WINDOW_HINTS; >extern GtkType GTK_TYPE_GDK_FUNCTION; >extern GtkType GTK_TYPE_GDK_FILL; >extern GtkType GTK_TYPE_GDK_FILL_RULE; >extern GtkType GTK_TYPE_GDK_LINE_STYLE; >extern GtkType GTK_TYPE_GDK_CAP_STYLE; >extern GtkType GTK_TYPE_GDK_JOIN_STYLE; >extern GtkType GTK_TYPE_GDK_CURSOR_TYPE; >extern GtkType GTK_TYPE_GDK_FILTER_RETURN; >extern GtkType GTK_TYPE_GDK_VISIBILITY_STATE; >extern GtkType GTK_TYPE_GDK_EVENT_TYPE; >extern GtkType GTK_TYPE_GDK_EVENT_MASK; >extern GtkType GTK_TYPE_GDK_NOTIFY_TYPE; >extern GtkType GTK_TYPE_GDK_CROSSING_MODE; >extern GtkType GTK_TYPE_GDK_MODIFIER_TYPE; >extern GtkType GTK_TYPE_GDK_SUBWINDOW_MODE; >extern GtkType GTK_TYPE_GDK_INPUT_CONDITION; >extern GtkType GTK_TYPE_GDK_STATUS; >extern GtkType GTK_TYPE_GDK_BYTE_ORDER; >extern GtkType GTK_TYPE_GDK_GC_VALUES_MASK; >extern GtkType GTK_TYPE_GDK_SELECTION; >extern GtkType GTK_TYPE_GDK_PROPERTY_STATE; >extern GtkType GTK_TYPE_GDK_PROP_MODE; >extern GtkType GTK_TYPE_GDK_INPUT_SOURCE; >extern GtkType GTK_TYPE_GDK_INPUT_MODE; >extern GtkType GTK_TYPE_GDK_AXIS_USE; >extern GtkType GTK_TYPE_GDK_TARGET; >extern GtkType GTK_TYPE_GDK_SELECTION_TYPE; >extern GtkType GTK_TYPE_GDK_EXTENSION_MODE; >extern GtkType GTK_TYPE_GDK_IM_STYLE; >extern GtkType GTK_TYPE_GDK_IC_ATTRIBUTES_TYPE; >extern GtkType GTK_TYPE_GDK_WM_DECORATION; >extern GtkType GTK_TYPE_GDK_WM_FUNCTION; >extern GtkType GTK_TYPE_GDK_COLOR_CONTEXT_MODE; >extern GtkType GTK_TYPE_GDK_OVERLAP_TYPE; >extern GtkType GTK_TYPE_GDK_DRAG_ACTION; >extern GtkType GTK_TYPE_GDK_DRAG_PROTOCOL; >extern GtkType GTK_TYPE_GDK_RGB_DITHER; >extern GtkType GTK_TYPE_ACCEL_GROUP; >extern GtkType GTK_TYPE_SELECTION_DATA; >extern GtkType GTK_TYPE_STYLE; >extern GtkType GTK_TYPE_CTREE_NODE; >extern GtkType GTK_TYPE_GDK_COLORMAP; >extern GtkType GTK_TYPE_GDK_VISUAL; >extern GtkType GTK_TYPE_GDK_FONT; >extern GtkType GTK_TYPE_GDK_WINDOW; >extern GtkType GTK_TYPE_GDK_DRAG_CONTEXT; >extern GtkType GTK_TYPE_GDK_EVENT; >extern GtkType GTK_TYPE_GDK_COLOR; ># 136 "/usr/include/gtk-1.2/gtk/gtktypeutils.h" 2 > > >extern "C" { > > > >GtkType gtk_identifier_get_type (void); > > > > > > > >typedef struct _GtkArg GtkArg; >typedef struct _GtkObject GtkObject; >typedef struct _GtkTypeInfo GtkTypeInfo; >typedef struct _GtkTypeQuery GtkTypeQuery; >typedef struct _GtkEnumValue GtkEnumValue; >typedef struct _GtkEnumValue GtkFlagValue; > > > > >typedef void (*GtkClassInitFunc) (gpointer klass); >typedef void (*GtkObjectInitFunc) (gpointer object, > gpointer klass); >typedef void (*GtkSignalFunc) (); >typedef gint (*GtkFunction) (gpointer data); >typedef void (*GtkDestroyNotify) (gpointer data); >typedef void (*GtkCallbackMarshal) (GtkObject *object, > gpointer data, > guint n_args, > GtkArg *args); >typedef void (*GtkSignalMarshaller) (GtkObject *object, > GtkSignalFunc func, > gpointer func_data, > GtkArg *args); > > >typedef void (*GtkArgGetFunc) (GtkObject*, GtkArg*, guint); >typedef void (*GtkArgSetFunc) (GtkObject*, GtkArg*, guint); > > > > > > > >struct _GtkTypeObject >{ > > > > > GtkTypeClass *klass; >}; > > >struct _GtkTypeClassDummyAlign >{ > GtkType type; > guint *signals; >}; > > > > > > > >struct _GtkTypeClass >{ > > > > GtkType type; >} > >__attribute__ ((aligned (__alignof (struct _GtkTypeClassDummyAlign)))) > >; > > >struct _GtkArg >{ > GtkType type; > gchar *name; > > > > > > > > union { > > gchar char_data; > guchar uchar_data; > gboolean bool_data; > gint int_data; > guint uint_data; > glong long_data; > gulong ulong_data; > gfloat float_data; > gdouble double_data; > gchar *string_data; > gpointer pointer_data; > GtkObject *object_data; > > > struct { > GtkSignalFunc f; > gpointer d; > } signal_data; > struct { > gint n_args; > GtkArg *args; > } args_data; > struct { > GtkCallbackMarshal marshal; > gpointer data; > GtkDestroyNotify notify; > } callback_data; > struct { > GtkFunction func; > gpointer func_data; > } c_callback_data; > struct { > gpointer data; > GtkDestroyNotify notify; > } foreign_data; > } d; >}; ># 322 "/usr/include/gtk-1.2/gtk/gtktypeutils.h" >struct _GtkTypeInfo >{ > gchar *type_name; > guint object_size; > guint class_size; > GtkClassInitFunc class_init_func; > GtkObjectInitFunc object_init_func; > gpointer reserved_1; > gpointer reserved_2; > GtkClassInitFunc base_class_init_func; >}; > >struct _GtkTypeQuery >{ > GtkType type; > const gchar *type_name; > guint object_size; > guint class_size; >}; > >struct _GtkEnumValue >{ > guint value; > gchar *value_name; > gchar *value_nick; >}; > > >void gtk_type_init (void); >GtkType gtk_type_unique (GtkType parent_type, > const GtkTypeInfo *type_info); >void gtk_type_set_chunk_alloc (GtkType type, > guint n_chunks); >gchar* gtk_type_name (guint type); >GtkType gtk_type_from_name (const gchar *name); >GtkType gtk_type_parent (GtkType type); >gpointer gtk_type_class (GtkType type); >gpointer gtk_type_parent_class (GtkType type); >GList* gtk_type_children_types (GtkType type); >gpointer gtk_type_new (GtkType type); >void gtk_type_free (GtkType type, > gpointer mem); >void gtk_type_describe_heritage (GtkType type); >void gtk_type_describe_tree (GtkType type, > gboolean show_size); >gboolean gtk_type_is_a (GtkType type, > GtkType is_a_type); >GtkTypeObject* gtk_type_check_object_cast (GtkTypeObject *type_object, > GtkType cast_type); >GtkTypeClass* gtk_type_check_class_cast (GtkTypeClass *klass, > GtkType cast_type); >GtkType gtk_type_register_enum (const gchar *type_name, > GtkEnumValue *values); >GtkType gtk_type_register_flags (const gchar *type_name, > GtkFlagValue *values); >GtkEnumValue* gtk_type_enum_get_values (GtkType enum_type); >GtkFlagValue* gtk_type_flags_get_values (GtkType flags_type); >GtkEnumValue* gtk_type_enum_find_value (GtkType enum_type, > const gchar *value_name); >GtkFlagValue* gtk_type_flags_find_value (GtkType flag_type, > const gchar *value_name); > >void gtk_type_set_varargs_type (GtkType foreign_type, > GtkType varargs_type); >GtkType gtk_type_get_varargs_type (GtkType foreign_type); > > > > >GtkTypeQuery* gtk_type_query (GtkType type); > > > > >} ># 32 "/usr/include/gtk-1.2/gtk/gtkarg.h" 2 > > > >extern "C" { > > > > > >typedef struct _GtkArgInfo GtkArgInfo; > >struct _GtkArgInfo >{ > > GtkType class_type; > gchar *name; > > GtkType type; > guint arg_flags; > gchar *full_name; > > > guint arg_id; > guint seq_id; >}; > > > > >GtkArg* gtk_arg_new (GtkType arg_type); >GtkArg* gtk_arg_copy (GtkArg *src_arg, > GtkArg *dest_arg); >void gtk_arg_free (GtkArg *arg, > gboolean free_contents); >void gtk_arg_reset (GtkArg *arg); >gboolean gtk_arg_values_equal (const GtkArg *arg1, > const GtkArg *arg2); >gchar* gtk_args_collect (GtkType object_type, > GHashTable *arg_info_hash_table, > GSList **arg_list_p, > GSList **info_list_p, > const gchar *first_arg_name, > va_list var_args); >void gtk_args_collect_cleanup (GSList *arg_list, > GSList *info_list); >gchar* gtk_arg_get_info (GtkType object_type, > GHashTable *arg_info_hash_table, > const gchar *arg_name, > GtkArgInfo **info_p); >GtkArgInfo* gtk_arg_type_new_static (GtkType base_class_type, > const gchar *arg_name, > guint class_n_args_offset, > GHashTable *arg_info_hash_table, > GtkType arg_type, > guint arg_flags, > guint arg_id); >GtkArg* gtk_args_query (GtkType class_type, > GHashTable *arg_info_hash_table, > guint32 **arg_flags, > guint *n_args_p); >gchar* gtk_arg_name_strip_type (const gchar *arg_name); >gint gtk_arg_info_equal (gconstpointer arg_info_1, > gconstpointer arg_info_2); >guint gtk_arg_info_hash (gconstpointer arg_info); >void gtk_arg_to_valueloc (GtkArg *arg, > gpointer value_pointer); > > > > > >} ># 32 "/usr/include/gtk-1.2/gtk/gtkobject.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkenums.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtkenums.h" >extern "C" { > > > >typedef enum >{ > GTK_ARROW_UP, > GTK_ARROW_DOWN, > GTK_ARROW_LEFT, > GTK_ARROW_RIGHT >} GtkArrowType; > > >typedef enum >{ > GTK_EXPAND = 1 << 0, > GTK_SHRINK = 1 << 1, > GTK_FILL = 1 << 2 >} GtkAttachOptions; > > >typedef enum >{ > GTK_BUTTONBOX_DEFAULT_STYLE, > GTK_BUTTONBOX_SPREAD, > GTK_BUTTONBOX_EDGE, > GTK_BUTTONBOX_START, > GTK_BUTTONBOX_END >} GtkButtonBoxStyle; > > >typedef enum >{ > GTK_CURVE_TYPE_LINEAR, > GTK_CURVE_TYPE_SPLINE, > GTK_CURVE_TYPE_FREE >} GtkCurveType; > > >typedef enum >{ > GTK_DIR_TAB_FORWARD, > GTK_DIR_TAB_BACKWARD, > GTK_DIR_UP, > GTK_DIR_DOWN, > GTK_DIR_LEFT, > GTK_DIR_RIGHT >} GtkDirectionType; > > >typedef enum >{ > GTK_JUSTIFY_LEFT, > GTK_JUSTIFY_RIGHT, > GTK_JUSTIFY_CENTER, > GTK_JUSTIFY_FILL >} GtkJustification; > > >typedef enum >{ > GTK_MATCH_ALL, > GTK_MATCH_ALL_TAIL, > GTK_MATCH_HEAD, > GTK_MATCH_TAIL, > GTK_MATCH_EXACT, > GTK_MATCH_LAST >} GtkMatchType; > > >typedef enum >{ > GTK_MENU_DIR_PARENT, > GTK_MENU_DIR_CHILD, > GTK_MENU_DIR_NEXT, > GTK_MENU_DIR_PREV >} GtkMenuDirectionType; > >typedef enum >{ > GTK_MENU_FACTORY_MENU, > GTK_MENU_FACTORY_MENU_BAR, > GTK_MENU_FACTORY_OPTION_MENU >} GtkMenuFactoryType; > >typedef enum >{ > GTK_PIXELS, > GTK_INCHES, > GTK_CENTIMETERS >} GtkMetricType; > > >typedef enum >{ > GTK_ORIENTATION_HORIZONTAL, > GTK_ORIENTATION_VERTICAL >} GtkOrientation; > > >typedef enum >{ > GTK_CORNER_TOP_LEFT, > GTK_CORNER_BOTTOM_LEFT, > GTK_CORNER_TOP_RIGHT, > GTK_CORNER_BOTTOM_RIGHT >} GtkCornerType; > > >typedef enum >{ > GTK_PACK_START, > GTK_PACK_END >} GtkPackType; > > >typedef enum >{ > GTK_PATH_PRIO_LOWEST = 0, > GTK_PATH_PRIO_GTK = 4, > GTK_PATH_PRIO_APPLICATION = 8, > GTK_PATH_PRIO_RC = 12, > GTK_PATH_PRIO_HIGHEST = 15, > GTK_PATH_PRIO_MASK = 0x0f >} GtkPathPriorityType; > > >typedef enum >{ > GTK_PATH_WIDGET, > GTK_PATH_WIDGET_CLASS, > GTK_PATH_CLASS >} GtkPathType; > > >typedef enum >{ > GTK_POLICY_ALWAYS, > GTK_POLICY_AUTOMATIC, > GTK_POLICY_NEVER >} GtkPolicyType; > >typedef enum >{ > GTK_POS_LEFT, > GTK_POS_RIGHT, > GTK_POS_TOP, > GTK_POS_BOTTOM >} GtkPositionType; > >typedef enum >{ > GTK_PREVIEW_COLOR, > GTK_PREVIEW_GRAYSCALE >} GtkPreviewType; > > >typedef enum >{ > GTK_RELIEF_NORMAL, > GTK_RELIEF_HALF, > GTK_RELIEF_NONE >} GtkReliefStyle; > > >typedef enum >{ > GTK_RESIZE_PARENT, > GTK_RESIZE_QUEUE, > GTK_RESIZE_IMMEDIATE >} GtkResizeMode; > > >typedef enum >{ > GTK_RUN_FIRST = 1 << 0, > GTK_RUN_LAST = 1 << 1, > GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST), > GTK_RUN_NO_RECURSE = 1 << 2, > GTK_RUN_ACTION = 1 << 3, > GTK_RUN_NO_HOOKS = 1 << 4 >} GtkSignalRunType; > > >typedef enum >{ > GTK_SCROLL_NONE, > GTK_SCROLL_STEP_BACKWARD, > GTK_SCROLL_STEP_FORWARD, > GTK_SCROLL_PAGE_BACKWARD, > GTK_SCROLL_PAGE_FORWARD, > GTK_SCROLL_JUMP >} GtkScrollType; > > >typedef enum >{ > GTK_SELECTION_SINGLE, > GTK_SELECTION_BROWSE, > GTK_SELECTION_MULTIPLE, > GTK_SELECTION_EXTENDED >} GtkSelectionMode; > > >typedef enum >{ > GTK_SHADOW_NONE, > GTK_SHADOW_IN, > GTK_SHADOW_OUT, > GTK_SHADOW_ETCHED_IN, > GTK_SHADOW_ETCHED_OUT >} GtkShadowType; > > >typedef enum >{ > GTK_STATE_NORMAL, > GTK_STATE_ACTIVE, > GTK_STATE_PRELIGHT, > GTK_STATE_SELECTED, > GTK_STATE_INSENSITIVE >} GtkStateType; > > >typedef enum >{ > GTK_DIRECTION_LEFT, > GTK_DIRECTION_RIGHT >} GtkSubmenuDirection; > > >typedef enum >{ > GTK_TOP_BOTTOM, > GTK_LEFT_RIGHT >} GtkSubmenuPlacement; > > >typedef enum >{ > GTK_TOOLBAR_ICONS, > GTK_TOOLBAR_TEXT, > GTK_TOOLBAR_BOTH >} GtkToolbarStyle; > > >typedef enum >{ > GTK_TROUGH_NONE, > GTK_TROUGH_START, > GTK_TROUGH_END, > GTK_TROUGH_JUMP >} GtkTroughType; > > >typedef enum >{ > GTK_UPDATE_CONTINUOUS, > GTK_UPDATE_DISCONTINUOUS, > GTK_UPDATE_DELAYED >} GtkUpdateType; > > >typedef enum >{ > GTK_VISIBILITY_NONE, > GTK_VISIBILITY_PARTIAL, > GTK_VISIBILITY_FULL >} GtkVisibility; > > >typedef enum >{ > GTK_WIN_POS_NONE, > GTK_WIN_POS_CENTER, > GTK_WIN_POS_MOUSE, > GTK_WIN_POS_CENTER_ALWAYS >} GtkWindowPosition; > > >typedef enum >{ > GTK_WINDOW_TOPLEVEL, > GTK_WINDOW_DIALOG, > GTK_WINDOW_POPUP >} GtkWindowType; > > >typedef enum >{ > GTK_SORT_ASCENDING, > GTK_SORT_DESCENDING >} GtkSortType; > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkobject.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkdebug.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtkdebug.h" >extern "C" { > > >typedef enum { > GTK_DEBUG_OBJECTS = 1 << 0, > GTK_DEBUG_MISC = 1 << 1, > GTK_DEBUG_SIGNALS = 1 << 2, > GTK_DEBUG_DND = 1 << 3, > GTK_DEBUG_PLUGSOCKET = 1 << 4 >} GtkDebugFlag; ># 54 "/usr/include/gtk-1.2/gtk/gtkdebug.h" >extern guint gtk_debug_flags; > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtkobject.h" 2 > > > >extern "C" { ># 80 "/usr/include/gtk-1.2/gtk/gtkobject.h" >typedef enum >{ > GTK_DESTROYED = 1 << 0, > GTK_FLOATING = 1 << 1, > GTK_CONNECTED = 1 << 2, > GTK_CONSTRUCTED = 1 << 3 >} GtkObjectFlags; ># 103 "/usr/include/gtk-1.2/gtk/gtkobject.h" >typedef enum >{ > GTK_ARG_READABLE = 1 << 0, > GTK_ARG_WRITABLE = 1 << 1, > GTK_ARG_CONSTRUCT = 1 << 2, > GTK_ARG_CONSTRUCT_ONLY = 1 << 3, > GTK_ARG_CHILD_ARG = 1 << 4, > GTK_ARG_MASK = 0x1f, > > > > GTK_ARG_READWRITE = GTK_ARG_READABLE | GTK_ARG_WRITABLE >} GtkArgFlags; > >typedef struct _GtkObjectClass GtkObjectClass; > > > > > > > >struct _GtkObject >{ > > GtkObjectClass *klass; > > > > > > > > guint32 flags; > > > > > guint ref_count; > > > > > GData *object_data; >}; ># 156 "/usr/include/gtk-1.2/gtk/gtkobject.h" >struct _GtkObjectClass >{ > > GtkType type; > > > > > > guint *signals; > > > > guint nsignals; > > > > guint n_args; > GSList *construct_args; > > > void (*set_arg) (GtkObject *object, > GtkArg *arg, > guint arg_id); > void (*get_arg) (GtkObject *object, > GtkArg *arg, > guint arg_id); ># 192 "/usr/include/gtk-1.2/gtk/gtkobject.h" > void (* shutdown) (GtkObject *object); > void (* destroy) (GtkObject *object); > > void (* finalize) (GtkObject *object); >}; > > > > > >GtkType gtk_object_get_type (void); > > >guint gtk_object_class_user_signal_new (GtkObjectClass *klass, > const gchar *name, > GtkSignalRunType signal_flags, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint nparams, > ...); >guint gtk_object_class_user_signal_newv (GtkObjectClass *klass, > const gchar *name, > GtkSignalRunType signal_flags, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint nparams, > GtkType *params); >GtkObject* gtk_object_new (GtkType type, > const gchar *first_arg_name, > ...); >GtkObject* gtk_object_newv (GtkType object_type, > guint n_args, > GtkArg *args); >void gtk_object_default_construct (GtkObject *object); >void gtk_object_constructed (GtkObject *object); >void gtk_object_sink (GtkObject *object); >void gtk_object_ref (GtkObject *object); >void gtk_object_unref (GtkObject *object); >void gtk_object_weakref (GtkObject *object, > GtkDestroyNotify notify, > gpointer data); >void gtk_object_weakunref (GtkObject *object, > GtkDestroyNotify notify, > gpointer data); >void gtk_object_destroy (GtkObject *object); > > > > > > >void gtk_object_getv (GtkObject *object, > guint n_args, > GtkArg *args); > > > > > >void gtk_object_get (GtkObject *object, > const gchar *first_arg_name, > ...); > > > > > > >void gtk_object_set (GtkObject *object, > const gchar *first_arg_name, > ...); >void gtk_object_setv (GtkObject *object, > guint n_args, > GtkArg *args); ># 275 "/usr/include/gtk-1.2/gtk/gtkobject.h" >GtkArg* gtk_object_query_args (GtkType class_type, > guint32 **arg_flags, > guint *n_args); ># 291 "/usr/include/gtk-1.2/gtk/gtkobject.h" >void gtk_object_set_data (GtkObject *object, > const gchar *key, > gpointer data); >void gtk_object_set_data_full (GtkObject *object, > const gchar *key, > gpointer data, > GtkDestroyNotify destroy); >void gtk_object_remove_data (GtkObject *object, > const gchar *key); >gpointer gtk_object_get_data (GtkObject *object, > const gchar *key); >void gtk_object_remove_no_notify (GtkObject *object, > const gchar *key); > > > > > > >void gtk_object_set_user_data (GtkObject *object, > gpointer data); >gpointer gtk_object_get_user_data (GtkObject *object); > > > > > >void gtk_object_class_add_signals (GtkObjectClass *klass, > guint *signals, > guint nsignals); > >void gtk_object_add_arg_type (const gchar *arg_name, > GtkType arg_type, > guint arg_flags, > guint arg_id); > > >void gtk_object_set_data_by_id (GtkObject *object, > GQuark data_id, > gpointer data); >void gtk_object_set_data_by_id_full (GtkObject *object, > GQuark data_id, > gpointer data, > GtkDestroyNotify destroy); >gpointer gtk_object_get_data_by_id (GtkObject *object, > GQuark data_id); >void gtk_object_remove_data_by_id (GtkObject *object, > GQuark data_id); >void gtk_object_remove_no_notify_by_id (GtkObject *object, > GQuark key_id); > > > > > > >void gtk_object_arg_set (GtkObject *object, > GtkArg *arg, > GtkArgInfo *info); >void gtk_object_arg_get (GtkObject *object, > GtkArg *arg, > GtkArgInfo *info); >gchar* gtk_object_args_collect (GtkType object_type, > GSList **arg_list_p, > GSList **info_list_p, > const gchar *first_arg_name, > va_list var_args); >gchar* gtk_object_arg_get_info (GtkType object_type, > const gchar *arg_name, > GtkArgInfo **info_p); >void gtk_trace_referencing (GtkObject *object, > const gchar *func, > guint dummy, > guint line, > gboolean do_ref); ># 379 "/usr/include/gtk-1.2/gtk/gtkobject.h" >} ># 36 "/usr/include/gtk-1.2/gtk/gtkaccelgroup.h" 2 > > > > >extern "C" { > > > >typedef struct _GtkAccelGroup GtkAccelGroup; >typedef struct _GtkAccelEntry GtkAccelEntry; > >typedef enum >{ > > > > GTK_ACCEL_VISIBLE = 1 << 0, > > > > GTK_ACCEL_SIGNAL_VISIBLE = 1 << 1, > > > > GTK_ACCEL_LOCKED = 1 << 2, > GTK_ACCEL_MASK = 0x07 >} GtkAccelFlags; > >struct _GtkAccelGroup >{ > guint ref_count; > guint lock_count; > GdkModifierType modifier_mask; > GSList *attach_objects; >}; > >struct _GtkAccelEntry >{ > > > GtkAccelGroup *accel_group; > guint accelerator_key; > GdkModifierType accelerator_mods; > > GtkAccelFlags accel_flags; > GtkObject *object; > guint signal_id; >}; > > > > >gboolean gtk_accelerator_valid (guint keyval, > GdkModifierType modifiers); >void gtk_accelerator_parse (const gchar *accelerator, > guint *accelerator_key, > GdkModifierType *accelerator_mods); >gchar* gtk_accelerator_name (guint accelerator_key, > GdkModifierType accelerator_mods); >void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask); >guint gtk_accelerator_get_default_mod_mask (void); > > > > >GtkAccelGroup* gtk_accel_group_new (void); >GtkAccelGroup* gtk_accel_group_get_default (void); >GtkAccelGroup* gtk_accel_group_ref (GtkAccelGroup *accel_group); >void gtk_accel_group_unref (GtkAccelGroup *accel_group); >void gtk_accel_group_lock (GtkAccelGroup *accel_group); >void gtk_accel_group_unlock (GtkAccelGroup *accel_group); >gboolean gtk_accel_groups_activate (GtkObject *object, > guint accel_key, > GdkModifierType accel_mods); > > > >gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >void gtk_accel_group_attach (GtkAccelGroup *accel_group, > GtkObject *object); >void gtk_accel_group_detach (GtkAccelGroup *accel_group, > GtkObject *object); > > > >GtkAccelEntry* gtk_accel_group_get_entry (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >void gtk_accel_group_lock_entry (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >void gtk_accel_group_unlock_entry (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >void gtk_accel_group_add (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkAccelFlags accel_flags, > GtkObject *object, > const gchar *accel_signal); >void gtk_accel_group_remove (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkObject *object); > > > >void gtk_accel_group_handle_add (GtkObject *object, > guint accel_signal_id, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkAccelFlags accel_flags); >void gtk_accel_group_handle_remove (GtkObject *object, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >guint gtk_accel_group_create_add (GtkType class_type, > GtkSignalRunType signal_flags, > guint handler_offset); >guint gtk_accel_group_create_remove (GtkType class_type, > GtkSignalRunType signal_flags, > guint handler_offset); > > > >GSList* gtk_accel_groups_from_object (GtkObject *object); >GSList* gtk_accel_group_entries_from_object (GtkObject *object); > > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkaccellabel.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtkaccellabel.h" ># 1 "/usr/include/gtk-1.2/gtk/gtklabel.h" 1 ># 31 "/usr/include/gtk-1.2/gtk/gtklabel.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkmisc.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkmisc.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkwidget.h" 1 ># 33 "/usr/include/gtk-1.2/gtk/gtkwidget.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkadjustment.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkadjustment.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkdata.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkdata.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkdata.h" >typedef struct _GtkData GtkData; >typedef struct _GtkDataClass GtkDataClass; > >struct _GtkData >{ > GtkObject object; >}; > >struct _GtkDataClass >{ > GtkObjectClass parent_class; > > void (* disconnect) (GtkData *data); >}; > > >GtkType gtk_data_get_type (void); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkadjustment.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkadjustment.h" >typedef struct _GtkAdjustment GtkAdjustment; >typedef struct _GtkAdjustmentClass GtkAdjustmentClass; > >struct _GtkAdjustment >{ > GtkData data; > > gfloat lower; > gfloat upper; > gfloat value; > gfloat step_increment; > gfloat page_increment; > gfloat page_size; >}; > >struct _GtkAdjustmentClass >{ > GtkDataClass parent_class; > > void (* changed) (GtkAdjustment *adjustment); > void (* value_changed) (GtkAdjustment *adjustment); >}; > > >GtkType gtk_adjustment_get_type (void); >GtkObject* gtk_adjustment_new (gfloat value, > gfloat lower, > gfloat upper, > gfloat step_increment, > gfloat page_increment, > gfloat page_size); >void gtk_adjustment_changed (GtkAdjustment *adjustment); >void gtk_adjustment_value_changed (GtkAdjustment *adjustment); >void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, > gfloat lower, > gfloat upper); >void gtk_adjustment_set_value (GtkAdjustment *adjustment, > gfloat value); > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkwidget.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkstyle.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkstyle.h" >extern "C" { > > >typedef struct _GtkStyle GtkStyle; >typedef struct _GtkStyleClass GtkStyleClass; > > > > >typedef struct _GtkThemeEngine GtkThemeEngine; >typedef struct _GtkRcStyle GtkRcStyle; > > > > > >typedef struct _GtkWidget GtkWidget; ># 60 "/usr/include/gtk-1.2/gtk/gtkstyle.h" >struct _GtkStyle >{ > GtkStyleClass *klass; > > GdkColor fg[5]; > GdkColor bg[5]; > GdkColor light[5]; > GdkColor dark[5]; > GdkColor mid[5]; > GdkColor text[5]; > GdkColor base[5]; > > GdkColor black; > GdkColor white; > GdkFont *font; > > GdkGC *fg_gc[5]; > GdkGC *bg_gc[5]; > GdkGC *light_gc[5]; > GdkGC *dark_gc[5]; > GdkGC *mid_gc[5]; > GdkGC *text_gc[5]; > GdkGC *base_gc[5]; > GdkGC *black_gc; > GdkGC *white_gc; > > GdkPixmap *bg_pixmap[5]; > > > > gint ref_count; > gint attach_count; > > gint depth; > GdkColormap *colormap; > > GtkThemeEngine *engine; > > gpointer engine_data; > > GtkRcStyle *rc_style; > > > GSList *styles; >}; > >struct _GtkStyleClass >{ > gint xthickness; > gint ythickness; > > void (*draw_hline) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x1, > gint x2, > gint y); > void (*draw_vline) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint y1, > gint y2, > gint x); > void (*draw_shadow) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_polygon) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GdkPoint *point, > gint npoints, > gboolean fill); > void (*draw_arrow) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); > void (*draw_diamond) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_oval) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_string) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > const gchar *string); > void (*draw_box) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_flat_box) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_check) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_option) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_cross) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_ramp) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GtkArrowType arrow_type, > gint x, > gint y, > gint width, > gint height); > void (*draw_tab) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_shadow_gap) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); > void (*draw_box_gap) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); > void (*draw_extension) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); > void (*draw_focus) (GtkStyle *style, > GdkWindow *window, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_slider) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); > void (*draw_handle) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >}; > >GtkStyle* gtk_style_new (void); >GtkStyle* gtk_style_copy (GtkStyle *style); >GtkStyle* gtk_style_attach (GtkStyle *style, > GdkWindow *window); >void gtk_style_detach (GtkStyle *style); >GtkStyle* gtk_style_ref (GtkStyle *style); >void gtk_style_unref (GtkStyle *style); >void gtk_style_set_background (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type); >void gtk_style_apply_default_background (GtkStyle *style, > GdkWindow *window, > gboolean set_bg, > GtkStateType state_type, > GdkRectangle *area, > gint x, > gint y, > gint width, > gint height); > >void gtk_draw_hline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint x1, > gint x2, > gint y); >void gtk_draw_vline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint y1, > gint y2, > gint x); >void gtk_draw_shadow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_polygon (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkPoint *points, > gint npoints, > gboolean fill); >void gtk_draw_arrow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_diamond (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_oval (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_string (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint x, > gint y, > const gchar *string); >void gtk_draw_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_flat_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_check (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_option (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_cross (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_ramp (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GtkArrowType arrow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_tab (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_shadow_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_draw_box_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_draw_extension (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); >void gtk_draw_focus (GtkStyle *style, > GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_slider (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_draw_handle (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); > >void gtk_paint_hline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x1, > gint x2, > gint y); >void gtk_paint_vline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint y1, > gint y2, > gint x); >void gtk_paint_shadow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_polygon (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GdkPoint *points, > gint npoints, > gboolean fill); >void gtk_paint_arrow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_diamond (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_oval (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_string (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > const gchar *string); >void gtk_paint_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_flat_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_check (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_option (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_cross (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_ramp (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > GtkArrowType arrow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_tab (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_shadow_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_paint_box_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_paint_extension (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); >void gtk_paint_focus (GtkStyle *style, > GdkWindow *window, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_slider (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_paint_handle (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); > > > > > >void gtk_style_set_prop_experimental (GtkStyle *style, > const gchar *name, > gint value); >gint gtk_style_get_prop_experimental (GtkStyle *style, > const gchar *name, > gint default_value); > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtkwidget.h" 2 > > > >extern "C" { > > > > > > >typedef enum >{ > GTK_TOPLEVEL = 1 << 4, > GTK_NO_WINDOW = 1 << 5, > GTK_REALIZED = 1 << 6, > GTK_MAPPED = 1 << 7, > GTK_VISIBLE = 1 << 8, > GTK_SENSITIVE = 1 << 9, > GTK_PARENT_SENSITIVE = 1 << 10, > GTK_CAN_FOCUS = 1 << 11, > GTK_HAS_FOCUS = 1 << 12, > > > > GTK_CAN_DEFAULT = 1 << 13, > > > > GTK_HAS_DEFAULT = 1 << 14, > > GTK_HAS_GRAB = 1 << 15, > GTK_RC_STYLE = 1 << 16, > GTK_COMPOSITE_CHILD = 1 << 17, > GTK_NO_REPARENT = 1 << 18, > GTK_APP_PAINTABLE = 1 << 19, > > > > GTK_RECEIVES_DEFAULT = 1 << 20 >} GtkWidgetFlags; ># 121 "/usr/include/gtk-1.2/gtk/gtkwidget.h" >typedef struct _GtkRequisition GtkRequisition; >typedef struct _GtkAllocation GtkAllocation; >typedef struct _GtkSelectionData GtkSelectionData; >typedef struct _GtkWidgetClass GtkWidgetClass; >typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; >typedef struct _GtkWidgetShapeInfo GtkWidgetShapeInfo; > >typedef void (*GtkCallback) (GtkWidget *widget, > gpointer data); > > > > >struct _GtkRequisition >{ > gint16 width; > gint16 height; >}; > > > > > >struct _GtkAllocation >{ > gint16 x; > gint16 y; > guint16 width; > guint16 height; >}; ># 161 "/usr/include/gtk-1.2/gtk/gtkwidget.h" >struct _GtkSelectionData >{ > GdkAtom selection; > GdkAtom target; > GdkAtom type; > gint format; > guchar *data; > gint length; >}; > > > > > > >struct _GtkWidget >{ > > > > > > > GtkObject object; > > > > > > > guint16 private_flags; > > > > > guint8 state; > > > > > > > > guint8 saved_state; > > > > > > > > gchar *name; > > > > > > > GtkStyle *style; > > > > GtkRequisition requisition; > > > > GtkAllocation allocation; > > > > > > GdkWindow *window; > > > > GtkWidget *parent; >}; > >struct _GtkWidgetClass >{ > > > > > > > GtkObjectClass parent_class; > > > > > > guint activate_signal; > > > > > > > guint set_scroll_adjustments_signal; > > > void (* show) (GtkWidget *widget); > void (* show_all) (GtkWidget *widget); > void (* hide) (GtkWidget *widget); > void (* hide_all) (GtkWidget *widget); > void (* map) (GtkWidget *widget); > void (* unmap) (GtkWidget *widget); > void (* realize) (GtkWidget *widget); > void (* unrealize) (GtkWidget *widget); > void (* draw) (GtkWidget *widget, > GdkRectangle *area); > void (* draw_focus) (GtkWidget *widget); > void (* draw_default) (GtkWidget *widget); > void (* size_request) (GtkWidget *widget, > GtkRequisition *requisition); > void (* size_allocate) (GtkWidget *widget, > GtkAllocation *allocation); > void (* state_changed) (GtkWidget *widget, > GtkStateType previous_state); > void (* parent_set) (GtkWidget *widget, > GtkWidget *previous_parent); > void (* style_set) (GtkWidget *widget, > GtkStyle *previous_style); > > > gint (* add_accelerator) (GtkWidget *widget, > guint accel_signal_id, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkAccelFlags accel_flags); > void (* remove_accelerator) (GtkWidget *widget, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); > > > void (* grab_focus) (GtkWidget *widget); > > > gint (* event) (GtkWidget *widget, > GdkEvent *event); > gint (* button_press_event) (GtkWidget *widget, > GdkEventButton *event); > gint (* button_release_event) (GtkWidget *widget, > GdkEventButton *event); > gint (* motion_notify_event) (GtkWidget *widget, > GdkEventMotion *event); > gint (* delete_event) (GtkWidget *widget, > GdkEventAny *event); > gint (* destroy_event) (GtkWidget *widget, > GdkEventAny *event); > gint (* expose_event) (GtkWidget *widget, > GdkEventExpose *event); > gint (* key_press_event) (GtkWidget *widget, > GdkEventKey *event); > gint (* key_release_event) (GtkWidget *widget, > GdkEventKey *event); > gint (* enter_notify_event) (GtkWidget *widget, > GdkEventCrossing *event); > gint (* leave_notify_event) (GtkWidget *widget, > GdkEventCrossing *event); > gint (* configure_event) (GtkWidget *widget, > GdkEventConfigure *event); > gint (* focus_in_event) (GtkWidget *widget, > GdkEventFocus *event); > gint (* focus_out_event) (GtkWidget *widget, > GdkEventFocus *event); > gint (* map_event) (GtkWidget *widget, > GdkEventAny *event); > gint (* unmap_event) (GtkWidget *widget, > GdkEventAny *event); > gint (* property_notify_event) (GtkWidget *widget, > GdkEventProperty *event); > gint (* selection_clear_event) (GtkWidget *widget, > GdkEventSelection *event); > gint (* selection_request_event) (GtkWidget *widget, > GdkEventSelection *event); > gint (* selection_notify_event) (GtkWidget *widget, > GdkEventSelection *event); > gint (* proximity_in_event) (GtkWidget *widget, > GdkEventProximity *event); > gint (* proximity_out_event) (GtkWidget *widget, > GdkEventProximity *event); > gint (* visibility_notify_event) (GtkWidget *widget, > GdkEventVisibility *event); > gint (* client_event) (GtkWidget *widget, > GdkEventClient *event); > gint (* no_expose_event) (GtkWidget *widget, > GdkEventAny *event); > > > void (* selection_get) (GtkWidget *widget, > GtkSelectionData *selection_data, > guint info, > guint time); > void (* selection_received) (GtkWidget *widget, > GtkSelectionData *selection_data, > guint time); > > > void (* drag_begin) (GtkWidget *widget, > GdkDragContext *context); > void (* drag_end) (GtkWidget *widget, > GdkDragContext *context); > void (* drag_data_get) (GtkWidget *widget, > GdkDragContext *context, > GtkSelectionData *selection_data, > guint info, > guint time); > void (* drag_data_delete) (GtkWidget *widget, > GdkDragContext *context); > > > void (* drag_leave) (GtkWidget *widget, > GdkDragContext *context, > guint time); > gboolean (* drag_motion) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > guint time); > gboolean (* drag_drop) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > guint time); > void (* drag_data_received) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > GtkSelectionData *selection_data, > guint info, > guint time); > > > void (* debug_msg) (GtkWidget *widget, > const gchar *string); > > > GtkFunction pad1; > GtkFunction pad2; > GtkFunction pad3; > GtkFunction pad4; >}; > >struct _GtkWidgetAuxInfo >{ > gint16 x; > gint16 y; > gint16 width; > gint16 height; >}; > >struct _GtkWidgetShapeInfo >{ > gint16 offset_x; > gint16 offset_y; > GdkBitmap *shape_mask; >}; > > >GtkType gtk_widget_get_type (void); >GtkWidget* gtk_widget_new (GtkType type, > const gchar *first_arg_name, > ...); >GtkWidget* gtk_widget_newv (GtkType type, > guint nargs, > GtkArg *args); >void gtk_widget_ref (GtkWidget *widget); >void gtk_widget_unref (GtkWidget *widget); >void gtk_widget_destroy (GtkWidget *widget); >void gtk_widget_destroyed (GtkWidget *widget, > GtkWidget **widget_pointer); >void gtk_widget_get (GtkWidget *widget, > GtkArg *arg); >void gtk_widget_getv (GtkWidget *widget, > guint nargs, > GtkArg *args); >void gtk_widget_set (GtkWidget *widget, > const gchar *first_arg_name, > ...); >void gtk_widget_setv (GtkWidget *widget, > guint nargs, > GtkArg *args); >void gtk_widget_unparent (GtkWidget *widget); >void gtk_widget_show (GtkWidget *widget); >void gtk_widget_show_now (GtkWidget *widget); >void gtk_widget_hide (GtkWidget *widget); >void gtk_widget_show_all (GtkWidget *widget); >void gtk_widget_hide_all (GtkWidget *widget); >void gtk_widget_map (GtkWidget *widget); >void gtk_widget_unmap (GtkWidget *widget); >void gtk_widget_realize (GtkWidget *widget); >void gtk_widget_unrealize (GtkWidget *widget); > > >void gtk_widget_queue_draw (GtkWidget *widget); >void gtk_widget_queue_draw_area (GtkWidget *widget, > gint x, > gint y, > gint width, > gint height); >void gtk_widget_queue_clear (GtkWidget *widget); >void gtk_widget_queue_clear_area (GtkWidget *widget, > gint x, > gint y, > gint width, > gint height); > > >void gtk_widget_queue_resize (GtkWidget *widget); >void gtk_widget_draw (GtkWidget *widget, > GdkRectangle *area); >void gtk_widget_draw_focus (GtkWidget *widget); >void gtk_widget_draw_default (GtkWidget *widget); >void gtk_widget_size_request (GtkWidget *widget, > GtkRequisition *requisition); >void gtk_widget_size_allocate (GtkWidget *widget, > GtkAllocation *allocation); >void gtk_widget_get_child_requisition (GtkWidget *widget, > GtkRequisition *requisition); >void gtk_widget_add_accelerator (GtkWidget *widget, > const gchar *accel_signal, > GtkAccelGroup *accel_group, > guint accel_key, > guint accel_mods, > GtkAccelFlags accel_flags); >void gtk_widget_remove_accelerator (GtkWidget *widget, > GtkAccelGroup *accel_group, > guint accel_key, > guint accel_mods); >void gtk_widget_remove_accelerators (GtkWidget *widget, > const gchar *accel_signal, > gboolean visible_only); >guint gtk_widget_accelerator_signal (GtkWidget *widget, > GtkAccelGroup *accel_group, > guint accel_key, > guint accel_mods); >void gtk_widget_lock_accelerators (GtkWidget *widget); >void gtk_widget_unlock_accelerators (GtkWidget *widget); >gboolean gtk_widget_accelerators_locked (GtkWidget *widget); >gint gtk_widget_event (GtkWidget *widget, > GdkEvent *event); > >gboolean gtk_widget_activate (GtkWidget *widget); >gboolean gtk_widget_set_scroll_adjustments (GtkWidget *widget, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > >void gtk_widget_reparent (GtkWidget *widget, > GtkWidget *new_parent); >void gtk_widget_popup (GtkWidget *widget, > gint x, > gint y); >gint gtk_widget_intersect (GtkWidget *widget, > GdkRectangle *area, > GdkRectangle *intersection); > >void gtk_widget_grab_focus (GtkWidget *widget); >void gtk_widget_grab_default (GtkWidget *widget); > >void gtk_widget_set_name (GtkWidget *widget, > const gchar *name); >gchar* gtk_widget_get_name (GtkWidget *widget); >void gtk_widget_set_state (GtkWidget *widget, > GtkStateType state); >void gtk_widget_set_sensitive (GtkWidget *widget, > gboolean sensitive); >void gtk_widget_set_app_paintable (GtkWidget *widget, > gboolean app_paintable); >void gtk_widget_set_parent (GtkWidget *widget, > GtkWidget *parent); >void gtk_widget_set_parent_window (GtkWidget *widget, > GdkWindow *parent_window); >GdkWindow *gtk_widget_get_parent_window (GtkWidget *widget); >void gtk_widget_set_uposition (GtkWidget *widget, > gint x, > gint y); >void gtk_widget_set_usize (GtkWidget *widget, > gint width, > gint height); >void gtk_widget_set_events (GtkWidget *widget, > gint events); >void gtk_widget_add_events (GtkWidget *widget, > gint events); >void gtk_widget_set_extension_events (GtkWidget *widget, > GdkExtensionMode mode); > >GdkExtensionMode gtk_widget_get_extension_events (GtkWidget *widget); >GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget); >GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, > GtkType widget_type); >GdkColormap* gtk_widget_get_colormap (GtkWidget *widget); >GdkVisual* gtk_widget_get_visual (GtkWidget *widget); > > > > > > > >void gtk_widget_set_colormap (GtkWidget *widget, > GdkColormap *colormap); >void gtk_widget_set_visual (GtkWidget *widget, > GdkVisual *visual); > > >gint gtk_widget_get_events (GtkWidget *widget); >void gtk_widget_get_pointer (GtkWidget *widget, > gint *x, > gint *y); > >gboolean gtk_widget_is_ancestor (GtkWidget *widget, > GtkWidget *ancestor); > > > >gint gtk_widget_hide_on_delete (GtkWidget *widget); > > > >void gtk_widget_set_style (GtkWidget *widget, > GtkStyle *style); >void gtk_widget_set_rc_style (GtkWidget *widget); >void gtk_widget_ensure_style (GtkWidget *widget); >GtkStyle* gtk_widget_get_style (GtkWidget *widget); >void gtk_widget_restore_default_style (GtkWidget *widget); > >void gtk_widget_modify_style (GtkWidget *widget, > GtkRcStyle *style); > > > > >void gtk_widget_set_composite_name (GtkWidget *widget, > const gchar *name); >gchar* gtk_widget_get_composite_name (GtkWidget *widget); > > >void gtk_widget_reset_rc_styles (GtkWidget *widget); > > > > > >void gtk_widget_push_style (GtkStyle *style); >void gtk_widget_push_colormap (GdkColormap *cmap); >void gtk_widget_push_visual (GdkVisual *visual); >void gtk_widget_push_composite_child (void); >void gtk_widget_pop_composite_child (void); >void gtk_widget_pop_style (void); >void gtk_widget_pop_colormap (void); >void gtk_widget_pop_visual (void); > > > >void gtk_widget_set_default_style (GtkStyle *style); >void gtk_widget_set_default_colormap (GdkColormap *colormap); >void gtk_widget_set_default_visual (GdkVisual *visual); >GtkStyle* gtk_widget_get_default_style (void); >GdkColormap* gtk_widget_get_default_colormap (void); >GdkVisual* gtk_widget_get_default_visual (void); > > > >void gtk_widget_shape_combine_mask (GtkWidget *widget, > GdkBitmap *shape_mask, > gint offset_x, > gint offset_y); > > >void gtk_widget_reset_shapes (GtkWidget *widget); > > > > >void gtk_widget_path (GtkWidget *widget, > guint *path_length, > gchar **path, > gchar **path_reversed); >void gtk_widget_class_path (GtkWidget *widget, > guint *path_length, > gchar **path, > gchar **path_reversed); ># 657 "/usr/include/gtk-1.2/gtk/gtkwidget.h" >} ># 33 "/usr/include/gtk-1.2/gtk/gtkmisc.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkmisc.h" >typedef struct _GtkMisc GtkMisc; >typedef struct _GtkMiscClass GtkMiscClass; > >struct _GtkMisc >{ > GtkWidget widget; > > gfloat xalign; > gfloat yalign; > > guint16 xpad; > guint16 ypad; >}; > >struct _GtkMiscClass >{ > GtkWidgetClass parent_class; >}; > > >GtkType gtk_misc_get_type (void); >void gtk_misc_set_alignment (GtkMisc *misc, > gfloat xalign, > gfloat yalign); >void gtk_misc_set_padding (GtkMisc *misc, > gint xpad, > gint ypad); > > > >} ># 32 "/usr/include/gtk-1.2/gtk/gtklabel.h" 2 > > > >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtklabel.h" >typedef struct _GtkLabel GtkLabel; >typedef struct _GtkLabelClass GtkLabelClass; > >typedef struct _GtkLabelWord GtkLabelWord; > >struct _GtkLabel >{ > GtkMisc misc; > > gchar *label; > GdkWChar *label_wc; > gchar *pattern; > > GtkLabelWord *words; > > guint max_width : 16; > guint jtype : 2; > gboolean wrap; >}; > >struct _GtkLabelClass >{ > GtkMiscClass parent_class; >}; > > >GtkType gtk_label_get_type (void); >GtkWidget* gtk_label_new (const gchar *str); >void gtk_label_set_text (GtkLabel *label, > const gchar *str); >void gtk_label_set_justify (GtkLabel *label, > GtkJustification jtype); >void gtk_label_set_pattern (GtkLabel *label, > const gchar *pattern); >void gtk_label_set_line_wrap (GtkLabel *label, > gboolean wrap); >void gtk_label_get (GtkLabel *label, > gchar **str); > > > > > >guint gtk_label_parse_uline (GtkLabel *label, > const gchar *string); > > > > > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtkaccellabel.h" 2 > > > >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtkaccellabel.h" >typedef struct _GtkAccelLabel GtkAccelLabel; >typedef struct _GtkAccelLabelClass GtkAccelLabelClass; > >struct _GtkAccelLabel >{ > GtkLabel label; > > guint queue_id; > guint accel_padding; > GtkWidget *accel_widget; > gchar *accel_string; > guint16 accel_string_width; >}; > >struct _GtkAccelLabelClass >{ > GtkLabelClass parent_class; > > gchar *signal_quote1; > gchar *signal_quote2; > gchar *mod_name_shift; > gchar *mod_name_control; > gchar *mod_name_alt; > gchar *mod_separator; > gchar *accel_seperator; > guint latin1_to_char : 1; >}; > > >GtkType gtk_accel_label_get_type (void); >GtkWidget* gtk_accel_label_new (const gchar *string); >guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label); >void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label, > GtkWidget *accel_widget); >gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label); > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkalignment.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkalignment.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkbin.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkbin.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkcontainer.h" 1 ># 38 "/usr/include/gtk-1.2/gtk/gtkcontainer.h" >extern "C" { ># 51 "/usr/include/gtk-1.2/gtk/gtkcontainer.h" >typedef struct _GtkContainer GtkContainer; >typedef struct _GtkContainerClass GtkContainerClass; > >struct _GtkContainer >{ > GtkWidget widget; > > GtkWidget *focus_child; > > guint border_width : 16; > guint need_resize : 1; > guint resize_mode : 2; > guint reallocate_redraws : 1; > > > > GSList *resize_widgets; >}; > >struct _GtkContainerClass >{ > GtkWidgetClass parent_class; > > guint n_child_args; > > void (* add) (GtkContainer *container, > GtkWidget *widget); > void (* remove) (GtkContainer *container, > GtkWidget *widget); > void (* check_resize) (GtkContainer *container); > void (* forall) (GtkContainer *container, > gboolean include_internals, > GtkCallback callback, > gpointer callbabck_data); > gint (* focus) (GtkContainer *container, > GtkDirectionType direction); > void (* set_focus_child) (GtkContainer *container, > GtkWidget *widget); > GtkType (*child_type) (GtkContainer *container); > void (*set_child_arg) (GtkContainer *container, > GtkWidget *child, > GtkArg *arg, > guint arg_id); > void (*get_child_arg) (GtkContainer *container, > GtkWidget *child, > GtkArg *arg, > guint arg_id); > gchar* (*composite_name) (GtkContainer *container, > GtkWidget *child); > > > GtkFunction pad1; > GtkFunction pad2; >}; > > > >GtkType gtk_container_get_type (void); >void gtk_container_set_border_width (GtkContainer *container, > guint border_width); >void gtk_container_add (GtkContainer *container, > GtkWidget *widget); >void gtk_container_remove (GtkContainer *container, > GtkWidget *widget); > >void gtk_container_set_resize_mode (GtkContainer *container, > GtkResizeMode resize_mode); > >void gtk_container_check_resize (GtkContainer *container); > >void gtk_container_foreach (GtkContainer *container, > GtkCallback callback, > gpointer callback_data); >void gtk_container_foreach_full (GtkContainer *container, > GtkCallback callback, > GtkCallbackMarshal marshal, > gpointer callback_data, > GtkDestroyNotify notify); >GList* gtk_container_children (GtkContainer *container); >gint gtk_container_focus (GtkContainer *container, > GtkDirectionType direction); > > > >void gtk_container_set_reallocate_redraws (GtkContainer *container, > gboolean needs_redraws); >void gtk_container_set_focus_child (GtkContainer *container, > GtkWidget *child); >void gtk_container_set_focus_vadjustment (GtkContainer *container, > GtkAdjustment *adjustment); >void gtk_container_set_focus_hadjustment (GtkContainer *container, > GtkAdjustment *adjustment); >void gtk_container_register_toplevel (GtkContainer *container); >void gtk_container_unregister_toplevel (GtkContainer *container); >GList* gtk_container_get_toplevels (void); > >void gtk_container_resize_children (GtkContainer *container); > >GtkType gtk_container_child_type (GtkContainer *container); > > >void gtk_container_add_child_arg_type (const gchar *arg_name, > GtkType arg_type, > guint arg_flags, > guint arg_id); ># 166 "/usr/include/gtk-1.2/gtk/gtkcontainer.h" >GtkArg* gtk_container_query_child_args (GtkType class_type, > guint32 **arg_flags, > guint *nargs); > > > > > > >void gtk_container_child_getv (GtkContainer *container, > GtkWidget *child, > guint n_args, > GtkArg *args); >void gtk_container_child_setv (GtkContainer *container, > GtkWidget *child, > guint n_args, > GtkArg *args); > > > > > > >void gtk_container_add_with_args (GtkContainer *container, > GtkWidget *widget, > const gchar *first_arg_name, > ...); >void gtk_container_addv (GtkContainer *container, > GtkWidget *widget, > guint n_args, > GtkArg *args); >void gtk_container_child_set (GtkContainer *container, > GtkWidget *child, > const gchar *first_arg_name, > ...); > > > > >void gtk_container_queue_resize (GtkContainer *container); >void gtk_container_clear_resize_widgets (GtkContainer *container); >void gtk_container_arg_set (GtkContainer *container, > GtkWidget *child, > GtkArg *arg, > GtkArgInfo *info); >void gtk_container_arg_get (GtkContainer *container, > GtkWidget *child, > GtkArg *arg, > GtkArgInfo *info); >gchar* gtk_container_child_args_collect (GtkType object_type, > GSList **arg_list_p, > GSList **info_list_p, > const gchar *first_arg_name, > va_list args); >gchar* gtk_container_child_arg_get_info (GtkType object_type, > const gchar *arg_name, > GtkArgInfo **info_p); >void gtk_container_forall (GtkContainer *container, > GtkCallback callback, > gpointer callback_data); >gchar* gtk_container_child_composite_name (GtkContainer *container, > GtkWidget *child); >void gtk_container_dequeue_resize_handler (GtkContainer *container); > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkbin.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkbin.h" >typedef struct _GtkBin GtkBin; >typedef struct _GtkBinClass GtkBinClass; > >struct _GtkBin >{ > GtkContainer container; > > GtkWidget *child; >}; > >struct _GtkBinClass >{ > GtkContainerClass parent_class; >}; > > >GtkType gtk_bin_get_type (void); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkalignment.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkalignment.h" >typedef struct _GtkAlignment GtkAlignment; >typedef struct _GtkAlignmentClass GtkAlignmentClass; > >struct _GtkAlignment >{ > GtkBin bin; > > gfloat xalign; > gfloat yalign; > gfloat xscale; > gfloat yscale; >}; > >struct _GtkAlignmentClass >{ > GtkBinClass parent_class; >}; > > >GtkType gtk_alignment_get_type (void); >GtkWidget* gtk_alignment_new (gfloat xalign, > gfloat yalign, > gfloat xscale, > gfloat yscale); >void gtk_alignment_set (GtkAlignment *alignment, > gfloat xalign, > gfloat yalign, > gfloat xscale, > gfloat yscale); > > > >} ># 36 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkaspectframe.h" 1 ># 33 "/usr/include/gtk-1.2/gtk/gtkaspectframe.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkframe.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkframe.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkframe.h" >typedef struct _GtkFrame GtkFrame; >typedef struct _GtkFrameClass GtkFrameClass; > >struct _GtkFrame >{ > GtkBin bin; > > gchar *label; > gint16 shadow_type; > gint16 label_width; > gint16 label_height; > gfloat label_xalign; > gfloat label_yalign; >}; > >struct _GtkFrameClass >{ > GtkBinClass parent_class; >}; > > >GtkType gtk_frame_get_type (void); >GtkWidget* gtk_frame_new (const gchar *label); >void gtk_frame_set_label (GtkFrame *frame, > const gchar *label); >void gtk_frame_set_label_align (GtkFrame *frame, > gfloat xalign, > gfloat yalign); >void gtk_frame_set_shadow_type (GtkFrame *frame, > GtkShadowType type); > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkaspectframe.h" 2 > > >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkaspectframe.h" >typedef struct _GtkAspectFrame GtkAspectFrame; >typedef struct _GtkAspectFrameClass GtkAspectFrameClass; > >struct _GtkAspectFrame >{ > GtkFrame frame; > > gfloat xalign; > gfloat yalign; > gfloat ratio; > gboolean obey_child; > > GtkAllocation center_allocation; >}; > >struct _GtkAspectFrameClass >{ > GtkBinClass parent_class; >}; > > >GtkType gtk_aspect_frame_get_type (void); >GtkWidget* gtk_aspect_frame_new (const gchar *label, > gfloat xalign, > gfloat yalign, > gfloat ratio, > gboolean obey_child); >void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame, > gfloat xalign, > gfloat yalign, > gfloat ratio, > gboolean obey_child); > > > >} ># 38 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkarrow.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkarrow.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkarrow.h" >typedef struct _GtkArrow GtkArrow; >typedef struct _GtkArrowClass GtkArrowClass; > >struct _GtkArrow >{ > GtkMisc misc; > > gint16 arrow_type; > gint16 shadow_type; >}; > >struct _GtkArrowClass >{ > GtkMiscClass parent_class; >}; > > >GtkType gtk_arrow_get_type (void); >GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, > GtkShadowType shadow_type); >void gtk_arrow_set (GtkArrow *arrow, > GtkArrowType arrow_type, > GtkShadowType shadow_type); > > > >} ># 39 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkbindings.h" 1 ># 40 "/usr/include/gtk-1.2/gtk/gtkbindings.h" >extern "C" { > > > > > >typedef struct _GtkPatternSpec GtkPatternSpec; > >struct _GtkPatternSpec >{ > GtkMatchType match_type; > guint pattern_length; > gchar *pattern; > gchar *pattern_reversed; > gpointer user_data; > guint seq_id; >}; > >void gtk_pattern_spec_init (GtkPatternSpec *pspec, > const gchar *pattern); >void gtk_pattern_spec_free_segs (GtkPatternSpec *pspec); >gboolean gtk_pattern_match (GtkPatternSpec *pspec, > guint string_length, > const gchar *string, > const gchar *string_reversed); >gboolean gtk_pattern_match_string (GtkPatternSpec *pspec, > const gchar *string); >gboolean gtk_pattern_match_simple (const gchar *pattern, > const gchar *string); > > > > > >typedef struct _GtkBindingSet GtkBindingSet; >typedef struct _GtkBindingEntry GtkBindingEntry; >typedef struct _GtkBindingSignal GtkBindingSignal; >typedef struct _GtkBindingArg GtkBindingArg; > >struct _GtkBindingSet >{ > gchar *set_name; > gint priority; > GSList *widget_path_pspecs; > GSList *widget_class_pspecs; > GSList *class_branch_pspecs; > GtkBindingEntry *entries; > GtkBindingEntry *current; >}; > >struct _GtkBindingEntry >{ > > > guint keyval; > guint modifiers; > > GtkBindingSet *binding_set; > guint destroyed : 1; > guint in_emission : 1; > GtkBindingEntry *set_next; > GtkBindingEntry *hash_next; > GtkBindingSignal *signals; >}; > >struct _GtkBindingSignal >{ > GtkBindingSignal *next; > gchar *signal_name; > guint n_args; > GtkBindingArg *args; >}; > >struct _GtkBindingArg >{ > GtkType arg_type; > union { > glong long_data; > gdouble double_data; > gchar *string_data; > } d; >}; > > > > >GtkBindingSet* gtk_binding_set_new (const gchar *set_name); >GtkBindingSet* gtk_binding_set_by_class(gpointer object_class); >GtkBindingSet* gtk_binding_set_find (const gchar *set_name); >gboolean gtk_bindings_activate (GtkObject *object, > guint keyval, > guint modifiers); >gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, > guint keyval, > guint modifiers, > GtkObject *object); > >void gtk_binding_entry_clear (GtkBindingSet *binding_set, > guint keyval, > guint modifiers); >void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, > guint keyval, > guint modifiers, > const gchar *signal_name, > guint n_args, > ...); >void gtk_binding_set_add_path (GtkBindingSet *binding_set, > GtkPathType path_type, > const gchar *path_pattern, > GtkPathPriorityType priority); > > > > >void gtk_binding_entry_remove (GtkBindingSet *binding_set, > guint keyval, > guint modifiers); >void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, > guint keyval, > guint modifiers, > const gchar *signal_name, > GSList *binding_args); >guint gtk_binding_parse_binding (GScanner *scanner); > > > > > >} ># 41 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkbox.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkbox.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkbox.h" >typedef struct _GtkBox GtkBox; >typedef struct _GtkBoxClass GtkBoxClass; >typedef struct _GtkBoxChild GtkBoxChild; > >struct _GtkBox >{ > GtkContainer container; > > GList *children; > gint16 spacing; > guint homogeneous : 1; >}; > >struct _GtkBoxClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkBoxChild >{ > GtkWidget *widget; > guint16 padding; > guint expand : 1; > guint fill : 1; > guint pack : 1; >}; > > >GtkType gtk_box_get_type (void); >void gtk_box_pack_start (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding); >void gtk_box_pack_end (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding); >void gtk_box_pack_start_defaults (GtkBox *box, > GtkWidget *widget); >void gtk_box_pack_end_defaults (GtkBox *box, > GtkWidget *widget); >void gtk_box_set_homogeneous (GtkBox *box, > gboolean homogeneous); >void gtk_box_set_spacing (GtkBox *box, > gint spacing); >void gtk_box_reorder_child (GtkBox *box, > GtkWidget *child, > gint position); >void gtk_box_query_child_packing (GtkBox *box, > GtkWidget *child, > gboolean *expand, > gboolean *fill, > guint *padding, > GtkPackType *pack_type); >void gtk_box_set_child_packing (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding, > GtkPackType pack_type); > > > > >} ># 42 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkbbox.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtkbbox.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkbbox.h" >typedef struct _GtkButtonBox GtkButtonBox; >typedef struct _GtkButtonBoxClass GtkButtonBoxClass; > >struct _GtkButtonBox >{ > GtkBox box; > gint spacing; > gint child_min_width; > gint child_min_height; > gint child_ipad_x; > gint child_ipad_y; > GtkButtonBoxStyle layout_style; >}; > >struct _GtkButtonBoxClass >{ > GtkBoxClass parent_class; >}; > > >GtkType gtk_button_box_get_type (void); > >void gtk_button_box_get_child_size_default (gint *min_width, gint *min_height); >void gtk_button_box_get_child_ipadding_default (gint *ipad_x, gint *ipad_y); > >void gtk_button_box_set_child_size_default (gint min_width, gint min_height); >void gtk_button_box_set_child_ipadding_default (gint ipad_x, gint ipad_y); > >gint gtk_button_box_get_spacing (GtkButtonBox *widget); >GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget); >void gtk_button_box_get_child_size (GtkButtonBox *widget, > gint *min_width, gint *min_height); >void gtk_button_box_get_child_ipadding (GtkButtonBox *widget, gint *ipad_x, gint *ipad_y); > >void gtk_button_box_set_spacing (GtkButtonBox *widget, gint spacing); >void gtk_button_box_set_layout (GtkButtonBox *widget, > GtkButtonBoxStyle layout_style); >void gtk_button_box_set_child_size (GtkButtonBox *widget, > gint min_width, gint min_height); >void gtk_button_box_set_child_ipadding (GtkButtonBox *widget, gint ipad_x, gint ipad_y); > > > >void gtk_button_box_child_requisition (GtkWidget *widget, > int *nvis_children, > int *width, > int *height); > > >} ># 43 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkbutton.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkbutton.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkbutton.h" >typedef struct _GtkButton GtkButton; >typedef struct _GtkButtonClass GtkButtonClass; > >struct _GtkButton >{ > GtkBin bin; > > GtkWidget *child ; > > > > guint in_button : 1; > guint button_down : 1; > guint relief : 2; >}; > >struct _GtkButtonClass >{ > GtkBinClass parent_class; > > void (* pressed) (GtkButton *button); > void (* released) (GtkButton *button); > void (* clicked) (GtkButton *button); > void (* enter) (GtkButton *button); > void (* leave) (GtkButton *button); >}; > > >GtkType gtk_button_get_type (void); >GtkWidget* gtk_button_new (void); >GtkWidget* gtk_button_new_with_label (const gchar *label); >void gtk_button_pressed (GtkButton *button); >void gtk_button_released (GtkButton *button); >void gtk_button_clicked (GtkButton *button); >void gtk_button_enter (GtkButton *button); >void gtk_button_leave (GtkButton *button); >void gtk_button_set_relief (GtkButton *button, > GtkReliefStyle newstyle); >GtkReliefStyle gtk_button_get_relief (GtkButton *button); > > > >} ># 44 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcalendar.h" 1 ># 33 "/usr/include/gtk-1.2/gtk/gtkcalendar.h" ># 1 "/usr/include/gtk-1.2/gtk/gtksignal.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtksignal.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkmarshal.h" 1 > > > > > > > >extern "C" >{ > > > > > void gtk_marshal_BOOL__NONE (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_BOOL__POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_BOOL__POINTER_POINTER_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > void gtk_marshal_BOOL__POINTER_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_BOOL__POINTER_INT_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_BOOL__POINTER_POINTER_POINTER_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_INT__INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_INT__POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_INT__POINTER_CHAR_CHAR (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__BOOL (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_NONE__POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__C_CALLBACK (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__C_CALLBACK_C_CALLBACK (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_NONE__INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_NONE__INT_FLOAT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_NONE__INT_FLOAT_BOOL (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__INT_INT_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__NONE (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_NONE__POINTER_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__POINTER_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > void gtk_marshal_NONE__POINTER_POINTER_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > > > > > void gtk_marshal_NONE__POINTER_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > > void gtk_marshal_NONE__POINTER_POINTER_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_NONE__POINTER_INT_INT_POINTER_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > > > > > void gtk_marshal_NONE__POINTER_INT_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > > > void gtk_marshal_NONE__INT_POINTER_INT_INT_INT_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_NONE__INT_POINTER_INT_INT_INT (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, > GtkArg * args); > > > > void gtk_marshal_NONE__INT_POINTER (GtkObject * object, > GtkSignalFunc func, > gpointer func_data, GtkArg * args); > > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtksignal.h" 2 > > >extern "C" { > > > > > > >typedef void (*GtkSignalMarshal) (GtkObject *object, > gpointer data, > guint nparams, > GtkArg *args, > GtkType *arg_types, > GtkType return_type); >typedef void (*GtkSignalDestroy) (gpointer data); >typedef gboolean (*GtkEmissionHook) (GtkObject *object, > guint signal_id, > guint n_params, > GtkArg *params, > gpointer data); > >typedef struct _GtkSignalQuery GtkSignalQuery; > >struct _GtkSignalQuery >{ > GtkType object_type; > guint signal_id; > const gchar *signal_name; > guint is_user_signal : 1; > GtkSignalRunType signal_flags; > GtkType return_val; > guint nparams; > const GtkType *params; >}; > > > >guint gtk_signal_lookup (const gchar *name, > GtkType object_type); >gchar* gtk_signal_name (guint signal_id); >guint gtk_signal_n_emissions (GtkObject *object, > guint signal_id); >guint gtk_signal_n_emissions_by_name (GtkObject *object, > const gchar *name); >void gtk_signal_emit_stop (GtkObject *object, > guint signal_id); >void gtk_signal_emit_stop_by_name (GtkObject *object, > const gchar *name); >guint gtk_signal_connect (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > gpointer func_data); >guint gtk_signal_connect_after (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > gpointer func_data); >guint gtk_signal_connect_object (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > GtkObject *slot_object); >guint gtk_signal_connect_object_after (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > GtkObject *slot_object); >guint gtk_signal_connect_full (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy_func, > gint object_signal, > gint after); > >void gtk_signal_connect_object_while_alive (GtkObject *object, > const gchar *signal, > GtkSignalFunc func, > GtkObject *alive_object); >void gtk_signal_connect_while_alive (GtkObject *object, > const gchar *signal, > GtkSignalFunc func, > gpointer func_data, > GtkObject *alive_object); > >void gtk_signal_disconnect (GtkObject *object, > guint handler_id); >void gtk_signal_disconnect_by_func (GtkObject *object, > GtkSignalFunc func, > gpointer data); >void gtk_signal_disconnect_by_data (GtkObject *object, > gpointer data); >void gtk_signal_handler_block (GtkObject *object, > guint handler_id); >void gtk_signal_handler_block_by_func (GtkObject *object, > GtkSignalFunc func, > gpointer data); >void gtk_signal_handler_block_by_data (GtkObject *object, > gpointer data); >void gtk_signal_handler_unblock (GtkObject *object, > guint handler_id); >void gtk_signal_handler_unblock_by_func (GtkObject *object, > GtkSignalFunc func, > gpointer data); >void gtk_signal_handler_unblock_by_data (GtkObject *object, > gpointer data); >guint gtk_signal_handler_pending (GtkObject *object, > guint signal_id, > gboolean may_be_blocked); >guint gtk_signal_handler_pending_by_func (GtkObject *object, > guint signal_id, > gboolean may_be_blocked, > GtkSignalFunc func, > gpointer data); >gint gtk_signal_handler_pending_by_id (GtkObject *object, > guint handler_id, > gboolean may_be_blocked); >guint gtk_signal_add_emission_hook (guint signal_id, > GtkEmissionHook hook_func, > gpointer data); >guint gtk_signal_add_emission_hook_full (guint signal_id, > GtkEmissionHook hook_func, > gpointer data, > GDestroyNotify destroy); >void gtk_signal_remove_emission_hook (guint signal_id, > guint hook_id); > > > > > >GtkSignalQuery* gtk_signal_query (guint signal_id); > > > >void gtk_signal_init (void); >guint gtk_signal_new (const gchar *name, > GtkSignalRunType signal_flags, > GtkType object_type, > guint function_offset, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint nparams, > ...); >guint gtk_signal_newv (const gchar *name, > GtkSignalRunType signal_flags, > GtkType object_type, > guint function_offset, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint nparams, > GtkType *params); >void gtk_signal_emit (GtkObject *object, > guint signal_id, > ...); >void gtk_signal_emit_by_name (GtkObject *object, > const gchar *name, > ...); >void gtk_signal_emitv (GtkObject *object, > guint signal_id, > GtkArg *params); >void gtk_signal_emitv_by_name (GtkObject *object, > const gchar *name, > GtkArg *params); > >void gtk_signal_handlers_destroy (GtkObject *object); >void gtk_signal_set_funcs (GtkSignalMarshal marshal_func, > GtkSignalDestroy destroy_func); > > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkcalendar.h" 2 > > > > >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtkcalendar.h" >typedef struct _GtkCalendar GtkCalendar; >typedef struct _GtkCalendarClass GtkCalendarClass; > >typedef enum >{ > GTK_CALENDAR_SHOW_HEADING = 1 << 0, > GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1, > GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2, > GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3, > GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4 >} GtkCalendarDisplayOptions; > >struct _GtkCalendar >{ > GtkWidget widget; > > GtkStyle *header_style; > GtkStyle *label_style; > > gint month; > gint year; > gint selected_day; > > gint day_month[6][7]; > gint day[6][7]; > > gint num_marked_dates; > gint marked_date[31]; > GtkCalendarDisplayOptions display_flags; > GdkColor marked_date_color[31]; > > GdkGC *gc; > GdkGC *xor_gc; > > gint focus_row; > gint focus_col; > > gint highlight_row; > gint highlight_col; > > gpointer private_data; > gchar grow_space [32]; >}; > >struct _GtkCalendarClass >{ > GtkWidgetClass parent_class; > > > void (* month_changed) (GtkCalendar *calendar); > void (* day_selected) (GtkCalendar *calendar); > void (* day_selected_double_click) (GtkCalendar *calendar); > void (* prev_month) (GtkCalendar *calendar); > void (* next_month) (GtkCalendar *calendar); > void (* prev_year) (GtkCalendar *calendar); > void (* next_year) (GtkCalendar *calendar); > >}; > > >GtkType gtk_calendar_get_type (void); >GtkWidget* gtk_calendar_new (void); > >gint gtk_calendar_select_month (GtkCalendar *calendar, > guint month, > guint year); >void gtk_calendar_select_day (GtkCalendar *calendar, > guint day); > >gint gtk_calendar_mark_day (GtkCalendar *calendar, > guint day); >gint gtk_calendar_unmark_day (GtkCalendar *calendar, > guint day); >void gtk_calendar_clear_marks (GtkCalendar *calendar); > > >void gtk_calendar_display_options (GtkCalendar *calendar, > GtkCalendarDisplayOptions flags); > >void gtk_calendar_get_date (GtkCalendar *calendar, > guint *year, > guint *month, > guint *day); >void gtk_calendar_freeze (GtkCalendar *calendar); >void gtk_calendar_thaw (GtkCalendar *calendar); > > > > > >} ># 45 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcheckbutton.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkcheckbutton.h" ># 1 "/usr/include/gtk-1.2/gtk/gtktogglebutton.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtktogglebutton.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtktogglebutton.h" >typedef struct _GtkToggleButton GtkToggleButton; >typedef struct _GtkToggleButtonClass GtkToggleButtonClass; > >struct _GtkToggleButton >{ > GtkButton button; > > guint active : 1; > guint draw_indicator : 1; > > GdkWindow *event_window; >}; > >struct _GtkToggleButtonClass >{ > GtkButtonClass parent_class; > > void (* toggled) (GtkToggleButton *toggle_button); >}; > > >GtkType gtk_toggle_button_get_type (void); >GtkWidget* gtk_toggle_button_new (void); >GtkWidget* gtk_toggle_button_new_with_label (const gchar *label); >void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, > gboolean draw_indicator); >void gtk_toggle_button_set_active (GtkToggleButton *toggle_button, > gboolean is_active); >gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); >void gtk_toggle_button_toggled (GtkToggleButton *toggle_button); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkcheckbutton.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkcheckbutton.h" >typedef struct _GtkCheckButton GtkCheckButton; >typedef struct _GtkCheckButtonClass GtkCheckButtonClass; > >struct _GtkCheckButton >{ > GtkToggleButton toggle_button; >}; > >struct _GtkCheckButtonClass >{ > GtkToggleButtonClass parent_class; > > guint16 indicator_size; > guint16 indicator_spacing; > > void (* draw_indicator) (GtkCheckButton *check_button, > GdkRectangle *area); >}; > > >GtkType gtk_check_button_get_type (void); >GtkWidget* gtk_check_button_new (void); >GtkWidget* gtk_check_button_new_with_label (const gchar *label); > >void _gtk_check_button_get_props (GtkCheckButton *check_button, > gint *indicator_size, > gint *indicator_spacing); > > >} ># 46 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkmenuitem.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkmenuitem.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkitem.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkitem.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkitem.h" >typedef struct _GtkItem GtkItem; >typedef struct _GtkItemClass GtkItemClass; > >struct _GtkItem >{ > GtkBin bin; >}; > >struct _GtkItemClass >{ > GtkBinClass parent_class; > > void (* select) (GtkItem *item); > void (* deselect) (GtkItem *item); > void (* toggle) (GtkItem *item); >}; > > >GtkType gtk_item_get_type (void); >void gtk_item_select (GtkItem *item); >void gtk_item_deselect (GtkItem *item); >void gtk_item_toggle (GtkItem *item); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkmenuitem.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkmenuitem.h" >typedef struct _GtkMenuItem GtkMenuItem; >typedef struct _GtkMenuItemClass GtkMenuItemClass; > >struct _GtkMenuItem >{ > GtkItem item; > > GtkWidget *submenu; > > guint accelerator_signal; > guint16 toggle_size; > guint16 accelerator_width; > > guint show_toggle_indicator : 1; > guint show_submenu_indicator : 1; > guint submenu_placement : 1; > guint submenu_direction : 1; > guint right_justify: 1; > guint timer; >}; > >struct _GtkMenuItemClass >{ > GtkItemClass parent_class; > > guint toggle_size; > > > > > > > guint hide_on_activate : 1; > > void (* activate) (GtkMenuItem *menu_item); > void (* activate_item) (GtkMenuItem *menu_item); >}; > > >GtkType gtk_menu_item_get_type (void); >GtkWidget* gtk_menu_item_new (void); >GtkWidget* gtk_menu_item_new_with_label (const gchar *label); >void gtk_menu_item_set_submenu (GtkMenuItem *menu_item, > GtkWidget *submenu); >void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item); >void gtk_menu_item_set_placement (GtkMenuItem *menu_item, > GtkSubmenuPlacement placement); >void gtk_menu_item_configure (GtkMenuItem *menu_item, > gint show_toggle_indicator, > gint show_submenu_indicator); >void gtk_menu_item_select (GtkMenuItem *menu_item); >void gtk_menu_item_deselect (GtkMenuItem *menu_item); >void gtk_menu_item_activate (GtkMenuItem *menu_item); >void gtk_menu_item_right_justify (GtkMenuItem *menu_item); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h" >typedef struct _GtkCheckMenuItem GtkCheckMenuItem; >typedef struct _GtkCheckMenuItemClass GtkCheckMenuItemClass; > >struct _GtkCheckMenuItem >{ > GtkMenuItem menu_item; > > guint active : 1; > guint always_show_toggle : 1; >}; > >struct _GtkCheckMenuItemClass >{ > GtkMenuItemClass parent_class; > > void (* toggled) (GtkCheckMenuItem *check_menu_item); > void (* draw_indicator) (GtkCheckMenuItem *check_menu_item, > GdkRectangle *area); >}; > > >GtkType gtk_check_menu_item_get_type (void); >GtkWidget* gtk_check_menu_item_new (void); >GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); >void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, > gboolean is_active); >void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item, > gboolean always); >void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); > > > >} ># 47 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkclist.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkclist.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkhscrollbar.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkhscrollbar.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkscrollbar.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkscrollbar.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkrange.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkrange.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkrange.h" >typedef struct _GtkRange GtkRange; >typedef struct _GtkRangeClass GtkRangeClass; > >struct _GtkRange >{ > GtkWidget widget; > > GdkWindow *trough; > GdkWindow *slider; > GdkWindow *step_forw; > GdkWindow *step_back; > > gint16 x_click_point; > gint16 y_click_point; > > guint8 button; > gint8 digits; > guint policy : 2; > guint scroll_type : 3; > guint in_child : 3; > guint click_child : 3; > guint need_timer : 1; > > guint32 timer; > > gfloat old_value; > gfloat old_lower; > gfloat old_upper; > gfloat old_page_size; > > GtkAdjustment *adjustment; >}; > >struct _GtkRangeClass >{ > GtkWidgetClass parent_class; > > gint slider_width; > gint stepper_size; > gint stepper_slider_spacing; > gint min_slider_size; > > guint8 trough; > guint8 slider; > guint8 step_forw; > guint8 step_back; > > void (* draw_background) (GtkRange *range); > void (* clear_background) (GtkRange *range); > void (* draw_trough) (GtkRange *range); > void (* draw_slider) (GtkRange *range); > void (* draw_step_forw) (GtkRange *range); > void (* draw_step_back) (GtkRange *range); > void (* slider_update) (GtkRange *range); > gint (* trough_click) (GtkRange *range, > gint x, > gint y, > gfloat *jump_perc); > gint (* trough_keys) (GtkRange *range, > GdkEventKey *key, > GtkScrollType *scroll, > GtkTroughType *trough); > void (* motion) (GtkRange *range, > gint xdelta, > gint ydelta); > gint (* timer) (GtkRange *range); >}; > > >GtkType gtk_range_get_type (void); >GtkAdjustment* gtk_range_get_adjustment (GtkRange *range); >void gtk_range_set_update_policy (GtkRange *range, > GtkUpdateType policy); >void gtk_range_set_adjustment (GtkRange *range, > GtkAdjustment *adjustment); > >void gtk_range_draw_background (GtkRange *range); >void gtk_range_clear_background (GtkRange *range); >void gtk_range_draw_trough (GtkRange *range); >void gtk_range_draw_slider (GtkRange *range); >void gtk_range_draw_step_forw (GtkRange *range); >void gtk_range_draw_step_back (GtkRange *range); >void gtk_range_slider_update (GtkRange *range); >gint gtk_range_trough_click (GtkRange *range, > gint x, > gint y, > gfloat *jump_perc); > >void gtk_range_default_hslider_update (GtkRange *range); >void gtk_range_default_vslider_update (GtkRange *range); >gint gtk_range_default_htrough_click (GtkRange *range, > gint x, > gint y, > gfloat *jump_perc); >gint gtk_range_default_vtrough_click (GtkRange *range, > gint x, > gint y, > gfloat *jump_perc); >void gtk_range_default_hmotion (GtkRange *range, > gint xdelta, > gint ydelta); >void gtk_range_default_vmotion (GtkRange *range, > gint xdelta, > gint ydelta); > >void _gtk_range_get_props (GtkRange *range, > gint *slider_width, > gint *trough_border, > gint *stepper_size, > gint *stepper_spacing); > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkscrollbar.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkscrollbar.h" >typedef struct _GtkScrollbar GtkScrollbar; >typedef struct _GtkScrollbarClass GtkScrollbarClass; > >struct _GtkScrollbar >{ > GtkRange range; >}; > >struct _GtkScrollbarClass >{ > GtkRangeClass parent_class; >}; > > >GtkType gtk_scrollbar_get_type (void); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkhscrollbar.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkhscrollbar.h" >typedef struct _GtkHScrollbar GtkHScrollbar; >typedef struct _GtkHScrollbarClass GtkHScrollbarClass; > >struct _GtkHScrollbar >{ > GtkScrollbar scrollbar; >}; > >struct _GtkHScrollbarClass >{ > GtkScrollbarClass parent_class; >}; > > >GtkType gtk_hscrollbar_get_type (void); >GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment); > > > >} ># 37 "/usr/include/gtk-1.2/gtk/gtkclist.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkvscrollbar.h" 1 ># 42 "/usr/include/gtk-1.2/gtk/gtkvscrollbar.h" >typedef struct _GtkVScrollbar GtkVScrollbar; >typedef struct _GtkVScrollbarClass GtkVScrollbarClass; > >struct _GtkVScrollbar >{ > GtkScrollbar scrollbar; >}; > >struct _GtkVScrollbarClass >{ > GtkScrollbarClass parent_class; >}; > > > >extern "C" { > > > >GtkType gtk_vscrollbar_get_type (void); >GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment); > > > >} ># 38 "/usr/include/gtk-1.2/gtk/gtkclist.h" 2 > > > >extern "C" { > > > >enum { > GTK_CLIST_IN_DRAG = 1 << 0, > GTK_CLIST_ROW_HEIGHT_SET = 1 << 1, > GTK_CLIST_SHOW_TITLES = 1 << 2, > GTK_CLIST_CHILD_HAS_FOCUS = 1 << 3, > GTK_CLIST_ADD_MODE = 1 << 4, > GTK_CLIST_AUTO_SORT = 1 << 5, > GTK_CLIST_AUTO_RESIZE_BLOCKED = 1 << 6, > GTK_CLIST_REORDERABLE = 1 << 7, > GTK_CLIST_USE_DRAG_ICONS = 1 << 8, > GTK_CLIST_DRAW_DRAG_LINE = 1 << 9, > GTK_CLIST_DRAW_DRAG_RECT = 1 << 10 >}; > > >typedef enum >{ > GTK_CELL_EMPTY, > GTK_CELL_TEXT, > GTK_CELL_PIXMAP, > GTK_CELL_PIXTEXT, > GTK_CELL_WIDGET >} GtkCellType; > >typedef enum >{ > GTK_CLIST_DRAG_NONE, > GTK_CLIST_DRAG_BEFORE, > GTK_CLIST_DRAG_INTO, > GTK_CLIST_DRAG_AFTER >} GtkCListDragPos; > >typedef enum >{ > GTK_BUTTON_IGNORED = 0, > GTK_BUTTON_SELECTS = 1 << 0, > GTK_BUTTON_DRAGS = 1 << 1, > GTK_BUTTON_EXPANDS = 1 << 2 >} GtkButtonAction; ># 115 "/usr/include/gtk-1.2/gtk/gtkclist.h" >typedef struct _GtkCList GtkCList; >typedef struct _GtkCListClass GtkCListClass; >typedef struct _GtkCListColumn GtkCListColumn; >typedef struct _GtkCListRow GtkCListRow; > >typedef struct _GtkCell GtkCell; >typedef struct _GtkCellText GtkCellText; >typedef struct _GtkCellPixmap GtkCellPixmap; >typedef struct _GtkCellPixText GtkCellPixText; >typedef struct _GtkCellWidget GtkCellWidget; > >typedef gint (*GtkCListCompareFunc) (GtkCList *clist, > gconstpointer ptr1, > gconstpointer ptr2); > >typedef struct _GtkCListCellInfo GtkCListCellInfo; >typedef struct _GtkCListDestInfo GtkCListDestInfo; > >struct _GtkCListCellInfo >{ > gint row; > gint column; >}; > >struct _GtkCListDestInfo >{ > GtkCListCellInfo cell; > GtkCListDragPos insert_pos; >}; > >struct _GtkCList >{ > GtkContainer container; > > guint16 flags; > > > GMemChunk *row_mem_chunk; > GMemChunk *cell_mem_chunk; > > guint freeze_count; > > > > GdkRectangle internal_allocation; > > > gint rows; > gint row_center_offset; > gint row_height; > GList *row_list; > GList *row_list_end; > > > gint columns; > GdkRectangle column_title_area; > GdkWindow *title_window; > > > GtkCListColumn *column; > > > > GdkWindow *clist_window; > gint clist_window_width; > gint clist_window_height; > > > gint hoffset; > gint voffset; > > > GtkShadowType shadow_type; > > > GtkSelectionMode selection_mode; > > > GList *selection; > GList *selection_end; > > GList *undo_selection; > GList *undo_unselection; > gint undo_anchor; > > > guint8 button_actions[5]; > > guint8 drag_button; > > > GtkCListCellInfo click_cell; > > > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; > > > GdkGC *xor_gc; > > > GdkGC *fg_gc; > GdkGC *bg_gc; > > > GdkCursor *cursor_drag; > > > gint x_drag; > > > gint focus_row; > > > gint anchor; > GtkStateType anchor_state; > gint drag_pos; > gint htimer; > gint vtimer; > > GtkSortType sort_type; > GtkCListCompareFunc compare; > gint sort_column; >}; > >struct _GtkCListClass >{ > GtkContainerClass parent_class; > > void (*set_scroll_adjustments) (GtkCList *clist, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > void (*refresh) (GtkCList *clist); > void (*select_row) (GtkCList *clist, > gint row, > gint column, > GdkEvent *event); > void (*unselect_row) (GtkCList *clist, > gint row, > gint column, > GdkEvent *event); > void (*row_move) (GtkCList *clist, > gint source_row, > gint dest_row); > void (*click_column) (GtkCList *clist, > gint column); > void (*resize_column) (GtkCList *clist, > gint column, > gint width); > void (*toggle_focus_row) (GtkCList *clist); > void (*select_all) (GtkCList *clist); > void (*unselect_all) (GtkCList *clist); > void (*undo_selection) (GtkCList *clist); > void (*start_selection) (GtkCList *clist); > void (*end_selection) (GtkCList *clist); > void (*extend_selection) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); > void (*scroll_horizontal) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position); > void (*scroll_vertical) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position); > void (*toggle_add_mode) (GtkCList *clist); > void (*abort_column_resize) (GtkCList *clist); > void (*resync_selection) (GtkCList *clist, > GdkEvent *event); > GList* (*selection_find) (GtkCList *clist, > gint row_number, > GList *row_list_element); > void (*draw_row) (GtkCList *clist, > GdkRectangle *area, > gint row, > GtkCListRow *clist_row); > void (*draw_drag_highlight) (GtkCList *clist, > GtkCListRow *target_row, > gint target_row_number, > GtkCListDragPos drag_pos); > void (*clear) (GtkCList *clist); > void (*fake_unselect_all) (GtkCList *clist, > gint row); > void (*sort_list) (GtkCList *clist); > gint (*insert_row) (GtkCList *clist, > gint row, > gchar *text[]); > void (*remove_row) (GtkCList *clist, > gint row); > void (*set_cell_contents) (GtkCList *clist, > GtkCListRow *clist_row, > gint column, > GtkCellType type, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); > void (*cell_size_request) (GtkCList *clist, > GtkCListRow *clist_row, > gint column, > GtkRequisition *requisition); > >}; > >struct _GtkCListColumn >{ > gchar *title; > GdkRectangle area; > > GtkWidget *button; > GdkWindow *window; > > gint width; > gint min_width; > gint max_width; > GtkJustification justification; > > guint visible : 1; > guint width_set : 1; > guint resizeable : 1; > guint auto_resize : 1; > guint button_passive : 1; >}; > >struct _GtkCListRow >{ > GtkCell *cell; > GtkStateType state; > > GdkColor foreground; > GdkColor background; > > GtkStyle *style; > > gpointer data; > GtkDestroyNotify destroy; > > guint fg_set : 1; > guint bg_set : 1; > guint selectable : 1; >}; > > >struct _GtkCellText >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > gchar *text; >}; > >struct _GtkCellPixmap >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > GdkPixmap *pixmap; > GdkBitmap *mask; >}; > >struct _GtkCellPixText >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > gchar *text; > guint8 spacing; > GdkPixmap *pixmap; > GdkBitmap *mask; >}; > >struct _GtkCellWidget >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > GtkWidget *widget; >}; > >struct _GtkCell >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > union { > gchar *text; > > struct { > GdkPixmap *pixmap; > GdkBitmap *mask; > } pm; > > struct { > gchar *text; > guint8 spacing; > GdkPixmap *pixmap; > GdkBitmap *mask; > } pt; > > GtkWidget *widget; > } u; >}; > >GtkType gtk_clist_get_type (void); > > >void gtk_clist_construct (GtkCList *clist, > gint columns, > gchar *titles[]); > > >GtkWidget* gtk_clist_new (gint columns); >GtkWidget* gtk_clist_new_with_titles (gint columns, > gchar *titles[]); > > >void gtk_clist_set_hadjustment (GtkCList *clist, > GtkAdjustment *adjustment); >void gtk_clist_set_vadjustment (GtkCList *clist, > GtkAdjustment *adjustment); > > >GtkAdjustment* gtk_clist_get_hadjustment (GtkCList *clist); >GtkAdjustment* gtk_clist_get_vadjustment (GtkCList *clist); > > >void gtk_clist_set_shadow_type (GtkCList *clist, > GtkShadowType type); > > >void gtk_clist_set_selection_mode (GtkCList *clist, > GtkSelectionMode mode); > > >void gtk_clist_set_reorderable (GtkCList *clist, > gboolean reorderable); >void gtk_clist_set_use_drag_icons (GtkCList *clist, > gboolean use_icons); >void gtk_clist_set_button_actions (GtkCList *clist, > guint button, > guint8 button_actions); > > > > > >void gtk_clist_freeze (GtkCList *clist); >void gtk_clist_thaw (GtkCList *clist); > > >void gtk_clist_column_titles_show (GtkCList *clist); >void gtk_clist_column_titles_hide (GtkCList *clist); > > > > > >void gtk_clist_column_title_active (GtkCList *clist, > gint column); >void gtk_clist_column_title_passive (GtkCList *clist, > gint column); >void gtk_clist_column_titles_active (GtkCList *clist); >void gtk_clist_column_titles_passive (GtkCList *clist); > > >void gtk_clist_set_column_title (GtkCList *clist, > gint column, > const gchar *title); > > >gchar * gtk_clist_get_column_title (GtkCList *clist, > gint column); > > >void gtk_clist_set_column_widget (GtkCList *clist, > gint column, > GtkWidget *widget); > > >GtkWidget * gtk_clist_get_column_widget (GtkCList *clist, > gint column); > > >void gtk_clist_set_column_justification (GtkCList *clist, > gint column, > GtkJustification justification); > > >void gtk_clist_set_column_visibility (GtkCList *clist, > gint column, > gboolean visible); > > >void gtk_clist_set_column_resizeable (GtkCList *clist, > gint column, > gboolean resizeable); > > >void gtk_clist_set_column_auto_resize (GtkCList *clist, > gint column, > gboolean auto_resize); > >gint gtk_clist_columns_autosize (GtkCList *clist); > > >gint gtk_clist_optimal_column_width (GtkCList *clist, > gint column); > > > > > >void gtk_clist_set_column_width (GtkCList *clist, > gint column, > gint width); > > >void gtk_clist_set_column_min_width (GtkCList *clist, > gint column, > gint min_width); >void gtk_clist_set_column_max_width (GtkCList *clist, > gint column, > gint max_width); > > > > >void gtk_clist_set_row_height (GtkCList *clist, > guint height); > > > > > > >void gtk_clist_moveto (GtkCList *clist, > gint row, > gint column, > gfloat row_align, > gfloat col_align); > > >GtkVisibility gtk_clist_row_is_visible (GtkCList *clist, > gint row); > > >GtkCellType gtk_clist_get_cell_type (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_set_text (GtkCList *clist, > gint row, > gint column, > const gchar *text); > > > > >gint gtk_clist_get_text (GtkCList *clist, > gint row, > gint column, > gchar **text); > > >void gtk_clist_set_pixmap (GtkCList *clist, > gint row, > gint column, > GdkPixmap *pixmap, > GdkBitmap *mask); > >gint gtk_clist_get_pixmap (GtkCList *clist, > gint row, > gint column, > GdkPixmap **pixmap, > GdkBitmap **mask); > > >void gtk_clist_set_pixtext (GtkCList *clist, > gint row, > gint column, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); > >gint gtk_clist_get_pixtext (GtkCList *clist, > gint row, > gint column, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap, > GdkBitmap **mask); > > > > >void gtk_clist_set_foreground (GtkCList *clist, > gint row, > GdkColor *color); > > > > >void gtk_clist_set_background (GtkCList *clist, > gint row, > GdkColor *color); > > >void gtk_clist_set_cell_style (GtkCList *clist, > gint row, > gint column, > GtkStyle *style); > >GtkStyle *gtk_clist_get_cell_style (GtkCList *clist, > gint row, > gint column); > >void gtk_clist_set_row_style (GtkCList *clist, > gint row, > GtkStyle *style); > >GtkStyle *gtk_clist_get_row_style (GtkCList *clist, > gint row); > > > > > >void gtk_clist_set_shift (GtkCList *clist, > gint row, > gint column, > gint vertical, > gint horizontal); > > >void gtk_clist_set_selectable (GtkCList *clist, > gint row, > gboolean selectable); >gboolean gtk_clist_get_selectable (GtkCList *clist, > gint row); > > > > >gint gtk_clist_prepend (GtkCList *clist, > gchar *text[]); >gint gtk_clist_append (GtkCList *clist, > gchar *text[]); > > > > >gint gtk_clist_insert (GtkCList *clist, > gint row, > gchar *text[]); > > >void gtk_clist_remove (GtkCList *clist, > gint row); > > >void gtk_clist_set_row_data (GtkCList *clist, > gint row, > gpointer data); > > >void gtk_clist_set_row_data_full (GtkCList *clist, > gint row, > gpointer data, > GtkDestroyNotify destroy); > > >gpointer gtk_clist_get_row_data (GtkCList *clist, > gint row); > > > > >gint gtk_clist_find_row_from_data (GtkCList *clist, > gpointer data); > > >void gtk_clist_select_row (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_unselect_row (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_undo_selection (GtkCList *clist); > > > > >void gtk_clist_clear (GtkCList *clist); > > > > > >gint gtk_clist_get_selection_info (GtkCList *clist, > gint x, > gint y, > gint *row, > gint *column); > > >void gtk_clist_select_all (GtkCList *clist); > > >void gtk_clist_unselect_all (GtkCList *clist); > > >void gtk_clist_swap_rows (GtkCList *clist, > gint row1, > gint row2); > > >void gtk_clist_row_move (GtkCList *clist, > gint source_row, > gint dest_row); > > >void gtk_clist_set_compare_func (GtkCList *clist, > GtkCListCompareFunc cmp_func); > > >void gtk_clist_set_sort_column (GtkCList *clist, > gint column); > > >void gtk_clist_set_sort_type (GtkCList *clist, > GtkSortType sort_type); > > >void gtk_clist_sort (GtkCList *clist); > > >void gtk_clist_set_auto_sort (GtkCList *clist, > gboolean auto_sort); > > > >} ># 48 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 1 ># 30 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkwindow.h" 1 ># 38 "/usr/include/gtk-1.2/gtk/gtkwindow.h" >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtkwindow.h" >typedef struct _GtkWindow GtkWindow; >typedef struct _GtkWindowClass GtkWindowClass; > >struct _GtkWindow >{ > GtkBin bin; > > gchar *title; > gchar *wmclass_name; > gchar *wmclass_class; > GtkWindowType type; > > GtkWidget *focus_widget; > GtkWidget *default_widget; > GtkWindow *transient_parent; > > gushort resize_count; > guint allow_shrink : 1; > guint allow_grow : 1; > guint auto_shrink : 1; > guint handling_resize : 1; > guint position : 2; > > > > > > > > guint use_uposition : 1; > guint modal : 1; > > > > guint window_has_focus : 1; > > > > > > guint window_has_pointer_focus : 1; >}; > >struct _GtkWindowClass >{ > GtkBinClass parent_class; > > void (* set_focus) (GtkWindow *window, > GtkWidget *focus); >}; > > >GtkType gtk_window_get_type (void); >GtkWidget* gtk_window_new (GtkWindowType type); >void gtk_window_set_title (GtkWindow *window, > const gchar *title); >void gtk_window_set_wmclass (GtkWindow *window, > const gchar *wmclass_name, > const gchar *wmclass_class); >void gtk_window_set_policy (GtkWindow *window, > gint allow_shrink, > gint allow_grow, > gint auto_shrink); >void gtk_window_add_accel_group (GtkWindow *window, > GtkAccelGroup *accel_group); >void gtk_window_remove_accel_group (GtkWindow *window, > GtkAccelGroup *accel_group); >void gtk_window_set_position (GtkWindow *window, > GtkWindowPosition position); >gint gtk_window_activate_focus (GtkWindow *window); >gint gtk_window_activate_default (GtkWindow *window); > >void gtk_window_set_transient_for (GtkWindow *window, > GtkWindow *parent); >void gtk_window_set_geometry_hints (GtkWindow *window, > GtkWidget *geometry_widget, > GdkGeometry *geometry, > GdkWindowHints geom_mask); > > > > >void gtk_window_set_default_size (GtkWindow *window, > gint width, > gint height); > > >void gtk_window_set_modal (GtkWindow *window, > gboolean modal); > > >void gtk_window_set_focus (GtkWindow *window, > GtkWidget *focus); >void gtk_window_set_default (GtkWindow *window, > GtkWidget *defaultw); >void gtk_window_remove_embedded_xid (GtkWindow *window, > guint xid); >void gtk_window_add_embedded_xid (GtkWindow *window, > guint xid); >void gtk_window_reposition (GtkWindow *window, > gint x, > gint y); > > >} ># 31 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkvbox.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkvbox.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkvbox.h" >typedef struct _GtkVBox GtkVBox; >typedef struct _GtkVBoxClass GtkVBoxClass; > >struct _GtkVBox >{ > GtkBox box; >}; > >struct _GtkVBoxClass >{ > GtkBoxClass parent_class; >}; > > >GtkType gtk_vbox_get_type (void); >GtkWidget* gtk_vbox_new (gboolean homogeneous, > gint spacing); > > > >} ># 32 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkpreview.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkpreview.h" >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtkpreview.h" >typedef struct _GtkPreview GtkPreview; >typedef struct _GtkPreviewInfo GtkPreviewInfo; >typedef union _GtkDitherInfo GtkDitherInfo; >typedef struct _GtkPreviewClass GtkPreviewClass; > >struct _GtkPreview >{ > GtkWidget widget; > > guchar *buffer; > guint16 buffer_width; > guint16 buffer_height; > > guint16 bpp; > guint16 rowstride; > > GdkRgbDither dither; > > guint type : 1; > guint expand : 1; >}; > >struct _GtkPreviewInfo >{ > GdkVisual *visual; > GdkColormap *cmap; > > guchar *lookup; > > gdouble gamma; >}; > >union _GtkDitherInfo >{ > gushort s[2]; > guchar c[4]; >}; > >struct _GtkPreviewClass >{ > GtkWidgetClass parent_class; > > GtkPreviewInfo info; > >}; > > >GtkType gtk_preview_get_type (void); >void gtk_preview_uninit (void); >GtkWidget* gtk_preview_new (GtkPreviewType type); >void gtk_preview_size (GtkPreview *preview, > gint width, > gint height); >void gtk_preview_put (GtkPreview *preview, > GdkWindow *window, > GdkGC *gc, > gint srcx, > gint srcy, > gint destx, > gint desty, > gint width, > gint height); >void gtk_preview_draw_row (GtkPreview *preview, > guchar *data, > gint x, > gint y, > gint w); >void gtk_preview_set_expand (GtkPreview *preview, > gboolean expand); > >void gtk_preview_set_gamma (double gamma); >void gtk_preview_set_color_cube (guint nred_shades, > guint ngreen_shades, > guint nblue_shades, > guint ngray_shades); >void gtk_preview_set_install_cmap (gint install_cmap); >void gtk_preview_set_reserved (gint nreserved); >void gtk_preview_set_dither (GtkPreview *preview, > GdkRgbDither dither); >GdkVisual* gtk_preview_get_visual (void); >GdkColormap* gtk_preview_get_cmap (void); >GtkPreviewInfo* gtk_preview_get_info (void); > > > > > > >void gtk_preview_reset (void); > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkentry.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkentry.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkeditable.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkeditable.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkeditable.h" >typedef struct _GtkEditable GtkEditable; >typedef struct _GtkEditableClass GtkEditableClass; > >typedef void (*GtkTextFunction) (GtkEditable *editable, guint32 time); > >struct _GtkEditable >{ > GtkWidget widget; > > > guint current_pos; > > guint selection_start_pos; > guint selection_end_pos; > guint has_selection : 1; > > > guint editable : 1; > guint visible : 1; > GdkIC *ic; > GdkICAttr *ic_attr; > > gchar *clipboard_text; >}; > >struct _GtkEditableClass >{ > GtkWidgetClass parent_class; > > > void (* changed) (GtkEditable *editable); > void (* insert_text) (GtkEditable *editable, > const gchar *text, > gint length, > gint *position); > void (* delete_text) (GtkEditable *editable, > gint start_pos, > gint end_pos); > > > void (* activate) (GtkEditable *editable); > void (* set_editable) (GtkEditable *editable, > gboolean is_editable); > void (* move_cursor) (GtkEditable *editable, > gint x, > gint y); > void (* move_word) (GtkEditable *editable, > gint n); > void (* move_page) (GtkEditable *editable, > gint x, > gint y); > void (* move_to_row) (GtkEditable *editable, > gint row); > void (* move_to_column) (GtkEditable *editable, > gint row); > void (* kill_char) (GtkEditable *editable, > gint direction); > void (* kill_word) (GtkEditable *editable, > gint direction); > void (* kill_line) (GtkEditable *editable, > gint direction); > void (* cut_clipboard) (GtkEditable *editable); > void (* copy_clipboard) (GtkEditable *editable); > void (* paste_clipboard) (GtkEditable *editable); > > > > > > > void (* update_text) (GtkEditable *editable, > gint start_pos, > gint end_pos); > gchar* (* get_chars) (GtkEditable *editable, > gint start_pos, > gint end_pos); > void (* set_selection)(GtkEditable *editable, > gint start_pos, > gint end_pos); > void (* set_position) (GtkEditable *editable, > gint position); >}; > >GtkType gtk_editable_get_type (void); >void gtk_editable_select_region (GtkEditable *editable, > gint start, > gint end); >void gtk_editable_insert_text (GtkEditable *editable, > const gchar *new_text, > gint new_text_length, > gint *position); >void gtk_editable_delete_text (GtkEditable *editable, > gint start_pos, > gint end_pos); >gchar* gtk_editable_get_chars (GtkEditable *editable, > gint start_pos, > gint end_pos); >void gtk_editable_cut_clipboard (GtkEditable *editable); >void gtk_editable_copy_clipboard (GtkEditable *editable); >void gtk_editable_paste_clipboard (GtkEditable *editable); >void gtk_editable_claim_selection (GtkEditable *editable, > gboolean claim, > guint32 time); >void gtk_editable_delete_selection (GtkEditable *editable); > >void gtk_editable_changed (GtkEditable *editable); >void gtk_editable_set_position (GtkEditable *editable, > gint position); >gint gtk_editable_get_position (GtkEditable *editable); >void gtk_editable_set_editable (GtkEditable *editable, > gboolean is_editable); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkentry.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkentry.h" >typedef struct _GtkEntry GtkEntry; >typedef struct _GtkEntryClass GtkEntryClass; > >struct _GtkEntry >{ > GtkEditable editable; > > GdkWindow *text_area; > GdkPixmap *backing_pixmap; > GdkCursor *cursor; > GdkWChar *text; > > guint16 text_size; > guint16 text_length; > guint16 text_max_length; > gint scroll_offset; > guint visible : 1; > guint32 timer; > guint button; > > > > gint *char_offset; > > > gchar *text_mb; > > guint text_mb_dirty : 1; > > > guint use_wchar : 1; >}; > >struct _GtkEntryClass >{ > GtkEditableClass parent_class; >}; > >GtkType gtk_entry_get_type (void); >GtkWidget* gtk_entry_new (void); >GtkWidget* gtk_entry_new_with_max_length (guint16 max); >void gtk_entry_set_text (GtkEntry *entry, > const gchar *text); >void gtk_entry_append_text (GtkEntry *entry, > const gchar *text); >void gtk_entry_prepend_text (GtkEntry *entry, > const gchar *text); >void gtk_entry_set_position (GtkEntry *entry, > gint position); > >gchar* gtk_entry_get_text (GtkEntry *entry); >void gtk_entry_select_region (GtkEntry *entry, > gint start, > gint end); >void gtk_entry_set_visibility (GtkEntry *entry, > gboolean visible); >void gtk_entry_set_editable (GtkEntry *entry, > gboolean editable); > >void gtk_entry_set_max_length (GtkEntry *entry, > guint16 max); > > >} ># 36 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkhbox.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkhbox.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkhbox.h" >typedef struct _GtkHBox GtkHBox; >typedef struct _GtkHBoxClass GtkHBoxClass; > >struct _GtkHBox >{ > GtkBox box; >}; > >struct _GtkHBoxClass >{ > GtkBoxClass parent_class; >}; > > >GtkType gtk_hbox_get_type (void); >GtkWidget* gtk_hbox_new (gboolean homogeneous, > gint spacing); > > > >} ># 37 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkmain.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkmain.h" >extern "C" { ># 51 "/usr/include/gtk-1.2/gtk/gtkmain.h" >typedef void (*GtkModuleInitFunc) (gint *argc, > gchar ***argv); >typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget, > GdkEventKey *event, > gpointer func_data); > > > >extern const guint gtk_major_version; >extern const guint gtk_minor_version; >extern const guint gtk_micro_version; >extern const guint gtk_binary_age; >extern const guint gtk_interface_age; >gchar* gtk_check_version (guint required_major, > guint required_minor, > guint required_micro); > > > > >void gtk_init (int *argc, > char ***argv); >gboolean gtk_init_check (int *argc, > char ***argv); >void gtk_exit (gint error_code); >gchar* gtk_set_locale (void); >gint gtk_events_pending (void); > > > > > >void gtk_main_do_event (GdkEvent *event); > >void gtk_main (void); >guint gtk_main_level (void); >void gtk_main_quit (void); >gint gtk_main_iteration (void); > >gint gtk_main_iteration_do (gboolean blocking); > >gint gtk_true (void); >gint gtk_false (void); > >void gtk_grab_add (GtkWidget *widget); >GtkWidget* gtk_grab_get_current (void); >void gtk_grab_remove (GtkWidget *widget); > >void gtk_init_add (GtkFunction function, > gpointer data); >void gtk_quit_add_destroy (guint main_level, > GtkObject *object); >guint gtk_quit_add (guint main_level, > GtkFunction function, > gpointer data); >guint gtk_quit_add_full (guint main_level, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_quit_remove (guint quit_handler_id); >void gtk_quit_remove_by_data (gpointer data); >guint gtk_timeout_add (guint32 interval, > GtkFunction function, > gpointer data); >guint gtk_timeout_add_full (guint32 interval, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_timeout_remove (guint timeout_handler_id); > >guint gtk_idle_add (GtkFunction function, > gpointer data); >guint gtk_idle_add_priority (gint priority, > GtkFunction function, > gpointer data); >guint gtk_idle_add_full (gint priority, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_idle_remove (guint idle_handler_id); >void gtk_idle_remove_by_data (gpointer data); >guint gtk_input_add_full (gint source, > GdkInputCondition condition, > GdkInputFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_input_remove (guint input_handler_id); > > >guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, > gpointer func_data); >void gtk_key_snooper_remove (guint snooper_handler_id); > >GdkEvent* gtk_get_current_event (void); >GtkWidget* gtk_get_event_widget (GdkEvent *event); > > > > >void gtk_propagate_event (GtkWidget *widget, > GdkEvent *event); > > >} ># 39 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 > > > ># 1 "/usr/include/gtk-1.2/gtk/gtkscale.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkscale.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkscale.h" >typedef struct _GtkScale GtkScale; >typedef struct _GtkScaleClass GtkScaleClass; > >struct _GtkScale >{ > GtkRange range; > > guint draw_value : 1; > guint value_pos : 2; >}; > >struct _GtkScaleClass >{ > GtkRangeClass parent_class; > > gint slider_length; > gint value_spacing; > > void (* draw_value) (GtkScale *scale); >}; > > >GtkType gtk_scale_get_type (void); >void gtk_scale_set_digits (GtkScale *scale, > gint digits); >void gtk_scale_set_draw_value (GtkScale *scale, > gboolean draw_value); >void gtk_scale_set_value_pos (GtkScale *scale, > GtkPositionType pos); >gint gtk_scale_get_value_width (GtkScale *scale); > >void gtk_scale_draw_value (GtkScale *scale); > > > >} ># 43 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkhscale.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkhscale.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkhscale.h" >typedef struct _GtkHScale GtkHScale; >typedef struct _GtkHScaleClass GtkHScaleClass; > >struct _GtkHScale >{ > GtkScale scale; >}; > >struct _GtkHScaleClass >{ > GtkScaleClass parent_class; >}; > > >GtkType gtk_hscale_get_type (void); >GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment); > > > >} ># 44 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtktable.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtktable.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtktable.h" >typedef struct _GtkTable GtkTable; >typedef struct _GtkTableClass GtkTableClass; >typedef struct _GtkTableChild GtkTableChild; >typedef struct _GtkTableRowCol GtkTableRowCol; > >struct _GtkTable >{ > GtkContainer container; > > GList *children; > GtkTableRowCol *rows; > GtkTableRowCol *cols; > guint16 nrows; > guint16 ncols; > guint16 column_spacing; > guint16 row_spacing; > guint homogeneous : 1; >}; > >struct _GtkTableClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkTableChild >{ > GtkWidget *widget; > guint16 left_attach; > guint16 right_attach; > guint16 top_attach; > guint16 bottom_attach; > guint16 xpadding; > guint16 ypadding; > guint xexpand : 1; > guint yexpand : 1; > guint xshrink : 1; > guint yshrink : 1; > guint xfill : 1; > guint yfill : 1; >}; > >struct _GtkTableRowCol >{ > guint16 requisition; > guint16 allocation; > guint16 spacing; > guint need_expand : 1; > guint need_shrink : 1; > guint expand : 1; > guint shrink : 1; > guint empty : 1; >}; > > >GtkType gtk_table_get_type (void); >GtkWidget* gtk_table_new (guint rows, > guint columns, > gboolean homogeneous); >void gtk_table_resize (GtkTable *table, > guint rows, > guint columns); >void gtk_table_attach (GtkTable *table, > GtkWidget *child, > guint left_attach, > guint right_attach, > guint top_attach, > guint bottom_attach, > GtkAttachOptions xoptions, > GtkAttachOptions yoptions, > guint xpadding, > guint ypadding); >void gtk_table_attach_defaults (GtkTable *table, > GtkWidget *widget, > guint left_attach, > guint right_attach, > guint top_attach, > guint bottom_attach); >void gtk_table_set_row_spacing (GtkTable *table, > guint row, > guint spacing); >void gtk_table_set_col_spacing (GtkTable *table, > guint column, > guint spacing); >void gtk_table_set_row_spacings (GtkTable *table, > guint spacing); >void gtk_table_set_col_spacings (GtkTable *table, > guint spacing); >void gtk_table_set_homogeneous (GtkTable *table, > gboolean homogeneous); > > > >} ># 45 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkeventbox.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkeventbox.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkeventbox.h" >typedef struct _GtkEventBox GtkEventBox; >typedef struct _GtkEventBoxClass GtkEventBoxClass; > >struct _GtkEventBox >{ > GtkBin bin; >}; > >struct _GtkEventBoxClass >{ > GtkBinClass parent_class; >}; > >GtkType gtk_event_box_get_type (void); >GtkWidget* gtk_event_box_new (void); > > >} ># 46 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" 2 > > > >extern "C" { ># 65 "/usr/include/gtk-1.2/gtk/gtkcolorsel.h" >typedef struct _GtkColorSelection GtkColorSelection; >typedef struct _GtkColorSelectionClass GtkColorSelectionClass; > >typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog; >typedef struct _GtkColorSelectionDialogClass GtkColorSelectionDialogClass; > > >struct _GtkColorSelection >{ > GtkVBox vbox; > > GtkWidget *wheel_area; > GtkWidget *value_area; > GtkWidget *sample_area; > GtkWidget *sample_area_eb; > > GtkWidget *scales[8]; > GtkWidget *entries[8]; > GtkWidget *opacity_label; > > GdkGC *wheel_gc; > GdkGC *value_gc; > GdkGC *sample_gc; > > GtkUpdateType policy; > gint use_opacity; > gint timer_active; > gint timer_tag; > gdouble values[8]; > gdouble old_values[8]; > > guchar *wheel_buf; > guchar *value_buf; > guchar *sample_buf; >}; > >struct _GtkColorSelectionClass >{ > GtkVBoxClass parent_class; > > void (* color_changed) (GtkColorSelection *colorsel); >}; > >struct _GtkColorSelectionDialog >{ > GtkWindow window; > > GtkWidget *colorsel; > GtkWidget *main_vbox; > GtkWidget *ok_button; > GtkWidget *reset_button; > GtkWidget *cancel_button; > GtkWidget *help_button; >}; > >struct _GtkColorSelectionDialogClass >{ > GtkWindowClass parent_class; >}; > > > > >GtkType gtk_color_selection_get_type (void); > >GtkWidget* gtk_color_selection_new (void); > >void gtk_color_selection_set_update_policy (GtkColorSelection *colorsel, > GtkUpdateType policy); > >void gtk_color_selection_set_opacity (GtkColorSelection *colorsel, > gint use_opacity); > >void gtk_color_selection_set_color (GtkColorSelection *colorsel, > gdouble *color); > >void gtk_color_selection_get_color (GtkColorSelection *colorsel, > gdouble *color); > > > >GtkType gtk_color_selection_dialog_get_type (void); > >GtkWidget* gtk_color_selection_dialog_new (const gchar *title); > > > >} ># 49 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcombo.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtkcombo.h" >extern "C" { > > > > > > >typedef struct _GtkCombo GtkCombo; >typedef struct _GtkComboClass GtkComboClass; > > >struct _GtkCombo { > GtkHBox hbox; > GtkWidget *entry; > GtkWidget *button; > GtkWidget *popup; > GtkWidget *popwin; > GtkWidget *list; > > guint entry_change_id; > guint list_change_id; > > guint value_in_list:1; > guint ok_if_empty:1; > guint case_sensitive:1; > guint use_arrows:1; > guint use_arrows_always:1; > > guint16 current_button; > guint activate_id; >}; > >struct _GtkComboClass { > GtkHBoxClass parent_class; >}; > >guint gtk_combo_get_type (void); > >GtkWidget *gtk_combo_new (void); > >void gtk_combo_set_value_in_list (GtkCombo* combo, > gint val, > gint ok_if_empty); > >void gtk_combo_set_use_arrows (GtkCombo* combo, > gint val); > >void gtk_combo_set_use_arrows_always (GtkCombo* combo, > gint val); > >void gtk_combo_set_case_sensitive (GtkCombo* combo, > gint val); > > >void gtk_combo_set_item_string (GtkCombo* combo, > GtkItem* item, > const gchar* item_value); > >void gtk_combo_set_popdown_strings (GtkCombo* combo, > GList *strings); > >void gtk_combo_disable_activate (GtkCombo* combo); > > >} ># 50 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcompat.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkcompat.h" >extern "C" { ># 61 "/usr/include/gtk-1.2/gtk/gtkcompat.h" >} ># 51 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkctree.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkctree.h" >extern "C" { ># 52 "/usr/include/gtk-1.2/gtk/gtkctree.h" >typedef enum >{ > GTK_CTREE_POS_BEFORE, > GTK_CTREE_POS_AS_CHILD, > GTK_CTREE_POS_AFTER >} GtkCTreePos; > >typedef enum >{ > GTK_CTREE_LINES_NONE, > GTK_CTREE_LINES_SOLID, > GTK_CTREE_LINES_DOTTED, > GTK_CTREE_LINES_TABBED >} GtkCTreeLineStyle; > >typedef enum >{ > GTK_CTREE_EXPANDER_NONE, > GTK_CTREE_EXPANDER_SQUARE, > GTK_CTREE_EXPANDER_TRIANGLE, > GTK_CTREE_EXPANDER_CIRCULAR >} GtkCTreeExpanderStyle; > >typedef enum >{ > GTK_CTREE_EXPANSION_EXPAND, > GTK_CTREE_EXPANSION_EXPAND_RECURSIVE, > GTK_CTREE_EXPANSION_COLLAPSE, > GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE, > GTK_CTREE_EXPANSION_TOGGLE, > GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE >} GtkCTreeExpansionType; > >typedef struct _GtkCTree GtkCTree; >typedef struct _GtkCTreeClass GtkCTreeClass; >typedef struct _GtkCTreeRow GtkCTreeRow; >typedef struct _GtkCTreeNode GtkCTreeNode; > >typedef void (*GtkCTreeFunc) (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); > >typedef gboolean (*GtkCTreeGNodeFunc) (GtkCTree *ctree, > guint depth, > GNode *gnode, > GtkCTreeNode *cnode, > gpointer data); > >typedef gboolean (*GtkCTreeCompareDragFunc) (GtkCTree *ctree, > GtkCTreeNode *source_node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); > >struct _GtkCTree >{ > GtkCList clist; > > GdkGC *lines_gc; > > gint tree_indent; > gint tree_spacing; > gint tree_column; > > guint line_style : 2; > guint expander_style : 2; > guint show_stub : 1; > > GtkCTreeCompareDragFunc drag_compare; >}; > >struct _GtkCTreeClass >{ > GtkCListClass parent_class; > > void (*tree_select_row) (GtkCTree *ctree, > GtkCTreeNode *row, > gint column); > void (*tree_unselect_row) (GtkCTree *ctree, > GtkCTreeNode *row, > gint column); > void (*tree_expand) (GtkCTree *ctree, > GtkCTreeNode *node); > void (*tree_collapse) (GtkCTree *ctree, > GtkCTreeNode *node); > void (*tree_move) (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); > void (*change_focus_row_expansion) (GtkCTree *ctree, > GtkCTreeExpansionType action); >}; > >struct _GtkCTreeRow >{ > GtkCListRow row; > > GtkCTreeNode *parent; > GtkCTreeNode *sibling; > GtkCTreeNode *children; > > GdkPixmap *pixmap_closed; > GdkBitmap *mask_closed; > GdkPixmap *pixmap_opened; > GdkBitmap *mask_opened; > > guint16 level; > > guint is_leaf : 1; > guint expanded : 1; >}; > >struct _GtkCTreeNode { > GList list; >}; > > > > > > >GtkType gtk_ctree_get_type (void); >void gtk_ctree_construct (GtkCTree *ctree, > gint columns, > gint tree_column, > gchar *titles[]); >GtkWidget * gtk_ctree_new_with_titles (gint columns, > gint tree_column, > gchar *titles[]); >GtkWidget * gtk_ctree_new (gint columns, > gint tree_column); >GtkCTreeNode * gtk_ctree_insert_node (GtkCTree *ctree, > GtkCTreeNode *parent, > GtkCTreeNode *sibling, > gchar *text[], > guint8 spacing, > GdkPixmap *pixmap_closed, > GdkBitmap *mask_closed, > GdkPixmap *pixmap_opened, > GdkBitmap *mask_opened, > gboolean is_leaf, > gboolean expanded); >void gtk_ctree_remove_node (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_insert_gnode (GtkCTree *ctree, > GtkCTreeNode *parent, > GtkCTreeNode *sibling, > GNode *gnode, > GtkCTreeGNodeFunc func, > gpointer data); >GNode * gtk_ctree_export_to_gnode (GtkCTree *ctree, > GNode *parent, > GNode *sibling, > GtkCTreeNode *node, > GtkCTreeGNodeFunc func, > gpointer data); > > > > > > >void gtk_ctree_post_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_post_recursive_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_pre_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_pre_recursive_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth, > GtkCTreeFunc func, > gpointer data); >gboolean gtk_ctree_is_viewable (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_last (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_find_node_ptr (GtkCTree *ctree, > GtkCTreeRow *ctree_row); >GtkCTreeNode * gtk_ctree_node_nth (GtkCTree *ctree, > guint row); >gboolean gtk_ctree_find (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *child); >gboolean gtk_ctree_is_ancestor (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *child); >GtkCTreeNode * gtk_ctree_find_by_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); > >GList * gtk_ctree_find_all_by_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); >GtkCTreeNode * gtk_ctree_find_by_row_data_custom (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GCompareFunc func); > >GList * gtk_ctree_find_all_by_row_data_custom (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GCompareFunc func); >gboolean gtk_ctree_is_hot_spot (GtkCTree *ctree, > gint x, > gint y); > > > > > >void gtk_ctree_move (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); >void gtk_ctree_expand (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_expand_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_expand_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth); >void gtk_ctree_collapse (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_collapse_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_collapse_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth); >void gtk_ctree_toggle_expansion (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_toggle_expansion_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_select (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_select_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_unselect (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_unselect_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_real_select_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > gint state); > > > > > >void gtk_ctree_node_set_text (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > const gchar *text); >void gtk_ctree_node_set_pixmap (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_ctree_node_set_pixtext (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_ctree_set_node_info (GtkCTree *ctree, > GtkCTreeNode *node, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap_closed, > GdkBitmap *mask_closed, > GdkPixmap *pixmap_opened, > GdkBitmap *mask_opened, > gboolean is_leaf, > gboolean expanded); >void gtk_ctree_node_set_shift (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gint vertical, > gint horizontal); >void gtk_ctree_node_set_selectable (GtkCTree *ctree, > GtkCTreeNode *node, > gboolean selectable); >gboolean gtk_ctree_node_get_selectable (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCellType gtk_ctree_node_get_cell_type (GtkCTree *ctree, > GtkCTreeNode *node, > gint column); >gint gtk_ctree_node_get_text (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gchar **text); >gint gtk_ctree_node_get_pixmap (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GdkPixmap **pixmap, > GdkBitmap **mask); >gint gtk_ctree_node_get_pixtext (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap, > GdkBitmap **mask); >gint gtk_ctree_get_node_info (GtkCTree *ctree, > GtkCTreeNode *node, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap_closed, > GdkBitmap **mask_closed, > GdkPixmap **pixmap_opened, > GdkBitmap **mask_opened, > gboolean *is_leaf, > gboolean *expanded); >void gtk_ctree_node_set_row_style (GtkCTree *ctree, > GtkCTreeNode *node, > GtkStyle *style); >GtkStyle * gtk_ctree_node_get_row_style (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_node_set_cell_style (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GtkStyle *style); >GtkStyle * gtk_ctree_node_get_cell_style (GtkCTree *ctree, > GtkCTreeNode *node, > gint column); >void gtk_ctree_node_set_foreground (GtkCTree *ctree, > GtkCTreeNode *node, > GdkColor *color); >void gtk_ctree_node_set_background (GtkCTree *ctree, > GtkCTreeNode *node, > GdkColor *color); >void gtk_ctree_node_set_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); >void gtk_ctree_node_set_row_data_full (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GtkDestroyNotify destroy); >gpointer gtk_ctree_node_get_row_data (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_node_moveto (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gfloat row_align, > gfloat col_align); >GtkVisibility gtk_ctree_node_is_visible (GtkCTree *ctree, > GtkCTreeNode *node); > > > > > >void gtk_ctree_set_indent (GtkCTree *ctree, > gint indent); >void gtk_ctree_set_spacing (GtkCTree *ctree, > gint spacing); >void gtk_ctree_set_show_stub (GtkCTree *ctree, > gboolean show_stub); >void gtk_ctree_set_line_style (GtkCTree *ctree, > GtkCTreeLineStyle line_style); >void gtk_ctree_set_expander_style (GtkCTree *ctree, > GtkCTreeExpanderStyle expander_style); >void gtk_ctree_set_drag_compare_func (GtkCTree *ctree, > GtkCTreeCompareDragFunc cmp_func); > > > > > >void gtk_ctree_sort_node (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_sort_recursive (GtkCTree *ctree, > GtkCTreeNode *node); > > > > >} ># 53 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkcurve.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkcurve.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkdrawingarea.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkdrawingarea.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkdrawingarea.h" >typedef struct _GtkDrawingArea GtkDrawingArea; >typedef struct _GtkDrawingAreaClass GtkDrawingAreaClass; > >struct _GtkDrawingArea >{ > GtkWidget widget; > > gpointer draw_data; >}; > >struct _GtkDrawingAreaClass >{ > GtkWidgetClass parent_class; >}; > > >GtkType gtk_drawing_area_get_type (void); >GtkWidget* gtk_drawing_area_new (void); >void gtk_drawing_area_size (GtkDrawingArea *darea, > gint width, > gint height); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkcurve.h" 2 > > >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtkcurve.h" >typedef struct _GtkCurve GtkCurve; >typedef struct _GtkCurveClass GtkCurveClass; > > >struct _GtkCurve >{ > GtkDrawingArea graph; > > gint cursor_type; > gfloat min_x; > gfloat max_x; > gfloat min_y; > gfloat max_y; > GdkPixmap *pixmap; > GtkCurveType curve_type; > gint height; > gint grab_point; > gint last; > > > gint num_points; > GdkPoint *point; > > > gint num_ctlpoints; > gfloat (*ctlpoint)[2]; >}; > >struct _GtkCurveClass >{ > GtkDrawingAreaClass parent_class; > > void (* curve_type_changed) (GtkCurve *curve); >}; > > >GtkType gtk_curve_get_type (void); >GtkWidget* gtk_curve_new (void); >void gtk_curve_reset (GtkCurve *curve); >void gtk_curve_set_gamma (GtkCurve *curve, gfloat gamma); >void gtk_curve_set_range (GtkCurve *curve, > gfloat min_x, gfloat max_x, > gfloat min_y, gfloat max_y); >void gtk_curve_get_vector (GtkCurve *curve, > int veclen, gfloat vector[]); >void gtk_curve_set_vector (GtkCurve *curve, > int veclen, gfloat vector[]); >void gtk_curve_set_curve_type (GtkCurve *curve, GtkCurveType type); > > > >} ># 54 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkdialog.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkdialog.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkdialog.h" >typedef struct _GtkDialog GtkDialog; >typedef struct _GtkDialogClass GtkDialogClass; >typedef struct _GtkDialogButton GtkDialogButton; > > >struct _GtkDialog >{ > GtkWindow window; > > GtkWidget *vbox; > GtkWidget *action_area; >}; > >struct _GtkDialogClass >{ > GtkWindowClass parent_class; >}; > > >GtkType gtk_dialog_get_type (void); >GtkWidget* gtk_dialog_new (void); > > > >} ># 56 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkdnd.h" 1 ># 33 "/usr/include/gtk-1.2/gtk/gtkdnd.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkselection.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkselection.h" >extern "C" { > > >typedef struct _GtkSelectionData GtkSelectioData; >typedef struct _GtkTargetList GtkTargetList; >typedef struct _GtkTargetEntry GtkTargetEntry; > >struct _GtkTargetEntry { > gchar *target; > guint flags; > guint info; >}; > > > > > >typedef struct _GtkTargetPair GtkTargetPair; > > >struct _GtkTargetList { > GList *list; > guint ref_count; >}; > >struct _GtkTargetPair { > GdkAtom target; > guint flags; > guint info; >}; > >GtkTargetList *gtk_target_list_new (const GtkTargetEntry *targets, > guint ntargets); >void gtk_target_list_ref (GtkTargetList *list); >void gtk_target_list_unref (GtkTargetList *list); >void gtk_target_list_add (GtkTargetList *list, > GdkAtom target, > guint flags, > guint info); >void gtk_target_list_add_table (GtkTargetList *list, > const GtkTargetEntry *targets, > guint ntargets); >void gtk_target_list_remove (GtkTargetList *list, > GdkAtom target); >gboolean gtk_target_list_find (GtkTargetList *list, > GdkAtom target, > guint *info); > > > >gint gtk_selection_owner_set (GtkWidget *widget, > GdkAtom selection, > guint32 time); >void gtk_selection_add_target (GtkWidget *widget, > GdkAtom selection, > GdkAtom target, > guint info); >void gtk_selection_add_targets (GtkWidget *widget, > GdkAtom selection, > const GtkTargetEntry *targets, > guint ntargets); >gint gtk_selection_convert (GtkWidget *widget, > GdkAtom selection, > GdkAtom target, > guint32 time); > > >void gtk_selection_data_set (GtkSelectionData *selection_data, > GdkAtom type, > gint format, > const guchar *data, > gint length); > > > >void gtk_selection_remove_all (GtkWidget *widget); > > > >gint gtk_selection_clear (GtkWidget *widget, > GdkEventSelection *event); >gint gtk_selection_request (GtkWidget *widget, > GdkEventSelection *event); >gint gtk_selection_incr_event (GdkWindow *window, > GdkEventProperty *event); >gint gtk_selection_notify (GtkWidget *widget, > GdkEventSelection *event); >gint gtk_selection_property_notify (GtkWidget *widget, > GdkEventProperty *event); >GtkSelectioData *gtk_selection_data_copy (GtkSelectionData *data); >void gtk_selection_data_free (GtkSelectionData *data); > > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkdnd.h" 2 > > >extern "C" { > > >typedef enum { > GTK_DEST_DEFAULT_MOTION = 1 << 0, > GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1, > GTK_DEST_DEFAULT_DROP = 1 << 2, > GTK_DEST_DEFAULT_ALL = 0x07 >} GtkDestDefaults; > > > >typedef enum { > GTK_TARGET_SAME_APP = 1 << 0, > GTK_TARGET_SAME_WIDGET = 1 << 1 >} GtkTargetFlags; > > > >void gtk_drag_get_data (GtkWidget *widget, > GdkDragContext *context, > GdkAtom target, > guint32 time); >void gtk_drag_finish (GdkDragContext *context, > gboolean success, > gboolean del, > guint32 time); > >GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); > >void gtk_drag_highlight (GtkWidget *widget); >void gtk_drag_unhighlight (GtkWidget *widget); > >void gtk_drag_dest_set (GtkWidget *widget, > GtkDestDefaults flags, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); > >void gtk_drag_dest_set_proxy (GtkWidget *widget, > GdkWindow *proxy_window, > GdkDragProtocol protocol, > gboolean use_coordinates); > > > > > >void gtk_drag_dest_unset (GtkWidget *widget); > > > >void gtk_drag_source_set (GtkWidget *widget, > GdkModifierType start_button_mask, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); > >void gtk_drag_source_unset (GtkWidget *widget); > >void gtk_drag_source_set_icon (GtkWidget *widget, > GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask); > > > > > >GdkDragContext *gtk_drag_begin (GtkWidget *widget, > GtkTargetList *targets, > GdkDragAction actions, > gint button, > GdkEvent *event); > > > >void gtk_drag_set_icon_widget (GdkDragContext *context, > GtkWidget *widget, > gint hot_x, > gint hot_y); > >void gtk_drag_set_icon_pixmap (GdkDragContext *context, > GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask, > gint hot_x, > gint hot_y); > >void gtk_drag_set_icon_default (GdkDragContext *context); > >void gtk_drag_set_default_icon (GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask, > gint hot_x, > gint hot_y); > > > >void gtk_drag_source_handle_event (GtkWidget *widget, > GdkEvent *event); >void gtk_drag_dest_handle_event (GtkWidget *toplevel, > GdkEvent *event); > > >} ># 57 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > > > > ># 1 "/usr/include/gtk-1.2/gtk/gtkfeatures.h" 1 ># 24 "/usr/include/gtk-1.2/gtk/gtkfeatures.h" >extern "C" { ># 119 "/usr/include/gtk-1.2/gtk/gtkfeatures.h" >} ># 63 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkfilesel.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkfilesel.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkfilesel.h" >typedef struct _GtkFileSelection GtkFileSelection; >typedef struct _GtkFileSelectionClass GtkFileSelectionClass; > >struct _GtkFileSelection >{ > GtkWindow window; > > GtkWidget *dir_list; > GtkWidget *file_list; > GtkWidget *selection_entry; > GtkWidget *selection_text; > GtkWidget *main_vbox; > GtkWidget *ok_button; > GtkWidget *cancel_button; > GtkWidget *help_button; > GtkWidget *history_pulldown; > GtkWidget *history_menu; > GList *history_list; > GtkWidget *fileop_dialog; > GtkWidget *fileop_entry; > gchar *fileop_file; > gpointer cmpl_state; > > GtkWidget *fileop_c_dir; > GtkWidget *fileop_del_file; > GtkWidget *fileop_ren_file; > > GtkWidget *button_area; > GtkWidget *action_area; > >}; > >struct _GtkFileSelectionClass >{ > GtkWindowClass parent_class; >}; > > >GtkType gtk_file_selection_get_type (void); >GtkWidget* gtk_file_selection_new (const gchar *title); >void gtk_file_selection_set_filename (GtkFileSelection *filesel, > const gchar *filename); >gchar* gtk_file_selection_get_filename (GtkFileSelection *filesel); >void gtk_file_selection_complete (GtkFileSelection *filesel, > const gchar *pattern); >void gtk_file_selection_show_fileop_buttons (GtkFileSelection *filesel); >void gtk_file_selection_hide_fileop_buttons (GtkFileSelection *filesel); > > > >} ># 64 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkfixed.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkfixed.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkfixed.h" >typedef struct _GtkFixed GtkFixed; >typedef struct _GtkFixedClass GtkFixedClass; >typedef struct _GtkFixedChild GtkFixedChild; > >struct _GtkFixed >{ > GtkContainer container; > > GList *children; >}; > >struct _GtkFixedClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkFixedChild >{ > GtkWidget *widget; > gint16 x; > gint16 y; >}; > > >GtkType gtk_fixed_get_type (void); >GtkWidget* gtk_fixed_new (void); >void gtk_fixed_put (GtkFixed *fixed, > GtkWidget *widget, > gint16 x, > gint16 y); >void gtk_fixed_move (GtkFixed *fixed, > GtkWidget *widget, > gint16 x, > gint16 y); > > >} ># 65 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" ># 1 "/usr/include/gtk-1.2/gtk/gtknotebook.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtknotebook.h" >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtknotebook.h" >typedef struct _GtkNotebook GtkNotebook; >typedef struct _GtkNotebookClass GtkNotebookClass; >typedef struct _GtkNotebookPage GtkNotebookPage; > >struct _GtkNotebook >{ > GtkContainer container; > > GtkNotebookPage *cur_page; > GList *children; > GList *first_tab; > GList *focus_tab; > > GtkWidget *menu; > GdkWindow *panel; > > guint32 timer; > > guint16 tab_hborder; > guint16 tab_vborder; > > guint show_tabs : 1; > guint homogeneous : 1; > guint show_border : 1; > guint tab_pos : 2; > guint scrollable : 1; > guint in_child : 2; > guint click_child : 2; > guint button : 2; > guint need_timer : 1; > guint child_has_focus : 1; > guint have_visible_child : 1; >}; > >struct _GtkNotebookClass >{ > GtkContainerClass parent_class; > > void (* switch_page) (GtkNotebook *notebook, > GtkNotebookPage *page, > guint page_num); >}; > >struct _GtkNotebookPage >{ > GtkWidget *child; > GtkWidget *tab_label; > GtkWidget *menu_label; > > guint default_menu : 1; > guint default_tab : 1; > guint expand : 1; > guint fill : 1; > guint pack : 1; > > GtkRequisition requisition; > GtkAllocation allocation; >}; > > > > > >GtkType gtk_notebook_get_type (void); >GtkWidget * gtk_notebook_new (void); >void gtk_notebook_append_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >void gtk_notebook_append_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label); >void gtk_notebook_prepend_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >void gtk_notebook_prepend_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label); >void gtk_notebook_insert_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > gint position); >void gtk_notebook_insert_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label, > gint position); >void gtk_notebook_remove_page (GtkNotebook *notebook, > gint page_num); > > > > > >gint gtk_notebook_get_current_page (GtkNotebook *notebook); >GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook, > gint page_num); >gint gtk_notebook_page_num (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_page (GtkNotebook *notebook, > gint page_num); >void gtk_notebook_next_page (GtkNotebook *notebook); >void gtk_notebook_prev_page (GtkNotebook *notebook); > > > > > >void gtk_notebook_set_show_border (GtkNotebook *notebook, > gboolean show_border); >void gtk_notebook_set_show_tabs (GtkNotebook *notebook, > gboolean show_tabs); >void gtk_notebook_set_tab_pos (GtkNotebook *notebook, > GtkPositionType pos); >void gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook, > gboolean homogeneous); >void gtk_notebook_set_tab_border (GtkNotebook *notebook, > guint border_width); >void gtk_notebook_set_tab_hborder (GtkNotebook *notebook, > guint tab_hborder); >void gtk_notebook_set_tab_vborder (GtkNotebook *notebook, > guint tab_vborder); >void gtk_notebook_set_scrollable (GtkNotebook *notebook, > gboolean scrollable); > > > > > >void gtk_notebook_popup_enable (GtkNotebook *notebook); >void gtk_notebook_popup_disable (GtkNotebook *notebook); > > > > > >GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_tab_label (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >void gtk_notebook_set_tab_label_text (GtkNotebook *notebook, > GtkWidget *child, > const gchar *tab_text); >GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_menu_label (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *menu_label); >void gtk_notebook_set_menu_label_text (GtkNotebook *notebook, > GtkWidget *child, > const gchar *menu_text); >void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook, > GtkWidget *child, > gboolean *expand, > gboolean *fill, > GtkPackType *pack_type); >void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook, > GtkWidget *child, > gboolean expand, > gboolean fill, > GtkPackType pack_type); >void gtk_notebook_reorder_child (GtkNotebook *notebook, > GtkWidget *child, > gint position); > > >} ># 38 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" 2 > > > >extern "C" { ># 56 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" >typedef struct _GtkFontSelection GtkFontSelection; >typedef struct _GtkFontSelectionClass GtkFontSelectionClass; > >typedef struct _GtkFontSelectionDialog GtkFontSelectionDialog; >typedef struct _GtkFontSelectionDialogClass GtkFontSelectionDialogClass; ># 76 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" >typedef enum >{ > GTK_FONT_METRIC_PIXELS, > GTK_FONT_METRIC_POINTS >} GtkFontMetricType; > > > >typedef enum >{ > GTK_FONT_BITMAP = 1 << 0, > GTK_FONT_SCALABLE = 1 << 1, > GTK_FONT_SCALABLE_BITMAP = 1 << 2, > > GTK_FONT_ALL = 0x07 >} GtkFontType; > > > > >typedef enum >{ > GTK_FONT_FILTER_BASE, > GTK_FONT_FILTER_USER >} GtkFontFilterType; > > > > >typedef struct _GtkFontFilter GtkFontFilter; >struct _GtkFontFilter >{ > gint font_type; > guint16 *property_filters[6]; > guint16 property_nfilters[6]; >}; > > >struct _GtkFontSelection >{ > GtkNotebook notebook; > > > GtkWidget *main_vbox; > GtkWidget *font_label; > GtkWidget *font_entry; > GtkWidget *font_clist; > GtkWidget *font_style_entry; > GtkWidget *font_style_clist; > GtkWidget *size_entry; > GtkWidget *size_clist; > GtkWidget *pixels_button; > GtkWidget *points_button; > GtkWidget *filter_button; > GtkWidget *preview_entry; > GtkWidget *message_label; > > > GtkWidget *info_vbox; > GtkWidget *info_clist; > GtkWidget *requested_font_name; > GtkWidget *actual_font_name; > > > GtkWidget *filter_vbox; > GtkWidget *type_bitmaps_button; > GtkWidget *type_scalable_button; > GtkWidget *type_scaled_bitmaps_button; > GtkWidget *filter_clists[6]; > > GdkFont *font; > gint font_index; > gint style; > GtkFontMetricType metric; > > gint size; > > > > gint selected_size; > > > > guint16 property_values[5]; > > > GtkFontFilter filters[2]; >}; > > >struct _GtkFontSelectionClass >{ > GtkNotebookClass parent_class; >}; > > >struct _GtkFontSelectionDialog >{ > GtkWindow window; > > GtkWidget *fontsel; > > GtkWidget *main_vbox; > GtkWidget *action_area; > GtkWidget *ok_button; > > GtkWidget *apply_button; > GtkWidget *cancel_button; > > > gint dialog_width; > gboolean auto_resize; >}; > >struct _GtkFontSelectionDialogClass >{ > GtkWindowClass parent_class; >}; ># 202 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" >GtkType gtk_font_selection_get_type (void); >GtkWidget* gtk_font_selection_new (void); >gchar* gtk_font_selection_get_font_name (GtkFontSelection *fontsel); >GdkFont* gtk_font_selection_get_font (GtkFontSelection *fontsel); >gboolean gtk_font_selection_set_font_name (GtkFontSelection *fontsel, > const gchar *fontname); >void gtk_font_selection_set_filter (GtkFontSelection *fontsel, > GtkFontFilterType filter_type, > GtkFontType font_type, > gchar **foundries, > gchar **weights, > gchar **slants, > gchar **setwidths, > gchar **spacings, > gchar **charsets); >gchar* gtk_font_selection_get_preview_text (GtkFontSelection *fontsel); >void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel, > const gchar *text); ># 229 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" >GtkType gtk_font_selection_dialog_get_type (void); >GtkWidget* gtk_font_selection_dialog_new (const gchar *title); > > > > > > >gchar* gtk_font_selection_dialog_get_font_name (GtkFontSelectionDialog *fsd); > > > > >GdkFont* gtk_font_selection_dialog_get_font (GtkFontSelectionDialog *fsd); > > > > > >gboolean gtk_font_selection_dialog_set_font_name (GtkFontSelectionDialog *fsd, > const gchar *fontname); ># 273 "/usr/include/gtk-1.2/gtk/gtkfontsel.h" >void gtk_font_selection_dialog_set_filter (GtkFontSelectionDialog *fsd, > GtkFontFilterType filter_type, > GtkFontType font_type, > gchar **foundries, > gchar **weights, > gchar **slants, > gchar **setwidths, > gchar **spacings, > gchar **charsets); > > > >gchar* gtk_font_selection_dialog_get_preview_text (GtkFontSelectionDialog *fsd); > > > >void gtk_font_selection_dialog_set_preview_text (GtkFontSelectionDialog *fsd, > const gchar *text); > > > >} ># 66 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkgamma.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkgamma.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkgamma.h" >typedef struct _GtkGammaCurve GtkGammaCurve; >typedef struct _GtkGammaCurveClass GtkGammaCurveClass; > > >struct _GtkGammaCurve >{ > GtkVBox vbox; > > GtkWidget *table; > GtkWidget *curve; > GtkWidget *button[5]; > > gfloat gamma; > GtkWidget *gamma_dialog; > GtkWidget *gamma_text; >}; > >struct _GtkGammaCurveClass >{ > GtkVBoxClass parent_class; >}; > > >guint gtk_gamma_curve_get_type (void); >GtkWidget* gtk_gamma_curve_new (void); > > > >} ># 68 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkgc.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkgc.h" >extern "C" { > > > >GdkGC* gtk_gc_get (gint depth, > GdkColormap *colormap, > GdkGCValues *values, > GdkGCValuesMask values_mask); >void gtk_gc_release (GdkGC *gc); > > > >} ># 69 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkhandlebox.h" 1 ># 42 "/usr/include/gtk-1.2/gtk/gtkhandlebox.h" >extern "C" { ># 53 "/usr/include/gtk-1.2/gtk/gtkhandlebox.h" >typedef struct _GtkHandleBox GtkHandleBox; >typedef struct _GtkHandleBoxClass GtkHandleBoxClass; > >struct _GtkHandleBox >{ > GtkBin bin; > > GdkWindow *bin_window; > GdkWindow *float_window; > GtkShadowType shadow_type; > guint handle_position : 2; > guint float_window_mapped : 1; > guint child_detached : 1; > guint in_drag : 1; > guint shrink_on_detach : 1; > > gint snap_edge : 3; > > > > gint deskoff_x, deskoff_y; > > GtkAllocation attach_allocation; > GtkAllocation float_allocation; >}; > >struct _GtkHandleBoxClass >{ > GtkBinClass parent_class; > > void (*child_attached) (GtkHandleBox *handle_box, > GtkWidget *child); > void (*child_detached) (GtkHandleBox *handle_box, > GtkWidget *child); >}; > > >GtkType gtk_handle_box_get_type (void); >GtkWidget* gtk_handle_box_new (void); >void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box, > GtkShadowType type); >void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box, > GtkPositionType position); >void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box, > GtkPositionType edge); > > > > >} ># 70 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkhbbox.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkhbbox.h" >extern "C" { ># 44 "/usr/include/gtk-1.2/gtk/gtkhbbox.h" >typedef struct _GtkHButtonBox GtkHButtonBox; >typedef struct _GtkHButtonBoxClass GtkHButtonBoxClass; > >struct _GtkHButtonBox >{ > GtkButtonBox button_box; >}; > >struct _GtkHButtonBoxClass >{ > GtkButtonBoxClass parent_class; >}; > > >guint gtk_hbutton_box_get_type (void); >GtkWidget *gtk_hbutton_box_new (void); > > > >gint gtk_hbutton_box_get_spacing_default (void); >GtkButtonBoxStyle gtk_hbutton_box_get_layout_default (void); > >void gtk_hbutton_box_set_spacing_default (gint spacing); >void gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout); > > > >} ># 72 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkhpaned.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkhpaned.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkpaned.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkpaned.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkpaned.h" >typedef struct _GtkPaned GtkPaned; >typedef struct _GtkPanedClass GtkPanedClass; > >struct _GtkPaned >{ > GtkContainer container; > > GtkWidget *child1; > GtkWidget *child2; > > GdkWindow *handle; > GdkRectangle groove_rectangle; > GdkGC *xor_gc; > > > guint16 handle_size; > guint16 gutter_size; > > > gint child1_size; > gint last_allocation; > gint min_position; > gint max_position; > > guint position_set : 1; > guint in_drag : 1; > guint child1_shrink : 1; > guint child1_resize : 1; > guint child2_shrink : 1; > guint child2_resize : 1; > > gint16 handle_xpos; > gint16 handle_ypos; >}; > >struct _GtkPanedClass >{ > GtkContainerClass parent_class; >}; > > >GtkType gtk_paned_get_type (void); >void gtk_paned_add1 (GtkPaned *paned, > GtkWidget *child); >void gtk_paned_add2 (GtkPaned *paned, > GtkWidget *child); >void gtk_paned_pack1 (GtkPaned *paned, > GtkWidget *child, > gboolean resize, > gboolean shrink); >void gtk_paned_pack2 (GtkPaned *paned, > GtkWidget *child, > gboolean resize, > gboolean shrink); >void gtk_paned_set_position (GtkPaned *paned, > gint position); >void gtk_paned_set_handle_size (GtkPaned *paned, > guint16 size); >void gtk_paned_set_gutter_size (GtkPaned *paned, > guint16 size); > > >void gtk_paned_compute_position (GtkPaned *paned, > gint allocation, > gint child1_req, > gint child2_req); > >gboolean _gtk_paned_is_handle_full_size (GtkPaned *paned); >void _gtk_paned_get_handle_rect (GtkPaned *paned, > GdkRectangle *rectangle); >gint _gtk_paned_get_gutter_size (GtkPaned *paned); > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkhpaned.h" 2 > > > >extern "C" { ># 45 "/usr/include/gtk-1.2/gtk/gtkhpaned.h" >typedef struct _GtkHPaned GtkHPaned; >typedef struct _GtkHPanedClass GtkHPanedClass; > >struct _GtkHPaned >{ > GtkPaned paned; >}; > >struct _GtkHPanedClass >{ > GtkPanedClass parent_class; >}; > > >guint gtk_hpaned_get_type (void); >GtkWidget* gtk_hpaned_new (void); > > > >} ># 73 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkhruler.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkhruler.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkruler.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkruler.h" >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtkruler.h" >typedef struct _GtkRuler GtkRuler; >typedef struct _GtkRulerClass GtkRulerClass; >typedef struct _GtkRulerMetric GtkRulerMetric; > > > > >struct _GtkRuler >{ > GtkWidget widget; > > GdkPixmap *backing_store; > GdkGC *non_gr_exp_gc; > GtkRulerMetric *metric; > gint xsrc, ysrc; > gint slider_size; > > > gfloat lower; > > gfloat upper; > > gfloat position; > > gfloat max_size; >}; > >struct _GtkRulerClass >{ > GtkWidgetClass parent_class; > > void (* draw_ticks) (GtkRuler *ruler); > void (* draw_pos) (GtkRuler *ruler); >}; > >struct _GtkRulerMetric >{ > gchar *metric_name; > gchar *abbrev; > > > gfloat pixels_per_unit; > gfloat ruler_scale[10]; > gint subdivide[5]; >}; > > >GtkType gtk_ruler_get_type (void); >void gtk_ruler_set_metric (GtkRuler *ruler, > GtkMetricType metric); >void gtk_ruler_set_range (GtkRuler *ruler, > gfloat lower, > gfloat upper, > gfloat position, > gfloat max_size); >void gtk_ruler_draw_ticks (GtkRuler *ruler); >void gtk_ruler_draw_pos (GtkRuler *ruler); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkhruler.h" 2 > > > >extern "C" { ># 45 "/usr/include/gtk-1.2/gtk/gtkhruler.h" >typedef struct _GtkHRuler GtkHRuler; >typedef struct _GtkHRulerClass GtkHRulerClass; > >struct _GtkHRuler >{ > GtkRuler ruler; >}; > >struct _GtkHRulerClass >{ > GtkRulerClass parent_class; >}; > > >guint gtk_hruler_get_type (void); >GtkWidget* gtk_hruler_new (void); > > > >} ># 74 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-1.2/gtk/gtkhseparator.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtkhseparator.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkseparator.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkseparator.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkseparator.h" >typedef struct _GtkSeparator GtkSeparator; >typedef struct _GtkSeparatorClass GtkSeparatorClass; > >struct _GtkSeparator >{ > GtkWidget widget; >}; > >struct _GtkSeparatorClass >{ > GtkWidgetClass parent_class; >}; > > >GtkType gtk_separator_get_type (void); > > > >} ># 33 "/usr/include/gtk-1.2/gtk/gtkhseparator.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkhseparator.h" >typedef struct _GtkHSeparator GtkHSeparator; >typedef struct _GtkHSeparatorClass GtkHSeparatorClass; > >struct _GtkHSeparator >{ > GtkSeparator separator; >}; > >struct _GtkHSeparatorClass >{ > GtkSeparatorClass parent_class; >}; > > >GtkType gtk_hseparator_get_type (void); >GtkWidget* gtk_hseparator_new (void); > > > > >} ># 77 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkimage.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkimage.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkimage.h" >typedef struct _GtkImage GtkImage; >typedef struct _GtkImageClass GtkImageClass; > >struct _GtkImage >{ > GtkMisc misc; > > GdkImage *image; > GdkBitmap *mask; >}; > >struct _GtkImageClass >{ > GtkMiscClass parent_class; >}; > > >GtkType gtk_image_get_type (void); >GtkWidget* gtk_image_new (GdkImage *val, > GdkBitmap *mask); >void gtk_image_set (GtkImage *image, > GdkImage *val, > GdkBitmap *mask); >void gtk_image_get (GtkImage *image, > GdkImage **val, > GdkBitmap **mask); > > > >} ># 78 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkinputdialog.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkinputdialog.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkinputdialog.h" >typedef struct _GtkInputDialog GtkInputDialog; >typedef struct _GtkInputDialogClass GtkInputDialogClass; > >struct _GtkInputDialog >{ > GtkDialog dialog; > > GtkWidget *axis_list; > GtkWidget *axis_listbox; > GtkWidget *mode_optionmenu; > > GtkWidget *close_button; > GtkWidget *save_button; > > GtkWidget *axis_items[GDK_AXIS_LAST]; > guint32 current_device; > > GtkWidget *keys_list; > GtkWidget *keys_listbox; >}; > >struct _GtkInputDialogClass >{ > GtkWindowClass parent_class; > > void (* enable_device) (GtkInputDialog *inputd, > guint32 devid); > void (* disable_device) (GtkInputDialog *inputd, > guint32 devid); >}; > > >GtkType gtk_input_dialog_get_type (void); >GtkWidget* gtk_input_dialog_new (void); > > > >} ># 79 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkitemfactory.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkitemfactory.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkmenufactory.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkmenufactory.h" >extern "C" { > > > >typedef struct _GtkMenuEntry GtkMenuEntry; >typedef struct _GtkMenuPath GtkMenuPath; >typedef struct _GtkMenuFactory GtkMenuFactory; > >typedef void (*GtkMenuCallback) (GtkWidget *widget, > gpointer user_data); > >struct _GtkMenuEntry >{ > gchar *path; > gchar *accelerator; > GtkMenuCallback callback; > gpointer callback_data; > GtkWidget *widget; >}; > >struct _GtkMenuPath >{ > char *path; > GtkWidget *widget; >}; > >struct _GtkMenuFactory >{ > gchar *path; > GtkMenuFactoryType type; > GtkAccelGroup *accel_group; > GtkWidget *widget; > GList *subfactories; >}; > > > > > > > >GtkMenuFactory* gtk_menu_factory_new (GtkMenuFactoryType type); >void gtk_menu_factory_destroy (GtkMenuFactory *factory); >void gtk_menu_factory_add_entries (GtkMenuFactory *factory, > GtkMenuEntry *entries, > int nentries); >void gtk_menu_factory_add_subfactory (GtkMenuFactory *factory, > GtkMenuFactory *subfactory, > const char *path); >void gtk_menu_factory_remove_paths (GtkMenuFactory *factory, > char **paths, > int npaths); >void gtk_menu_factory_remove_entries (GtkMenuFactory *factory, > GtkMenuEntry *entries, > int nentries); >void gtk_menu_factory_remove_subfactory (GtkMenuFactory *factory, > GtkMenuFactory *subfactory, > const char *path); >GtkMenuPath* gtk_menu_factory_find (GtkMenuFactory *factory, > const char *path); > > > >} ># 36 "/usr/include/gtk-1.2/gtk/gtkitemfactory.h" 2 > > > > >extern "C" { > > > >typedef void (*GtkPrintFunc) (gpointer func_data, > gchar *str); >typedef gchar * (*GtkTranslateFunc) (const gchar *path, > gpointer func_data); >typedef void (*GtkItemFactoryCallback) (); >typedef void (*GtkItemFactoryCallback1) (gpointer callback_data, > guint callback_action, > GtkWidget *widget); ># 60 "/usr/include/gtk-1.2/gtk/gtkitemfactory.h" >typedef struct _GtkItemFactory GtkItemFactory; >typedef struct _GtkItemFactoryClass GtkItemFactoryClass; >typedef struct _GtkItemFactoryEntry GtkItemFactoryEntry; >typedef struct _GtkItemFactoryItem GtkItemFactoryItem; > >struct _GtkItemFactory >{ > GtkObject object; > > gchar *path; > GtkAccelGroup *accel_group; > GtkWidget *widget; > GSList *items; > > GtkTranslateFunc translate_func; > gpointer translate_data; > GtkDestroyNotify translate_notify; >}; > >struct _GtkItemFactoryClass >{ > GtkObjectClass object_class; > > gchar *cpair_comment_single; > > GHashTable *item_ht; > > gpointer dummy; >}; > >struct _GtkItemFactoryEntry >{ > gchar *path; > gchar *accelerator; > > GtkItemFactoryCallback callback; > guint callback_action; ># 111 "/usr/include/gtk-1.2/gtk/gtkitemfactory.h" > gchar *item_type; >}; > >struct _GtkItemFactoryItem >{ > gchar *path; > guint accelerator_key; > guint accelerator_mods; > guint modified : 1; > guint in_propagation : 1; > gchar *dummy; > > GSList *widgets; >}; > > >GtkType gtk_item_factory_get_type (void); > > > > >GtkItemFactory* gtk_item_factory_new (GtkType container_type, > const gchar *path, > GtkAccelGroup *accel_group); >void gtk_item_factory_construct (GtkItemFactory *ifactory, > GtkType container_type, > const gchar *path, > GtkAccelGroup *accel_group); > > > >void gtk_item_factory_parse_rc (const gchar *file_name); >void gtk_item_factory_parse_rc_string (const gchar *rc_string); >void gtk_item_factory_parse_rc_scanner (GScanner *scanner); >void gtk_item_factory_add_foreign (GtkWidget *accel_widget, > const gchar *full_path, > GtkAccelGroup *accel_group, > guint keyval, > GdkModifierType modifiers); > >GtkItemFactory* gtk_item_factory_from_widget (GtkWidget *widget); >gchar* gtk_item_factory_path_from_widget (GtkWidget *widget); > >GtkWidget* gtk_item_factory_get_item (GtkItemFactory *ifactory, > const gchar *path); >GtkWidget* gtk_item_factory_get_widget (GtkItemFactory *ifactory, > const gchar *path); >GtkWidget* gtk_item_factory_get_widget_by_action (GtkItemFactory *ifactory, > guint action); >GtkWidget* gtk_item_factory_get_item_by_action (GtkItemFactory *ifactory, > guint action); > > > > > >void gtk_item_factory_dump_items (GtkPatternSpec *path_pspec, > gboolean modified_only, > GtkPrintFunc print_func, > gpointer func_data); >void gtk_item_factory_dump_rc (const gchar *file_name, > GtkPatternSpec *path_pspec, > gboolean modified_only); >void gtk_item_factory_print_func (gpointer FILE_pointer, > gchar *string); >void gtk_item_factory_create_item (GtkItemFactory *ifactory, > GtkItemFactoryEntry *entry, > gpointer callback_data, > guint callback_type); >void gtk_item_factory_create_items (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries, > gpointer callback_data); >void gtk_item_factory_delete_item (GtkItemFactory *ifactory, > const gchar *path); >void gtk_item_factory_delete_entry (GtkItemFactory *ifactory, > GtkItemFactoryEntry *entry); >void gtk_item_factory_delete_entries (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries); >void gtk_item_factory_popup (GtkItemFactory *ifactory, > guint x, > guint y, > guint mouse_button, > guint32 time); >void gtk_item_factory_popup_with_data(GtkItemFactory *ifactory, > gpointer popup_data, > GtkDestroyNotify destroy, > guint x, > guint y, > guint mouse_button, > guint32 time); >gpointer gtk_item_factory_popup_data (GtkItemFactory *ifactory); >gpointer gtk_item_factory_popup_data_from_widget (GtkWidget *widget); >void gtk_item_factory_set_translate_func (GtkItemFactory *ifactory, > GtkTranslateFunc func, > gpointer data, > GtkDestroyNotify notify); > > > >GtkItemFactory* gtk_item_factory_from_path (const gchar *path); >void gtk_item_factory_create_menu_entries (guint n_entries, > GtkMenuEntry *entries); >void gtk_item_factories_path_delete (const gchar *ifactory_path, > const gchar *path); >typedef void (*GtkItemFactoryCallback2) (GtkWidget *widget, > gpointer callback_data, > guint callback_action); >void gtk_item_factory_create_items_ac (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries, > gpointer callback_data, > guint callback_type); > > > > >} ># 81 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtklayout.h" 1 ># 39 "/usr/include/gtk-1.2/gtk/gtklayout.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtklayout.h" >typedef struct _GtkLayout GtkLayout; >typedef struct _GtkLayoutClass GtkLayoutClass; > >struct _GtkLayout { > GtkContainer container; > > GList *children; > > guint width; > guint height; > > guint xoffset; > guint yoffset; > > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; > > GdkWindow *bin_window; > > GdkVisibilityState visibility; > gulong configure_serial; > gint scroll_x; > gint scroll_y; > > guint freeze_count; >}; > >struct _GtkLayoutClass { > GtkContainerClass parent_class; > > void (*set_scroll_adjustments) (GtkLayout *layout, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >}; > >GtkType gtk_layout_get_type (void); >GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >void gtk_layout_put (GtkLayout *layout, > GtkWidget *widget, > gint x, > gint y); > >void gtk_layout_move (GtkLayout *layout, > GtkWidget *widget, > gint x, > gint y); > >void gtk_layout_set_size (GtkLayout *layout, > guint width, > guint height); > >GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout); >GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout); >void gtk_layout_set_hadjustment (GtkLayout *layout, > GtkAdjustment *adjustment); >void gtk_layout_set_vadjustment (GtkLayout *layout, > GtkAdjustment *adjustment); ># 115 "/usr/include/gtk-1.2/gtk/gtklayout.h" >void gtk_layout_freeze (GtkLayout *layout); >void gtk_layout_thaw (GtkLayout *layout); > > >} ># 83 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtklist.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtklist.h" ># 1 "/usr/include/gtk-1.2/gtk/gtklistitem.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtklistitem.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtklistitem.h" >typedef struct _GtkListItem GtkListItem; >typedef struct _GtkListItemClass GtkListItemClass; > >struct _GtkListItem >{ > GtkItem item; >}; > >struct _GtkListItemClass >{ > GtkItemClass parent_class; > > void (*toggle_focus_row) (GtkListItem *list_item); > void (*select_all) (GtkListItem *list_item); > void (*unselect_all) (GtkListItem *list_item); > void (*undo_selection) (GtkListItem *list_item); > void (*start_selection) (GtkListItem *list_item); > void (*end_selection) (GtkListItem *list_item); > void (*extend_selection) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); > void (*scroll_horizontal) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position); > void (*scroll_vertical) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position); > void (*toggle_add_mode) (GtkListItem *list_item); >}; > > >GtkType gtk_list_item_get_type (void); >GtkWidget* gtk_list_item_new (void); >GtkWidget* gtk_list_item_new_with_label (const gchar *label); >void gtk_list_item_select (GtkListItem *list_item); >void gtk_list_item_deselect (GtkListItem *list_item); > > > > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtklist.h" 2 > > >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtklist.h" >typedef struct _GtkList GtkList; >typedef struct _GtkListClass GtkListClass; > >struct _GtkList >{ > GtkContainer container; > > GList *children; > GList *selection; > > GList *undo_selection; > GList *undo_unselection; > > GtkWidget *last_focus_child; > GtkWidget *undo_focus_child; > > guint htimer; > guint vtimer; > > gint anchor; > gint drag_pos; > GtkStateType anchor_state; > > guint selection_mode : 2; > guint drag_selection:1; > guint add_mode:1; >}; > >struct _GtkListClass >{ > GtkContainerClass parent_class; > > void (* selection_changed) (GtkList *list); > void (* select_child) (GtkList *list, > GtkWidget *child); > void (* unselect_child) (GtkList *list, > GtkWidget *child); >}; > > >GtkType gtk_list_get_type (void); >GtkWidget* gtk_list_new (void); >void gtk_list_insert_items (GtkList *list, > GList *items, > gint position); >void gtk_list_append_items (GtkList *list, > GList *items); >void gtk_list_prepend_items (GtkList *list, > GList *items); >void gtk_list_remove_items (GtkList *list, > GList *items); >void gtk_list_remove_items_no_unref (GtkList *list, > GList *items); >void gtk_list_clear_items (GtkList *list, > gint start, > gint end); >void gtk_list_select_item (GtkList *list, > gint item); >void gtk_list_unselect_item (GtkList *list, > gint item); >void gtk_list_select_child (GtkList *list, > GtkWidget *child); >void gtk_list_unselect_child (GtkList *list, > GtkWidget *child); >gint gtk_list_child_position (GtkList *list, > GtkWidget *child); >void gtk_list_set_selection_mode (GtkList *list, > GtkSelectionMode mode); > >void gtk_list_extend_selection (GtkList *list, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); >void gtk_list_start_selection (GtkList *list); >void gtk_list_end_selection (GtkList *list); >void gtk_list_select_all (GtkList *list); >void gtk_list_unselect_all (GtkList *list); >void gtk_list_scroll_horizontal (GtkList *list, > GtkScrollType scroll_type, > gfloat position); >void gtk_list_scroll_vertical (GtkList *list, > GtkScrollType scroll_type, > gfloat position); >void gtk_list_toggle_add_mode (GtkList *list); >void gtk_list_toggle_focus_row (GtkList *list); >void gtk_list_toggle_row (GtkList *list, > GtkWidget *item); >void gtk_list_undo_selection (GtkList *list); >void gtk_list_end_drag_selection (GtkList *list); > > >} ># 84 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-1.2/gtk/gtkmenu.h" 1 ># 33 "/usr/include/gtk-1.2/gtk/gtkmenu.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkmenushell.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkmenushell.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkmenushell.h" >typedef struct _GtkMenuShell GtkMenuShell; >typedef struct _GtkMenuShellClass GtkMenuShellClass; > >struct _GtkMenuShell >{ > GtkContainer container; > > GList *children; > GtkWidget *active_menu_item; > GtkWidget *parent_menu_shell; > > guint active : 1; > guint have_grab : 1; > guint have_xgrab : 1; > guint button : 2; > guint ignore_leave : 1; > guint menu_flag : 1; > guint ignore_enter : 1; > > guint32 activate_time; >}; > >struct _GtkMenuShellClass >{ > GtkContainerClass parent_class; > > guint submenu_placement : 1; > > void (*deactivate) (GtkMenuShell *menu_shell); > void (*selection_done) (GtkMenuShell *menu_shell); > > void (*move_current) (GtkMenuShell *menu_shell, > GtkMenuDirectionType direction); > void (*activate_current) (GtkMenuShell *menu_shell, > gboolean force_hide); > void (*cancel) (GtkMenuShell *menu_shell); >}; > > >GtkType gtk_menu_shell_get_type (void); >void gtk_menu_shell_append (GtkMenuShell *menu_shell, > GtkWidget *child); >void gtk_menu_shell_prepend (GtkMenuShell *menu_shell, > GtkWidget *child); >void gtk_menu_shell_insert (GtkMenuShell *menu_shell, > GtkWidget *child, > gint position); >void gtk_menu_shell_deactivate (GtkMenuShell *menu_shell); >void gtk_menu_shell_select_item (GtkMenuShell *menu_shell, > GtkWidget *menu_item); >void gtk_menu_shell_deselect (GtkMenuShell *menu_shell); >void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, > GtkWidget *menu_item, > gboolean force_deactivate); > > > >} ># 34 "/usr/include/gtk-1.2/gtk/gtkmenu.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkmenu.h" >typedef struct _GtkMenu GtkMenu; >typedef struct _GtkMenuClass GtkMenuClass; > >typedef void (*GtkMenuPositionFunc) (GtkMenu *menu, > gint *x, > gint *y, > gpointer user_data); >typedef void (*GtkMenuDetachFunc) (GtkWidget *attach_widget, > GtkMenu *menu); > >struct _GtkMenu >{ > GtkMenuShell menu_shell; > > GtkWidget *parent_menu_item; > GtkWidget *old_active_menu_item; > > GtkAccelGroup *accel_group; > GtkMenuPositionFunc position_func; > gpointer position_func_data; > > > > > > GtkWidget *toplevel; > GtkWidget *tearoff_window; > > guint torn_off : 1; >}; > >struct _GtkMenuClass >{ > GtkMenuShellClass parent_class; >}; > > >GtkType gtk_menu_get_type (void); >GtkWidget* gtk_menu_new (void); > > >void gtk_menu_append (GtkMenu *menu, > GtkWidget *child); >void gtk_menu_prepend (GtkMenu *menu, > GtkWidget *child); >void gtk_menu_insert (GtkMenu *menu, > GtkWidget *child, > gint position); > > >void gtk_menu_popup (GtkMenu *menu, > GtkWidget *parent_menu_shell, > GtkWidget *parent_menu_item, > GtkMenuPositionFunc func, > gpointer data, > guint button, > guint32 activate_time); > > > > >void gtk_menu_reposition (GtkMenu *menu); > >void gtk_menu_popdown (GtkMenu *menu); > > > > >GtkWidget* gtk_menu_get_active (GtkMenu *menu); >void gtk_menu_set_active (GtkMenu *menu, > guint index); > > > > >void gtk_menu_set_accel_group (GtkMenu *menu, > GtkAccelGroup *accel_group); >GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu *menu); > > > > >GtkAccelGroup* gtk_menu_get_uline_accel_group (GtkMenu *menu); >GtkAccelGroup* gtk_menu_ensure_uline_accel_group (GtkMenu *menu); > > > > > > >void gtk_menu_attach_to_widget (GtkMenu *menu, > GtkWidget *attach_widget, > GtkMenuDetachFunc detacher); >void gtk_menu_detach (GtkMenu *menu); > > > > > >GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu); > >void gtk_menu_set_tearoff_state (GtkMenu *menu, > gboolean torn_off); > > > > >void gtk_menu_set_title (GtkMenu *menu, > const gchar *title); > >void gtk_menu_reorder_child (GtkMenu *menu, > GtkWidget *child, > gint position); > > >} ># 87 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkmenubar.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkmenubar.h" >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtkmenubar.h" >typedef struct _GtkMenuBar GtkMenuBar; >typedef struct _GtkMenuBarClass GtkMenuBarClass; > >struct _GtkMenuBar >{ > GtkMenuShell menu_shell; > > GtkShadowType shadow_type; >}; > >struct _GtkMenuBarClass >{ > GtkMenuShellClass parent_class; >}; > > >GtkType gtk_menu_bar_get_type (void); >GtkWidget* gtk_menu_bar_new (void); >void gtk_menu_bar_append (GtkMenuBar *menu_bar, > GtkWidget *child); >void gtk_menu_bar_prepend (GtkMenuBar *menu_bar, > GtkWidget *child); >void gtk_menu_bar_insert (GtkMenuBar *menu_bar, > GtkWidget *child, > gint position); >void gtk_menu_bar_set_shadow_type (GtkMenuBar *menu_bar, > GtkShadowType type); > > > >} ># 88 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > > > > > ># 1 "/usr/include/gtk-1.2/gtk/gtkoptionmenu.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkoptionmenu.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkoptionmenu.h" >typedef struct _GtkOptionMenu GtkOptionMenu; >typedef struct _GtkOptionMenuClass GtkOptionMenuClass; > >struct _GtkOptionMenu >{ > GtkButton button; > > GtkWidget *menu; > GtkWidget *menu_item; > > guint16 width; > guint16 height; >}; > >struct _GtkOptionMenuClass >{ > GtkButtonClass parent_class; >}; > > >GtkType gtk_option_menu_get_type (void); >GtkWidget* gtk_option_menu_new (void); >GtkWidget* gtk_option_menu_get_menu (GtkOptionMenu *option_menu); >void gtk_option_menu_set_menu (GtkOptionMenu *option_menu, > GtkWidget *menu); >void gtk_option_menu_remove_menu (GtkOptionMenu *option_menu); >void gtk_option_menu_set_history (GtkOptionMenu *option_menu, > guint index); > > > >} ># 95 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkpacker.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkpacker.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkpacker.h" >typedef struct _GtkPacker GtkPacker; >typedef struct _GtkPackerClass GtkPackerClass; >typedef struct _GtkPackerChild GtkPackerChild; > >typedef enum >{ > GTK_PACK_EXPAND = 1 << 0, > GTK_FILL_X = 1 << 1, > GTK_FILL_Y = 1 << 2 >} GtkPackerOptions; > >typedef enum >{ > GTK_SIDE_TOP, > GTK_SIDE_BOTTOM, > GTK_SIDE_LEFT, > GTK_SIDE_RIGHT >} GtkSideType; > >typedef enum >{ > GTK_ANCHOR_CENTER, > GTK_ANCHOR_NORTH, > GTK_ANCHOR_NORTH_WEST, > GTK_ANCHOR_NORTH_EAST, > GTK_ANCHOR_SOUTH, > GTK_ANCHOR_SOUTH_WEST, > GTK_ANCHOR_SOUTH_EAST, > GTK_ANCHOR_WEST, > GTK_ANCHOR_EAST, > GTK_ANCHOR_N = GTK_ANCHOR_NORTH, > GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST, > GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST, > GTK_ANCHOR_S = GTK_ANCHOR_SOUTH, > GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST, > GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST, > GTK_ANCHOR_W = GTK_ANCHOR_WEST, > GTK_ANCHOR_E = GTK_ANCHOR_EAST >} GtkAnchorType; > >struct _GtkPackerChild >{ > GtkWidget *widget; > > GtkAnchorType anchor; > GtkSideType side; > GtkPackerOptions options; > > guint use_default : 1; > > guint border_width : 16; > guint pad_x : 16; > guint pad_y : 16; > guint i_pad_x : 16; > guint i_pad_y : 16; >}; > >struct _GtkPacker >{ > GtkContainer parent; > > GList *children; > > guint spacing; > > guint default_border_width : 16; > guint default_pad_x : 16; > guint default_pad_y : 16; > guint default_i_pad_x : 16; > guint default_i_pad_y : 16; >}; > >struct _GtkPackerClass >{ > GtkContainerClass parent_class; >}; > > >GtkType gtk_packer_get_type (void); >GtkWidget* gtk_packer_new (void); >void gtk_packer_add_defaults (GtkPacker *packer, > GtkWidget *child, > GtkSideType side, > GtkAnchorType anchor, > GtkPackerOptions options); >void gtk_packer_add (GtkPacker *packer, > GtkWidget *child, > GtkSideType side, > GtkAnchorType anchor, > GtkPackerOptions options, > guint border_width, > guint pad_x, > guint pad_y, > guint i_pad_x, > guint i_pad_y); >void gtk_packer_set_child_packing (GtkPacker *packer, > GtkWidget *child, > GtkSideType side, > GtkAnchorType anchor, > GtkPackerOptions options, > guint border_width, > guint pad_x, > guint pad_y, > guint i_pad_x, > guint i_pad_y); >void gtk_packer_reorder_child (GtkPacker *packer, > GtkWidget *child, > gint position); >void gtk_packer_set_spacing (GtkPacker *packer, > guint spacing); >void gtk_packer_set_default_border_width (GtkPacker *packer, > guint border); >void gtk_packer_set_default_pad (GtkPacker *packer, > guint pad_x, > guint pad_y); >void gtk_packer_set_default_ipad (GtkPacker *packer, > guint i_pad_x, > guint i_pad_y); > > > >} ># 96 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkpixmap.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkpixmap.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkpixmap.h" >typedef struct _GtkPixmap GtkPixmap; >typedef struct _GtkPixmapClass GtkPixmapClass; > >struct _GtkPixmap >{ > GtkMisc misc; > > GdkPixmap *pixmap; > GdkBitmap *mask; > > GdkPixmap *pixmap_insensitive; > guint build_insensitive : 1; >}; > >struct _GtkPixmapClass >{ > GtkMiscClass parent_class; >}; > > >GtkType gtk_pixmap_get_type (void); >GtkWidget* gtk_pixmap_new (GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_pixmap_set (GtkPixmap *pixmap, > GdkPixmap *val, > GdkBitmap *mask); >void gtk_pixmap_get (GtkPixmap *pixmap, > GdkPixmap **val, > GdkBitmap **mask); > >void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, > guint build); > > > >} ># 98 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkplug.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkplug.h" >extern "C" { ># 44 "/usr/include/gtk-1.2/gtk/gtkplug.h" >typedef struct _GtkPlug GtkPlug; >typedef struct _GtkPlugClass GtkPlugClass; > > >struct _GtkPlug >{ > GtkWindow window; > > GdkWindow *socket_window; > gint same_app; >}; > >struct _GtkPlugClass >{ > GtkWindowClass parent_class; >}; > > >guint gtk_plug_get_type (void); >void gtk_plug_construct (GtkPlug *plug, guint32 socket_id); >GtkWidget* gtk_plug_new (guint32 socket_id); > > > >} ># 99 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkprogress.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkprogress.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkprogress.h" >typedef struct _GtkProgress GtkProgress; >typedef struct _GtkProgressClass GtkProgressClass; > > >struct _GtkProgress >{ > GtkWidget widget; > > GtkAdjustment *adjustment; > GdkPixmap *offscreen_pixmap; > gchar *format; > gfloat x_align; > gfloat y_align; > > guint show_text : 1; > guint activity_mode : 1; >}; > >struct _GtkProgressClass >{ > GtkWidgetClass parent_class; > > void (* paint) (GtkProgress *progress); > void (* update) (GtkProgress *progress); > void (* act_mode_enter) (GtkProgress *progress); >}; > > >GtkType gtk_progress_get_type (void); >void gtk_progress_set_show_text (GtkProgress *progress, > gint show_text); >void gtk_progress_set_text_alignment (GtkProgress *progress, > gfloat x_align, > gfloat y_align); >void gtk_progress_set_format_string (GtkProgress *progress, > const gchar *format); >void gtk_progress_set_adjustment (GtkProgress *progress, > GtkAdjustment *adjustment); >void gtk_progress_configure (GtkProgress *progress, > gfloat value, > gfloat min, > gfloat max); >void gtk_progress_set_percentage (GtkProgress *progress, > gfloat percentage); >void gtk_progress_set_value (GtkProgress *progress, > gfloat value); >gfloat gtk_progress_get_value (GtkProgress *progress); >void gtk_progress_set_activity_mode (GtkProgress *progress, > guint activity_mode); >gchar* gtk_progress_get_current_text (GtkProgress *progress); >gchar* gtk_progress_get_text_from_value (GtkProgress *progress, > gfloat value); >gfloat gtk_progress_get_current_percentage (GtkProgress *progress); >gfloat gtk_progress_get_percentage_from_value (GtkProgress *progress, > gfloat value); > > > >} ># 101 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkprogressbar.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkprogressbar.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkprogressbar.h" >typedef struct _GtkProgressBar GtkProgressBar; >typedef struct _GtkProgressBarClass GtkProgressBarClass; > >typedef enum >{ > GTK_PROGRESS_CONTINUOUS, > GTK_PROGRESS_DISCRETE >} GtkProgressBarStyle; > >typedef enum >{ > GTK_PROGRESS_LEFT_TO_RIGHT, > GTK_PROGRESS_RIGHT_TO_LEFT, > GTK_PROGRESS_BOTTOM_TO_TOP, > GTK_PROGRESS_TOP_TO_BOTTOM >} GtkProgressBarOrientation; > >struct _GtkProgressBar >{ > GtkProgress progress; > > GtkProgressBarStyle bar_style; > GtkProgressBarOrientation orientation; > > guint blocks; > gint in_block; > > gint activity_pos; > guint activity_step; > guint activity_blocks; > guint activity_dir : 1; >}; > >struct _GtkProgressBarClass >{ > GtkProgressClass parent_class; >}; > > >GtkType gtk_progress_bar_get_type (void); >GtkWidget* gtk_progress_bar_new (void); >GtkWidget* gtk_progress_bar_new_with_adjustment (GtkAdjustment *adjustment); >void gtk_progress_bar_set_bar_style (GtkProgressBar *pbar, > GtkProgressBarStyle style); >void gtk_progress_bar_set_discrete_blocks (GtkProgressBar *pbar, > guint blocks); >void gtk_progress_bar_set_activity_step (GtkProgressBar *pbar, > guint step); >void gtk_progress_bar_set_activity_blocks (GtkProgressBar *pbar, > guint blocks); >void gtk_progress_bar_set_orientation (GtkProgressBar *pbar, > GtkProgressBarOrientation orientation); >void gtk_progress_bar_update (GtkProgressBar *pbar, > gfloat percentage); > > > >} ># 102 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkradiobutton.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkradiobutton.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkradiobutton.h" >typedef struct _GtkRadioButton GtkRadioButton; >typedef struct _GtkRadioButtonClass GtkRadioButtonClass; > >struct _GtkRadioButton >{ > GtkCheckButton check_button; > > GSList *group; >}; > >struct _GtkRadioButtonClass >{ > GtkCheckButtonClass parent_class; >}; > > >GtkType gtk_radio_button_get_type (void); >GtkWidget* gtk_radio_button_new (GSList *group); >GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *group); >GtkWidget* gtk_radio_button_new_with_label (GSList *group, > const gchar *label); >GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group, > const gchar *label); >GSList* gtk_radio_button_group (GtkRadioButton *radio_button); >void gtk_radio_button_set_group (GtkRadioButton *radio_button, > GSList *group); > > > >} ># 103 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkradiomenuitem.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkradiomenuitem.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkradiomenuitem.h" >typedef struct _GtkRadioMenuItem GtkRadioMenuItem; >typedef struct _GtkRadioMenuItemClass GtkRadioMenuItemClass; > >struct _GtkRadioMenuItem >{ > GtkCheckMenuItem check_menu_item; > > GSList *group; >}; > >struct _GtkRadioMenuItemClass >{ > GtkCheckMenuItemClass parent_class; >}; > > >GtkType gtk_radio_menu_item_get_type (void); >GtkWidget* gtk_radio_menu_item_new (GSList *group); >GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, > const gchar *label); >GSList* gtk_radio_menu_item_group (GtkRadioMenuItem *radio_menu_item); >void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, > GSList *group); > > > >} ># 104 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkrc.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkrc.h" >extern "C" { > > > >typedef enum { > GTK_RC_FG = 1 << 0, > GTK_RC_BG = 1 << 1, > GTK_RC_TEXT = 1 << 2, > GTK_RC_BASE = 1 << 3 >} GtkRcFlags; > >struct _GtkRcStyle >{ > gchar *name; > gchar *font_name; > gchar *fontset_name; > gchar *bg_pixmap_name[5]; > > GtkRcFlags color_flags[5]; > GdkColor fg[5]; > GdkColor bg[5]; > GdkColor text[5]; > GdkColor base[5]; > > GtkThemeEngine *engine; > gpointer engine_data; >}; > >void gtk_rc_init (void); >void gtk_rc_add_default_file (const gchar *filename); >void gtk_rc_set_default_files (gchar **filenames); >gchar** gtk_rc_get_default_files (void); >void gtk_rc_parse (const gchar *filename); >void gtk_rc_parse_string (const gchar *rc_string); >gboolean gtk_rc_reparse_all (void); >GtkStyle* gtk_rc_get_style (GtkWidget *widget); >void gtk_rc_add_widget_name_style (GtkRcStyle *rc_style, > const gchar *pattern); >void gtk_rc_add_widget_class_style (GtkRcStyle *rc_style, > const gchar *pattern); >void gtk_rc_add_class_style (GtkRcStyle *rc_style, > const gchar *pattern); > >GtkRcStyle* gtk_rc_style_new (void); >void gtk_rc_style_ref (GtkRcStyle *rc_style); >void gtk_rc_style_unref (GtkRcStyle *rc_style); > > > > >typedef GdkPixmap* (*GtkImageLoader) (GdkWindow *window, > GdkColormap *colormap, > GdkBitmap **mask, > GdkColor *transparent_color, > const gchar *filename); >void gtk_rc_set_image_loader (GtkImageLoader loader); > >GdkPixmap* gtk_rc_load_image (GdkColormap *colormap, > GdkColor *transparent_color, > const gchar *filename); >gchar* gtk_rc_find_pixmap_in_path (GScanner *scanner, > const gchar *pixmap_file); >gchar* gtk_rc_find_module_in_path (const gchar *module_file); >gchar* gtk_rc_get_theme_dir (void); >gchar* gtk_rc_get_module_dir (void); > > >typedef enum { > GTK_RC_TOKEN_INVALID = G_TOKEN_LAST, > GTK_RC_TOKEN_INCLUDE, > GTK_RC_TOKEN_NORMAL, > GTK_RC_TOKEN_ACTIVE, > GTK_RC_TOKEN_PRELIGHT, > GTK_RC_TOKEN_SELECTED, > GTK_RC_TOKEN_INSENSITIVE, > GTK_RC_TOKEN_FG, > GTK_RC_TOKEN_BG, > GTK_RC_TOKEN_BASE, > GTK_RC_TOKEN_TEXT, > GTK_RC_TOKEN_FONT, > GTK_RC_TOKEN_FONTSET, > GTK_RC_TOKEN_BG_PIXMAP, > GTK_RC_TOKEN_PIXMAP_PATH, > GTK_RC_TOKEN_STYLE, > GTK_RC_TOKEN_BINDING, > GTK_RC_TOKEN_BIND, > GTK_RC_TOKEN_WIDGET, > GTK_RC_TOKEN_WIDGET_CLASS, > GTK_RC_TOKEN_CLASS, > GTK_RC_TOKEN_LOWEST, > GTK_RC_TOKEN_GTK, > GTK_RC_TOKEN_APPLICATION, > GTK_RC_TOKEN_RC, > GTK_RC_TOKEN_HIGHEST, > GTK_RC_TOKEN_ENGINE, > GTK_RC_TOKEN_MODULE_PATH, > GTK_RC_TOKEN_LAST >} GtkRcTokenType; > >guint gtk_rc_parse_color (GScanner *scanner, > GdkColor *color); >guint gtk_rc_parse_state (GScanner *scanner, > GtkStateType *state); >guint gtk_rc_parse_priority (GScanner *scanner, > GtkPathPriorityType *priority); > > > > >} ># 106 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-1.2/gtk/gtkscrolledwindow.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtkscrolledwindow.h" ># 1 "/usr/include/gtk-1.2/gtk/gtkviewport.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkviewport.h" >extern "C" { ># 48 "/usr/include/gtk-1.2/gtk/gtkviewport.h" >typedef struct _GtkViewport GtkViewport; >typedef struct _GtkViewportClass GtkViewportClass; > >struct _GtkViewport >{ > GtkBin bin; > > GtkShadowType shadow_type; > GdkWindow *view_window; > GdkWindow *bin_window; > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; >}; > >struct _GtkViewportClass >{ > GtkBinClass parent_class; > > void (*set_scroll_adjustments) (GtkViewport *viewport, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >}; > > >GtkType gtk_viewport_get_type (void); >GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport); >GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport); >void gtk_viewport_set_hadjustment (GtkViewport *viewport, > GtkAdjustment *adjustment); >void gtk_viewport_set_vadjustment (GtkViewport *viewport, > GtkAdjustment *adjustment); >void gtk_viewport_set_shadow_type (GtkViewport *viewport, > GtkShadowType type); > > > >} ># 35 "/usr/include/gtk-1.2/gtk/gtkscrolledwindow.h" 2 > > > >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtkscrolledwindow.h" >typedef struct _GtkScrolledWindow GtkScrolledWindow; >typedef struct _GtkScrolledWindowClass GtkScrolledWindowClass; > >struct _GtkScrolledWindow >{ > GtkBin container; > > GtkWidget *hscrollbar; > GtkWidget *vscrollbar; > > guint hscrollbar_policy : 2; > guint vscrollbar_policy : 2; > guint hscrollbar_visible : 1; > guint vscrollbar_visible : 1; > guint window_placement : 2; >}; > >struct _GtkScrolledWindowClass >{ > GtkBinClass parent_class; > > gint scrollbar_spacing; >}; > > >GtkType gtk_scrolled_window_get_type (void); >GtkWidget* gtk_scrolled_window_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >void gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window, > GtkAdjustment *hadjustment); >void gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window, > GtkAdjustment *hadjustment); >GtkAdjustment* gtk_scrolled_window_get_hadjustment (GtkScrolledWindow *scrolled_window); >GtkAdjustment* gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_window); >void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window, > GtkPolicyType hscrollbar_policy, > GtkPolicyType vscrollbar_policy); >void gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window, > GtkCornerType window_placement); >void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, > GtkWidget *child); > > > >} ># 110 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-1.2/gtk/gtksocket.h" 1 ># 32 "/usr/include/gtk-1.2/gtk/gtksocket.h" >extern "C" { ># 41 "/usr/include/gtk-1.2/gtk/gtksocket.h" >typedef struct _GtkSocket GtkSocket; >typedef struct _GtkSocketClass GtkSocketClass; > >struct _GtkSocket >{ > GtkContainer container; > > guint16 request_width; > guint16 request_height; > guint16 current_width; > guint16 current_height; > > GdkWindow *plug_window; > guint same_app : 1; > guint focus_in : 1; > guint have_size : 1; > guint need_map : 1; >}; > >struct _GtkSocketClass >{ > GtkContainerClass parent_class; >}; > > >GtkWidget* gtk_socket_new (void); >guint gtk_socket_get_type (void ); >void gtk_socket_steal (GtkSocket *socket, > guint32 wid); > > >} ># 114 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkspinbutton.h" 1 ># 40 "/usr/include/gtk-1.2/gtk/gtkspinbutton.h" >extern "C" { ># 51 "/usr/include/gtk-1.2/gtk/gtkspinbutton.h" >typedef enum >{ > GTK_UPDATE_ALWAYS, > GTK_UPDATE_IF_VALID >} GtkSpinButtonUpdatePolicy; > >typedef enum >{ > GTK_SPIN_STEP_FORWARD, > GTK_SPIN_STEP_BACKWARD, > GTK_SPIN_PAGE_FORWARD, > GTK_SPIN_PAGE_BACKWARD, > GTK_SPIN_HOME, > GTK_SPIN_END, > GTK_SPIN_USER_DEFINED >} GtkSpinType; > > >typedef struct _GtkSpinButton GtkSpinButton; >typedef struct _GtkSpinButtonClass GtkSpinButtonClass; > > >struct _GtkSpinButton >{ > GtkEntry entry; > > GtkAdjustment *adjustment; > > GdkWindow *panel; > GtkShadowType shadow_type; > > guint32 timer; > guint32 ev_time; > > gfloat climb_rate; > gfloat timer_step; > > GtkSpinButtonUpdatePolicy update_policy; > > guint in_child : 2; > guint click_child : 2; > guint button : 2; > guint need_timer : 1; > guint timer_calls : 3; > guint digits : 3; > guint numeric : 1; > guint wrap : 1; > guint snap_to_ticks : 1; >}; > >struct _GtkSpinButtonClass >{ > GtkEntryClass parent_class; >}; > > >GtkType gtk_spin_button_get_type (void); > >void gtk_spin_button_configure (GtkSpinButton *spin_button, > GtkAdjustment *adjustment, > gfloat climb_rate, > guint digits); > >GtkWidget* gtk_spin_button_new (GtkAdjustment *adjustment, > gfloat climb_rate, > guint digits); > >void gtk_spin_button_set_adjustment (GtkSpinButton *spin_button, > GtkAdjustment *adjustment); > >GtkAdjustment* gtk_spin_button_get_adjustment (GtkSpinButton *spin_button); > >void gtk_spin_button_set_digits (GtkSpinButton *spin_button, > guint digits); > >gfloat gtk_spin_button_get_value_as_float (GtkSpinButton *spin_button); > >gint gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button); > >void gtk_spin_button_set_value (GtkSpinButton *spin_button, > gfloat value); > >void gtk_spin_button_set_update_policy (GtkSpinButton *spin_button, > GtkSpinButtonUpdatePolicy policy); > >void gtk_spin_button_set_numeric (GtkSpinButton *spin_button, > gboolean numeric); > >void gtk_spin_button_spin (GtkSpinButton *spin_button, > GtkSpinType direction, > gfloat increment); > >void gtk_spin_button_set_wrap (GtkSpinButton *spin_button, > gboolean wrap); > >void gtk_spin_button_set_shadow_type (GtkSpinButton *spin_button, > GtkShadowType shadow_type); > >void gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button, > gboolean snap_to_ticks); >void gtk_spin_button_update (GtkSpinButton *spin_button); > > > > >} ># 115 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkstatusbar.h" 1 ># 34 "/usr/include/gtk-1.2/gtk/gtkstatusbar.h" >extern "C" { > > > > > > >typedef struct _GtkStatusbar GtkStatusbar; >typedef struct _GtkStatusbarClass GtkStatusbarClass; >typedef struct _GtkStatusbarMsg GtkStatusbarMsg; > >struct _GtkStatusbar >{ > GtkHBox parent_widget; > > GtkWidget *frame; > GtkWidget *label; > > GSList *messages; > GSList *keys; > > guint seq_context_id; > guint seq_message_id; >}; > >struct _GtkStatusbarClass >{ > GtkHBoxClass parent_class; > > GMemChunk *messages_mem_chunk; > > void (*text_pushed) (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); > void (*text_popped) (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); >}; > >struct _GtkStatusbarMsg >{ > gchar *text; > guint context_id; > guint message_id; >}; > >guint gtk_statusbar_get_type (void); >GtkWidget* gtk_statusbar_new (void); >guint gtk_statusbar_get_context_id (GtkStatusbar *statusbar, > const gchar *context_description); > >guint gtk_statusbar_push (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); >void gtk_statusbar_pop (GtkStatusbar *statusbar, > guint context_id); >void gtk_statusbar_remove (GtkStatusbar *statusbar, > guint context_id, > guint message_id); > > > > >} ># 117 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h" >typedef struct _GtkTearoffMenuItem GtkTearoffMenuItem; >typedef struct _GtkTearoffMenuItemClass GtkTearoffMenuItemClass; > >struct _GtkTearoffMenuItem >{ > GtkMenuItem menu_item; > > guint torn_off : 1; >}; > >struct _GtkTearoffMenuItemClass >{ > GtkMenuItemClass parent_class; >}; > > >GtkType gtk_tearoff_menu_item_get_type (void); >GtkWidget* gtk_tearoff_menu_item_new (void); > > >} ># 119 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtktext.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtktext.h" >extern "C" { ># 46 "/usr/include/gtk-1.2/gtk/gtktext.h" >typedef struct _GtkTextFont GtkTextFont; >typedef struct _GtkPropertyMark GtkPropertyMark; >typedef struct _GtkText GtkText; >typedef struct _GtkTextClass GtkTextClass; > >struct _GtkPropertyMark >{ > > GList* property; > > > guint offset; > > > guint index; >}; > >struct _GtkText >{ > GtkEditable editable; > > GdkWindow *text_area; > > GtkAdjustment *hadj; > GtkAdjustment *vadj; > > GdkGC *gc; > > GdkPixmap* line_wrap_bitmap; > GdkPixmap* line_arrow_bitmap; > > > > > > union { GdkWChar *wc; guchar *ch; } text; > > guint text_len; > > > guint gap_position; > > > guint gap_size; > > > > guint text_end; > > > > GList *line_start_cache; > > guint first_line_start_index; > > guint first_cut_pixels; > > guint first_onscreen_hor_pixel; > > guint first_onscreen_ver_pixel; > > > > > > guint line_wrap : 1; > guint word_wrap : 1; > > > guint use_wchar : 1; > > > guint freeze_count; > > > > GList *text_properties; > > GList *text_properties_end; > > > > > GtkPropertyMark point; > > > > union { GdkWChar *wc; guchar *ch; } scratch_buffer; > guint scratch_buffer_len; > > > > gint last_ver_value; > > > > gint cursor_pos_x; > gint cursor_pos_y; > GtkPropertyMark cursor_mark; > GdkWChar cursor_char; > gchar cursor_char_offset; > gint cursor_virtual_x; > gint cursor_drawn_level; > > > > GList *current_line; > > > > GList *tab_stops; > gint default_tab_width; > > GtkTextFont *current_font; > > > gint timer; > > guint button; > GdkGC *bg_gc; >}; > >struct _GtkTextClass >{ > GtkEditableClass parent_class; > > void (*set_scroll_adjustments) (GtkText *text, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >}; > > >GtkType gtk_text_get_type (void); >GtkWidget* gtk_text_new (GtkAdjustment *hadj, > GtkAdjustment *vadj); >void gtk_text_set_editable (GtkText *text, > gboolean editable); >void gtk_text_set_word_wrap (GtkText *text, > gint word_wrap); >void gtk_text_set_line_wrap (GtkText *text, > gint line_wrap); >void gtk_text_set_adjustments (GtkText *text, > GtkAdjustment *hadj, > GtkAdjustment *vadj); >void gtk_text_set_point (GtkText *text, > guint index); >guint gtk_text_get_point (GtkText *text); >guint gtk_text_get_length (GtkText *text); >void gtk_text_freeze (GtkText *text); >void gtk_text_thaw (GtkText *text); >void gtk_text_insert (GtkText *text, > GdkFont *font, > GdkColor *fore, > GdkColor *back, > const char *chars, > gint length); >gint gtk_text_backward_delete (GtkText *text, > guint nchars); >gint gtk_text_forward_delete (GtkText *text, > guint nchars); ># 214 "/usr/include/gtk-1.2/gtk/gtktext.h" >} ># 120 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkthemes.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtkthemes.h" >extern "C" { > > > >struct _GtkThemeEngine { > > > > > guint (*parse_rc_style) (GScanner *scanner, GtkRcStyle *rc_style); > > > > > > void (*merge_rc_style) (GtkRcStyle *dest, GtkRcStyle *src); > > > void (*rc_style_to_style) (GtkStyle *style, GtkRcStyle *rc_style); > > > > > > void (*duplicate_style) (GtkStyle *dest, GtkStyle *src); > > > > > > > void (*realize_style) (GtkStyle *new_style); > > > > > void (*unrealize_style) (GtkStyle *new_style); > > > void (*destroy_rc_style) (GtkRcStyle *rc_style); > > > void (*destroy_style) (GtkStyle *style); > > void (*set_background) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type); >}; > >GtkThemeEngine *gtk_theme_engine_get (const gchar *name); >void gtk_theme_engine_ref (GtkThemeEngine *engine); >void gtk_theme_engine_unref (GtkThemeEngine *engine); > > > > >} ># 121 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtktipsquery.h" 1 ># 38 "/usr/include/gtk-1.2/gtk/gtktipsquery.h" >extern "C" { ># 51 "/usr/include/gtk-1.2/gtk/gtktipsquery.h" >typedef struct _GtkTipsQuery GtkTipsQuery; >typedef struct _GtkTipsQueryClass GtkTipsQueryClass; > > > >struct _GtkTipsQuery >{ > GtkLabel label; > > guint emit_always : 1; > guint in_query : 1; > gchar *label_inactive; > gchar *label_no_tip; > > GtkWidget *caller; > GtkWidget *last_crossed; > > GdkCursor *query_cursor; >}; > >struct _GtkTipsQueryClass >{ > GtkLabelClass parent_class; > > void (*start_query) (GtkTipsQuery *tips_query); > void (*stop_query) (GtkTipsQuery *tips_query); > void (*widget_entered) (GtkTipsQuery *tips_query, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private); > gint (*widget_selected) (GtkTipsQuery *tips_query, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private, > GdkEventButton *event); >}; > > > >GtkType gtk_tips_query_get_type (void); >GtkWidget* gtk_tips_query_new (void); >void gtk_tips_query_start_query (GtkTipsQuery *tips_query); >void gtk_tips_query_stop_query (GtkTipsQuery *tips_query); >void gtk_tips_query_set_caller (GtkTipsQuery *tips_query, > GtkWidget *caller); >void gtk_tips_query_set_labels (GtkTipsQuery *tips_query, > const gchar *label_inactive, > const gchar *label_no_tip); > > > > >} ># 122 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtktoolbar.h" 1 ># 37 "/usr/include/gtk-1.2/gtk/gtktoolbar.h" ># 1 "/usr/include/gtk-1.2/gtk/gtktooltips.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtktooltips.h" >extern "C" { ># 44 "/usr/include/gtk-1.2/gtk/gtktooltips.h" >typedef struct _GtkTooltips GtkTooltips; >typedef struct _GtkTooltipsClass GtkTooltipsClass; >typedef struct _GtkTooltipsData GtkTooltipsData; > >struct _GtkTooltipsData >{ > GtkTooltips *tooltips; > GtkWidget *widget; > gchar *tip_text; > gchar *tip_private; > GdkFont *font; > gint width; > GList *row; >}; > >struct _GtkTooltips >{ > GtkData data; > > GtkWidget *tip_window; > GtkTooltipsData *active_tips_data; > GList *tips_data_list; > > GdkGC *gc; > GdkColor *foreground; > GdkColor *background; > > guint delay : 30; > guint enabled : 1; > gint timer_tag; >}; > >struct _GtkTooltipsClass >{ > GtkDataClass parent_class; >}; > >GtkType gtk_tooltips_get_type (void); >GtkTooltips* gtk_tooltips_new (void); > >void gtk_tooltips_enable (GtkTooltips *tooltips); >void gtk_tooltips_disable (GtkTooltips *tooltips); >void gtk_tooltips_set_delay (GtkTooltips *tooltips, > guint delay); >void gtk_tooltips_set_tip (GtkTooltips *tooltips, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private); >void gtk_tooltips_set_colors (GtkTooltips *tooltips, > GdkColor *background, > GdkColor *foreground); >GtkTooltipsData* gtk_tooltips_data_get (GtkWidget *widget); >void gtk_tooltips_force_window (GtkTooltips *tooltips); > > > > >} ># 38 "/usr/include/gtk-1.2/gtk/gtktoolbar.h" 2 > > > >extern "C" { ># 51 "/usr/include/gtk-1.2/gtk/gtktoolbar.h" >typedef enum >{ > GTK_TOOLBAR_CHILD_SPACE, > GTK_TOOLBAR_CHILD_BUTTON, > GTK_TOOLBAR_CHILD_TOGGLEBUTTON, > GTK_TOOLBAR_CHILD_RADIOBUTTON, > GTK_TOOLBAR_CHILD_WIDGET >} GtkToolbarChildType; > >typedef enum >{ > GTK_TOOLBAR_SPACE_EMPTY, > GTK_TOOLBAR_SPACE_LINE >} GtkToolbarSpaceStyle; > >typedef struct _GtkToolbarChild GtkToolbarChild; >typedef struct _GtkToolbar GtkToolbar; >typedef struct _GtkToolbarClass GtkToolbarClass; > >struct _GtkToolbarChild >{ > GtkToolbarChildType type; > GtkWidget *widget; > GtkWidget *icon; > GtkWidget *label; >}; > >struct _GtkToolbar >{ > GtkContainer container; > > gint num_children; > GList *children; > GtkOrientation orientation; > GtkToolbarStyle style; > gint space_size; > GtkToolbarSpaceStyle space_style; > > GtkTooltips *tooltips; > > gint button_maxw; > gint button_maxh; > GtkReliefStyle relief; >}; > >struct _GtkToolbarClass >{ > GtkContainerClass parent_class; > > void (* orientation_changed) (GtkToolbar *toolbar, > GtkOrientation orientation); > void (* style_changed) (GtkToolbar *toolbar, > GtkToolbarStyle style); >}; > > >GtkType gtk_toolbar_get_type (void); >GtkWidget* gtk_toolbar_new (GtkOrientation orientation, > GtkToolbarStyle style); > > >GtkWidget* gtk_toolbar_append_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); >GtkWidget* gtk_toolbar_prepend_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); >GtkWidget* gtk_toolbar_insert_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data, > gint position); > > >void gtk_toolbar_append_space (GtkToolbar *toolbar); >void gtk_toolbar_prepend_space (GtkToolbar *toolbar); >void gtk_toolbar_insert_space (GtkToolbar *toolbar, > gint position); > > >GtkWidget* gtk_toolbar_append_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); > >GtkWidget* gtk_toolbar_prepend_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); > >GtkWidget* gtk_toolbar_insert_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data, > gint position); > > >void gtk_toolbar_append_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text); >void gtk_toolbar_prepend_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text); >void gtk_toolbar_insert_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text, > gint position); > > >void gtk_toolbar_set_orientation (GtkToolbar *toolbar, > GtkOrientation orientation); >void gtk_toolbar_set_style (GtkToolbar *toolbar, > GtkToolbarStyle style); >void gtk_toolbar_set_space_size (GtkToolbar *toolbar, > gint space_size); >void gtk_toolbar_set_space_style (GtkToolbar *toolbar, > GtkToolbarSpaceStyle space_style); >void gtk_toolbar_set_tooltips (GtkToolbar *toolbar, > gint enable); >void gtk_toolbar_set_button_relief (GtkToolbar *toolbar, > GtkReliefStyle relief); >GtkReliefStyle gtk_toolbar_get_button_relief (GtkToolbar *toolbar); > > > >} ># 124 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtktree.h" 1 ># 38 "/usr/include/gtk-1.2/gtk/gtktree.h" >extern "C" { ># 52 "/usr/include/gtk-1.2/gtk/gtktree.h" >typedef enum >{ > GTK_TREE_VIEW_LINE, > GTK_TREE_VIEW_ITEM >} GtkTreeViewMode; > >typedef struct _GtkTree GtkTree; >typedef struct _GtkTreeClass GtkTreeClass; > >struct _GtkTree >{ > GtkContainer container; > > GList *children; > > GtkTree* root_tree; > GtkWidget* tree_owner; > GList *selection; > guint level; > guint indent_value; > guint current_indent; > guint selection_mode : 2; > guint view_mode : 1; > guint view_line : 1; >}; > >struct _GtkTreeClass >{ > GtkContainerClass parent_class; > > void (* selection_changed) (GtkTree *tree); > void (* select_child) (GtkTree *tree, > GtkWidget *child); > void (* unselect_child) (GtkTree *tree, > GtkWidget *child); >}; > > >GtkType gtk_tree_get_type (void); >GtkWidget* gtk_tree_new (void); >void gtk_tree_append (GtkTree *tree, > GtkWidget *tree_item); >void gtk_tree_prepend (GtkTree *tree, > GtkWidget *tree_item); >void gtk_tree_insert (GtkTree *tree, > GtkWidget *tree_item, > gint position); >void gtk_tree_remove_items (GtkTree *tree, > GList *items); >void gtk_tree_clear_items (GtkTree *tree, > gint start, > gint end); >void gtk_tree_select_item (GtkTree *tree, > gint item); >void gtk_tree_unselect_item (GtkTree *tree, > gint item); >void gtk_tree_select_child (GtkTree *tree, > GtkWidget *tree_item); >void gtk_tree_unselect_child (GtkTree *tree, > GtkWidget *tree_item); >gint gtk_tree_child_position (GtkTree *tree, > GtkWidget *child); >void gtk_tree_set_selection_mode (GtkTree *tree, > GtkSelectionMode mode); >void gtk_tree_set_view_mode (GtkTree *tree, > GtkTreeViewMode mode); >void gtk_tree_set_view_lines (GtkTree *tree, > guint flag); > > > >void gtk_tree_remove_item (GtkTree *tree, > GtkWidget *child); > > > >} ># 126 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtktreeitem.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtktreeitem.h" >extern "C" { ># 49 "/usr/include/gtk-1.2/gtk/gtktreeitem.h" >typedef struct _GtkTreeItem GtkTreeItem; >typedef struct _GtkTreeItemClass GtkTreeItemClass; > >struct _GtkTreeItem >{ > GtkItem item; > > GtkWidget *subtree; > GtkWidget *pixmaps_box; > GtkWidget *plus_pix_widget, *minus_pix_widget; > > GList *pixmaps; > > guint expanded : 1; >}; > >struct _GtkTreeItemClass >{ > GtkItemClass parent_class; > > void (* expand) (GtkTreeItem *tree_item); > void (* collapse) (GtkTreeItem *tree_item); >}; > > >GtkType gtk_tree_item_get_type (void); >GtkWidget* gtk_tree_item_new (void); >GtkWidget* gtk_tree_item_new_with_label (const gchar *label); >void gtk_tree_item_set_subtree (GtkTreeItem *tree_item, > GtkWidget *subtree); >void gtk_tree_item_remove_subtree (GtkTreeItem *tree_item); >void gtk_tree_item_select (GtkTreeItem *tree_item); >void gtk_tree_item_deselect (GtkTreeItem *tree_item); >void gtk_tree_item_expand (GtkTreeItem *tree_item); >void gtk_tree_item_collapse (GtkTreeItem *tree_item); > > > >} ># 127 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-1.2/gtk/gtkvbbox.h" 1 ># 35 "/usr/include/gtk-1.2/gtk/gtkvbbox.h" >extern "C" { ># 44 "/usr/include/gtk-1.2/gtk/gtkvbbox.h" >typedef struct _GtkVButtonBox GtkVButtonBox; >typedef struct _GtkVButtonBoxClass GtkVButtonBoxClass; > >struct _GtkVButtonBox >{ > GtkButtonBox button_box; >}; > >struct _GtkVButtonBoxClass >{ > GtkButtonBoxClass parent_class; >}; > > >guint gtk_vbutton_box_get_type (void); >GtkWidget *gtk_vbutton_box_new (void); > > > >gint gtk_vbutton_box_get_spacing_default (void); >void gtk_vbutton_box_set_spacing_default (gint spacing); > >GtkButtonBoxStyle gtk_vbutton_box_get_layout_default (void); >void gtk_vbutton_box_set_layout_default (GtkButtonBoxStyle layout); > > > >} ># 130 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkvpaned.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkvpaned.h" >extern "C" { ># 45 "/usr/include/gtk-1.2/gtk/gtkvpaned.h" >typedef struct _GtkVPaned GtkVPaned; >typedef struct _GtkVPanedClass GtkVPanedClass; > >struct _GtkVPaned >{ > GtkPaned paned; >}; > >struct _GtkVPanedClass >{ > GtkPanedClass parent_class; >}; > > >guint gtk_vpaned_get_type (void); >GtkWidget* gtk_vpaned_new (void); > > > >} ># 132 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkvruler.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkvruler.h" >extern "C" { ># 45 "/usr/include/gtk-1.2/gtk/gtkvruler.h" >typedef struct _GtkVRuler GtkVRuler; >typedef struct _GtkVRulerClass GtkVRulerClass; > >struct _GtkVRuler >{ > GtkRuler ruler; >}; > >struct _GtkVRulerClass >{ > GtkRulerClass parent_class; >}; > > >guint gtk_vruler_get_type (void); >GtkWidget* gtk_vruler_new (void); > > > >} ># 133 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-1.2/gtk/gtkvscale.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkvscale.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkvscale.h" >typedef struct _GtkVScale GtkVScale; >typedef struct _GtkVScaleClass GtkVScaleClass; > >struct _GtkVScale >{ > GtkScale scale; >}; > >struct _GtkVScaleClass >{ > GtkScaleClass parent_class; >}; > > >GtkType gtk_vscale_get_type (void); >GtkWidget* gtk_vscale_new (GtkAdjustment *adjustment); > > > >} ># 134 "/usr/include/gtk-1.2/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-1.2/gtk/gtkvseparator.h" 1 ># 36 "/usr/include/gtk-1.2/gtk/gtkvseparator.h" >extern "C" { ># 47 "/usr/include/gtk-1.2/gtk/gtkvseparator.h" >typedef struct _GtkVSeparator GtkVSeparator; >typedef struct _GtkVSeparatorClass GtkVSeparatorClass; > >struct _GtkVSeparator >{ > GtkSeparator separator; >}; > >struct _GtkVSeparatorClass >{ > GtkSeparatorClass parent_class; >}; > > >GtkType gtk_vseparator_get_type (void); >GtkWidget* gtk_vseparator_new (void); > > > > >} ># 136 "/usr/include/gtk-1.2/gtk/gtk.h" 2 ># 15 "/usr/include/gnome-1.0/gnome.h" 2 ># 1 "/usr/include/gdk_imlib.h" 1 3 4 > > > > ># 1 "/usr/include/gdk_imlib_types.h" 1 3 4 > > > > > > >typedef struct _GdkImlibBorder GdkImlibBorder; >typedef struct _GdkImlibColor GdkImlibColor; >typedef struct _GdkImlibColorModifier GdkImlibColorModifier; >typedef struct _GdkImlibImage GdkImlibImage; >typedef struct _GdkImlibSaveInfo GdkImlibSaveInfo; >typedef struct _GdkImlibInitParams GdkImlibInitParams; >typedef struct _GdkImlibModifierMap GdkImlibModifierMap; > >struct _GdkImlibBorder > { > gint left, right; > gint top, bottom; > }; > >struct _GdkImlibColor > { > gint r, g, b; > gint pixel; > }; > >struct _GdkImlibColorModifier > { > gint gamma; > gint brightness; > gint contrast; > }; > >struct _GdkImlibModifierMap > { > unsigned char rmap[256], gmap[256], bmap[256]; > }; > >struct _GdkImlibImage > { > gint rgb_width, rgb_height; > unsigned char *rgb_data; > unsigned char *alpha_data; > gchar *filename; > > gint width, height; > GdkImlibColor shape_color; > GdkImlibBorder border; > GdkPixmap *pixmap; > GdkBitmap *shape_mask; > gchar cache; > GdkImlibColorModifier mod, rmod, gmod, bmod; > GdkImlibModifierMap *map; > int ref_count; > GHashTable *pixmaps; > }; > >struct _GdkImlibSaveInfo > { > int quality; > int scaling; > int xjustification; > int yjustification; > int page_size; > char color; > }; > >struct _GdkImlibInitParams > { > int flags; > int visualid; > char *palettefile; > char sharedmem; > char sharedpixmaps; > char paletteoverride; > char remap; > char fastrender; > char hiquality; > char dither; > int imagecachesize; > int pixmapcachesize; > }; ># 6 "/usr/include/gdk_imlib.h" 2 3 4 > > >extern "C" >{ > > > void gdk_imlib_init(void); > void gdk_imlib_init_params(GdkImlibInitParams * p); > gint gdk_imlib_get_render_type(void); > void gdk_imlib_set_render_type(gint rend_type); > gint gdk_imlib_load_colors(char *file); > GdkImlibImage *gdk_imlib_load_image(char *file); > GdkImlibImage *gdk_imlib_load_alpha (char *file); > gint gdk_imlib_best_color_match(gint * r, gint * g, gint * b); > void gdk_imlib_best_color_get(GdkColor * c); > gint gdk_imlib_render(GdkImlibImage * image, gint width, gint height); > GdkPixmap *gdk_imlib_copy_image(GdkImlibImage * image); > GdkBitmap *gdk_imlib_copy_mask(GdkImlibImage * image); > GdkPixmap *gdk_imlib_move_image(GdkImlibImage * image); > GdkBitmap *gdk_imlib_move_mask(GdkImlibImage * image); > void gdk_imlib_destroy_image(GdkImlibImage * image); > void gdk_imlib_kill_image(GdkImlibImage * image); > void gdk_imlib_free_colors(void); > void gdk_imlib_free_pixmap(GdkPixmap * pixmap); > void gdk_imlib_free_bitmap(GdkBitmap * bitmap); > void gdk_imlib_get_image_border(GdkImlibImage * image, GdkImlibBorder * border); > void gdk_imlib_set_image_border(GdkImlibImage * image, GdkImlibBorder * border); > void gdk_imlib_get_image_shape(GdkImlibImage * image, GdkImlibColor * color); > void gdk_imlib_set_image_shape(GdkImlibImage * image, GdkImlibColor * color); > gint gdk_imlib_save_image_to_eim(GdkImlibImage * image, char *file); > gint gdk_imlib_add_image_to_eim(GdkImlibImage * image, char *file); > gint gdk_imlib_save_image_to_ppm(GdkImlibImage * image, char *file); > gint gdk_imlib_load_file_to_pixmap(char *filename, GdkPixmap ** pmap, GdkBitmap ** mask); > void gdk_imlib_set_image_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_set_image_red_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_set_image_green_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_set_image_blue_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_get_image_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_get_image_red_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_get_image_green_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_get_image_blue_modifier(GdkImlibImage * im, GdkImlibColorModifier * mod); > void gdk_imlib_set_image_red_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_set_image_green_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_set_image_blue_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_get_image_red_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_get_image_green_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_get_image_blue_curve(GdkImlibImage * im, unsigned char *mod); > void gdk_imlib_apply_modifiers_to_rgb(GdkImlibImage * im); > void gdk_imlib_changed_image(GdkImlibImage * im); > void gdk_imlib_apply_image(GdkImlibImage * im, GdkWindow * p); > void gdk_imlib_paste_image(GdkImlibImage * im, GdkWindow * p, gint x, gint y, gint w, gint h); > void gdk_imlib_paste_image_border(GdkImlibImage * im, GdkWindow * p, gint x, gint y, gint w, gint h); > void gdk_imlib_flip_image_horizontal(GdkImlibImage * im); > void gdk_imlib_flip_image_vertical(GdkImlibImage * im); > void gdk_imlib_rotate_image(GdkImlibImage * im, gint d); > GdkImlibImage *gdk_imlib_create_image_from_data(unsigned char *data, unsigned char *alpha, gint w, gint h); > GdkImlibImage *gdk_imlib_clone_image(GdkImlibImage * im); > GdkImlibImage *gdk_imlib_clone_scaled_image(GdkImlibImage * im, int w, int h); > gint gdk_imlib_get_fallback(void); > void gdk_imlib_set_fallback(gint fallback); > GdkVisual *gdk_imlib_get_visual(void); > GdkColormap *gdk_imlib_get_colormap(void); > gchar *gdk_imlib_get_sysconfig(void); > GdkImlibImage *gdk_imlib_create_image_from_xpm_data(char **data); > gint gdk_imlib_data_to_pixmap(char **data, GdkPixmap ** pmap, GdkBitmap ** mask); > void gdk_imlib_crop_image(GdkImlibImage * im, gint x, gint y, gint w, gint h); > gint gdk_imlib_save_image(GdkImlibImage * im, char *file, GdkImlibSaveInfo * info); > GdkImlibImage *gdk_imlib_crop_and_clone_image(GdkImlibImage * im, int x, int y, int w, int h); > GdkImlibImage *gdk_imlib_create_image_from_drawable(GdkWindow * gwin, GdkBitmap * gmask, int x, int y, int width, int height); > GdkImlibImage *gdk_imlib_inlined_png_to_image(unsigned char *data, int data_size); > > void gdk_imlib_get_cache_info (int *cache_pixmaps, int *cache_images); > void gdk_imlib_set_cache_info (int cache_pixmaps, int cache_images); > >} ># 16 "/usr/include/gnome-1.0/gnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/libgnome.h" 1 ># 23 "/usr/include/gnome-1.0/libgnome/libgnome.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 24 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-config.h" 1 > > > > > >extern "C" { ># 47 "/usr/include/gnome-1.0/libgnome/gnome-config.h" >char *_gnome_config_get_string_with_default (const char *path, > gboolean *def, > gint priv); >char *_gnome_config_get_translated_string_with_default(const char *path, > gboolean *def, > gint priv); >gint _gnome_config_get_int_with_default (const char *path, > gboolean *def, > gint priv); >gdouble _gnome_config_get_float_with_default (const char *path, > gboolean *def, > gint priv); >gboolean _gnome_config_get_bool_with_default (const char *path, > gboolean *def, > gint priv); >void _gnome_config_get_vector_with_default (const char *path, gint *argcp, > char ***argvp, > gboolean *def, > gint priv); ># 132 "/usr/include/gnome-1.0/libgnome/gnome-config.h" >void _gnome_config_set_string (const char *path, const char *value, > gint priv); >void _gnome_config_set_translated_string (const char *path, const char *value, > gint priv); >void _gnome_config_set_int (const char *path, int value, > gint priv); >void _gnome_config_set_float (const char *path, gdouble value, > gint priv); >void _gnome_config_set_bool (const char *path, gboolean value, > gint priv); >void _gnome_config_set_vector (const char *path, > int argc, > const char * const argv[], > gint priv); ># 177 "/usr/include/gnome-1.0/libgnome/gnome-config.h" >gboolean _gnome_config_has_section (const char *path, gint priv); > > > > > > >void *_gnome_config_init_iterator (const char *path, gint priv); > > > > > > >void *_gnome_config_init_iterator_sections (const char *path, gint priv); > > > > > > >void *gnome_config_iterator_next (void *iterator_handle, char **key, char **value); > >void gnome_config_drop_all (void); > >void gnome_config_sync (void); > > >void _gnome_config_sync_file (char *path, int priv); > > > > > > > >void _gnome_config_drop_file (const char *path, gint priv); > > > > > > > >void _gnome_config_clean_file (const char *path, gint priv); > > > > > > > >void _gnome_config_clean_section (const char *path, gint priv); > > > > > > > >void _gnome_config_clean_key (const char *path, gint priv); ># 250 "/usr/include/gnome-1.0/libgnome/gnome-config.h" >void gnome_config_push_prefix (const char *path); >void gnome_config_pop_prefix (void); > > > > > >void gnome_config_make_vector (const char *string, int *argcp, char ***argvp); >char *gnome_config_assemble_vector (int argc, const char *const argv []); > > >void gnome_config_set_set_handler(void (*func)(void *),void *data); >void gnome_config_set_sync_handler(void (*func)(void *),void *data); > >} ># 25 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-dentry.h" 1 > > > >extern "C" { > >typedef struct { > char *name; > char *comment; > int exec_length; > > char **exec; > > char *tryexec; > char *icon; > char *docpath; > int terminal; > char *type; > char *location; > char *geometry; > > unsigned int multiple_args:1; > unsigned int is_kde:1; >} GnomeDesktopEntry; > >GnomeDesktopEntry *gnome_desktop_entry_load (const char *file); >GnomeDesktopEntry *gnome_desktop_entry_load_flags (const char *file, int clean_from_memory_after_load); >GnomeDesktopEntry *gnome_desktop_entry_load_flags_conditional (const char *file, int clean_from_memory_after_load, int unconditional); >GnomeDesktopEntry *gnome_desktop_entry_load_unconditional (const char *file); >void gnome_desktop_entry_save (GnomeDesktopEntry *dentry); >void gnome_desktop_entry_free (GnomeDesktopEntry *item); >void gnome_desktop_entry_destroy (GnomeDesktopEntry *item); >void gnome_desktop_entry_launch (GnomeDesktopEntry *item); >void gnome_desktop_entry_launch_with_args (GnomeDesktopEntry *item, int the_argc, char *the_argv[]); > >GnomeDesktopEntry *gnome_desktop_entry_copy (GnomeDesktopEntry * source); > > > >typedef struct _GnomeDesktopEntryI18N GnomeDesktopEntryI18N; >struct _GnomeDesktopEntryI18N { > char *lang; > char *name; > char *comment; >}; > >GList * gnome_desktop_entry_get_i18n_list (GnomeDesktopEntry *item); >void gnome_desktop_entry_set_i18n_list (GnomeDesktopEntry *item, GList *list); >void gnome_desktop_entry_free_i18n_list (GList *list); > >} ># 26 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-exec.h" 1 ># 25 "/usr/include/gnome-1.0/libgnome/gnome-exec.h" >extern "C" { > > > > > > > >int gnome_execute_async (const char *dir, int argc, char * const argv[]); >int gnome_execute_async_fds (const char *dir, int argc, char * const argv[], > gboolean close_fds); > > > > > > > >int gnome_execute_async_with_env (const char *dir, > int argc, char * const argv[], > int envc, char * const envv[]); >int gnome_execute_async_with_env_fds (const char *dir, int argc, > char * const argv[], int envc, > char * const envv[], gboolean close_fds); > > > > > > >int gnome_execute_shell (const char *dir, const char *commandline); >int gnome_execute_shell_fds (const char *dir, const char *commandline, > gboolean close_fds); >} ># 27 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-help.h" 1 > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 6 "/usr/include/gnome-1.0/libgnome/gnome-help.h" 2 > >extern "C" { > >typedef struct { > gchar *name; > gchar *path; >} GnomeHelpMenuEntry; > >gchar *gnome_help_file_find_file(gchar *app, gchar *path); > >gchar *gnome_help_file_path(gchar *app, gchar *path); > >void gnome_help_display(void *ignore, GnomeHelpMenuEntry *ref); > >void gnome_help_pbox_display (void *ignore, gint page_num, > GnomeHelpMenuEntry *ref); > >void gnome_help_pbox_goto (void *ignore, int ignore2, GnomeHelpMenuEntry *ref); > >void gnome_help_goto(void *ignore, gchar *file); > >} ># 28 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-i18n.h" 1 ># 13 "/usr/include/gnome-1.0/libgnome/gnome-i18n.h" >extern "C" { ># 39 "/usr/include/gnome-1.0/libgnome/gnome-i18n.h" >const char *gnome_i18n_get_language(void); ># 67 "/usr/include/gnome-1.0/libgnome/gnome-i18n.h" >GList *gnome_i18n_get_language_list (const gchar *category_name); > > > > >void gnome_i18n_set_preferred_language (const char *val); > > > >const char *gnome_i18n_get_preferred_language (void); > > > > >void gnome_i18n_init (void); > >} ># 29 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-metadata.h" 1 ># 23 "/usr/include/gnome-1.0/libgnome/gnome-metadata.h" >extern "C" { > > > > > > > >typedef enum >{ > GNOME_METADATA_OK = 0, > GNOME_METADATA_IO_ERROR, > > > GNOME_METADATA_NOT_FOUND >} GnomeMetadataError_t; > > > >int gnome_metadata_set (const char *file, const char *name, > int size, const char *data); > > > >int gnome_metadata_remove (const char *file, const char *name); > > > > > > >char **gnome_metadata_list (const char *file); > > > > >int gnome_metadata_get (const char *file, const char *name, > int *size, char **buffer); > > > >int gnome_metadata_get_fast (const char *file, const char *name, > int *size, char **buffer); > > > > >int gnome_metadata_rename (const char *from, const char *to); > > > >int gnome_metadata_copy (const char *from, const char *to); > > > >int gnome_metadata_delete (const char *file); > > > > >void gnome_metadata_regex_add (const char *regex, const char *key, > int size, const char *data); > > >void gnome_metadata_regex_remove (const char *regex, const char *key); > > > >void gnome_metadata_type_add (const char *type, const char *key, > int size, const char *data); > > >void gnome_metadata_type_remove (const char *type, const char *key); > >void gnome_metadata_lock (void); >void gnome_metadata_unlock (void); >} ># 30 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-mime.h" 1 > > > >extern "C" { > > >const char *gnome_mime_type (const gchar* filename); >const char *gnome_mime_type_or_default (const gchar *filename, > const gchar *defaultv); >const char *gnome_mime_type_of_file (const char *existing_filename); >const char *gnome_mime_type_or_default_of_file (const char *existing_filename, > const gchar *defaultv); >const char *gnome_mime_type_from_magic (const gchar *filename); > >GList *gnome_uri_list_extract_filenames (const gchar* uri_list); >GList *gnome_uri_list_extract_uris (const gchar* uri_list); >void gnome_uri_list_free_strings (GList *list); > >} ># 31 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-mime-info.h" 1 ># 24 "/usr/include/gnome-1.0/libgnome/gnome-mime-info.h" >extern "C" { > >const char *gnome_mime_get_value (const char *mime_type, char *key); >GList *gnome_mime_get_keys (const char *mime_type); > >const char *gnome_mime_program (const char* mime_type); >const char *gnome_mime_description (const char* mime_type); >const char *gnome_mime_test (const char* mime_type); >const char *gnome_mime_composetyped (const char* mime_type); >gboolean gnome_mime_copiousoutput (const char* mime_type, char *key); >gboolean gnome_mime_needsterminal (const char* mime_type, char *key); > >} ># 32 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-paper.h" 1 ># 27 "/usr/include/gnome-1.0/libgnome/gnome-paper.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 28 "/usr/include/gnome-1.0/libgnome/gnome-paper.h" 2 > >extern "C" { > >typedef struct _GnomePaper GnomePaper; >typedef struct _GnomeUnit GnomeUnit; > > > > >typedef GnomePaper Paper; >typedef GnomeUnit Unit; > >GList* gnome_paper_name_list (void); >const GnomePaper *gnome_paper_with_name (const gchar *papername); >const GnomePaper *gnome_paper_with_size (double pswidth, double psheight); > >const gchar *gnome_paper_name (const GnomePaper *paper); >gdouble gnome_paper_pswidth (const GnomePaper *paper); >gdouble gnome_paper_psheight (const GnomePaper *paper); >gdouble gnome_paper_lmargin (const GnomePaper *paper); >gdouble gnome_paper_tmargin (const GnomePaper *paper); >gdouble gnome_paper_rmargin (const GnomePaper *paper); >gdouble gnome_paper_bmargin (const GnomePaper *paper); > >const gchar *gnome_paper_name_default (void); > >GList* gnome_unit_name_list (void); >const GnomeUnit *gnome_unit_with_name (const gchar *unitname); > >gdouble gnome_paper_convert (double psvalue, const GnomeUnit *unit); >double gnome_paper_convert_to_points (double othervalue, const GnomeUnit *unit); > >} ># 34 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-popt.h" 1 > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 6 "/usr/include/gnome-1.0/libgnome/gnome-popt.h" 2 > >extern "C" { > > ># 1 "/usr/include/gnome-1.0/popt-gnome.h" 1 ># 9 "/usr/include/gnome-1.0/popt-gnome.h" >extern "C" { ># 54 "/usr/include/gnome-1.0/popt-gnome.h" >struct poptOption { > const char * longName; > char shortName; > int argInfo; > void * arg; > int val; > const char * descrip; > const char * argDescrip; >}; > >struct poptAlias { > const char * longName; > char shortName; > int argc; > const char ** argv; >}; > >extern struct poptOption poptHelpOptions[]; > > > >typedef struct poptContext_s * poptContext; > > > > >enum poptCallbackReason { POPT_CALLBACK_REASON_PRE, > POPT_CALLBACK_REASON_POST, > POPT_CALLBACK_REASON_OPTION }; >typedef void (*poptCallbackType)(poptContext con, > enum poptCallbackReason reason, > const struct poptOption * opt, > const char * arg, const void * data); > >poptContext poptGetContext(const char * name, int argc, char ** argv, > const struct poptOption * options, int flags); >void poptResetContext(poptContext con); > > >int poptGetNextOpt(poptContext con); > >char * poptGetOptArg(poptContext con); > >char * poptGetArg(poptContext con); >const char * poptPeekArg(poptContext con); >const char ** poptGetArgs(poptContext con); > >const char * poptBadOption(poptContext con, int flags); >void poptFreeContext(poptContext con); >int poptStuffArgs(poptContext con, const char ** argv); >int poptAddAlias(poptContext con, struct poptAlias alias, int flags); >int poptReadConfigFile(poptContext con, const char * fn); > > >int poptReadDefaultConfig(poptContext con, int useEnv); > > >int poptParseArgvString(const char * s, int * argcPtr, char *** argvPtr); >const char * poptStrerror(const int error); >void poptSetExecPath(poptContext con, const char * path, int allowAbsolute); >void poptPrintHelp(poptContext con, FILE * f, int flags); >void poptPrintUsage(poptContext con, FILE * f, int flags); >void poptSetOtherOptionHelp(poptContext con, const char * text); >const char * poptGetInvocationName(poptContext con); > > >} ># 11 "/usr/include/gnome-1.0/libgnome/gnome-popt.h" 2 > >void gnomelib_register_popt_table(const struct poptOption *options, > const char *description); > >poptContext gnomelib_parse_args(int argc, char *argv[], > int popt_flags); > > > >extern char *program_invocation_short_name; >extern char *program_invocation_name; >} ># 35 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-remote.h" 1 ># 23 "/usr/include/gnome-1.0/libgnome/gnome-remote.h" >extern "C" { > > > > > >void gnome_remote_get_command (const char *host, gint *argcp, char ***argvp); > > > > >void gnome_remote_set_command (const char *host, gint argc, const char * const argv[]); > >} ># 36 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-score.h" 1 > > > > > > > >extern "C" { ># 17 "/usr/include/gnome-1.0/libgnome/gnome-score.h" >gint >gnome_score_init (const gchar * gamename); > > >gint >gnome_score_log(gfloat score, > gchar *level, > > > > gboolean higher_to_lower_score_order); > > >gint >gnome_score_get_notable(gchar *gamename, > gchar *level, > gchar ***names, > gfloat **scores, > time_t **scoretimes); >} ># 37 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-sound.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnome/gnome-sound.h" 2 > >extern "C" { ># 28 "/usr/include/gnome-1.0/libgnome/gnome-sound.h" >extern int gnome_sound_connection; > > >void gnome_sound_init(const char *hostname); > > >void gnome_sound_shutdown(void); > > >int gnome_sound_sample_load(const char *sample_name, const char *filename); > > >void gnome_sound_play (const char * filename); > >} ># 38 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-triggers.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnome/gnome-triggers.h" 2 > >extern "C" { > >typedef enum { > GTRIG_NONE, > GTRIG_FUNCTION, > GTRIG_COMMAND, > GTRIG_MEDIAPLAY >} GnomeTriggerType; > >typedef void (*GnomeTriggerActionFunction)(char *msg, char *level, char *supinfo[]); > >struct _GnomeTrigger { > GnomeTriggerType type; > union { > > > > > GnomeTriggerActionFunction function; > gchar *command; > struct { > gchar *file; > int cache_id; > } media; > } u; > gchar *level; >}; >typedef struct _GnomeTrigger GnomeTrigger; > >void gnome_triggers_init (void); >gint gnome_triggers_readfile (const char *infilename); ># 47 "/usr/include/gnome-1.0/libgnome/gnome-triggers.h" >void gnome_triggers_add_trigger (GnomeTrigger *nt, ...); >void gnome_triggers_vadd_trigger (GnomeTrigger *nt, > char *supinfo[]); > >void gnome_triggers_do (const char *msg, > const char *level, ...); > >void gnome_triggers_vdo (const char *msg, const char *level, > const char *supinfo[]); > >} ># 39 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-util.h" 1 > > > > > > >extern "C" { ># 17 "/usr/include/gnome-1.0/libgnome/gnome-util.h" >char *gnome_libdir_file (const char *filename); >char *gnome_datadir_file (const char *filename); >char *gnome_sound_file (const char *filename); >char *gnome_pixmap_file (const char *filename); >char *gnome_config_file (const char *filename); >char *gnome_unconditional_libdir_file (const char *filename); >char *gnome_unconditional_datadir_file (const char *filename); >char *gnome_unconditional_sound_file (const char *filename); >char *gnome_unconditional_pixmap_file (const char *filename); >char *gnome_unconditional_config_file (const char *filename); > >enum { > G_FILE_TEST_EXISTS=(1<<0)|(1<<1)|(1<<2), > G_FILE_TEST_ISFILE=1<<0, > G_FILE_TEST_ISLINK=1<<1, > G_FILE_TEST_ISDIR=1<<2 >}; > >int g_file_test (const char *filename, int test); >int g_file_exists (const char *filename); > > >gchar *gnome_is_program_in_path (const gchar *program); > > > > > >const char *g_unix_error_string (int error_num); > > >char *g_concat_dir_and_file (const char *dir, const char *file); ># 61 "/usr/include/gnome-1.0/libgnome/gnome-util.h" >const char * g_extension_pointer (const char * path); > > >char ** g_copy_vector (char ** vec); ># 87 "/usr/include/gnome-1.0/libgnome/gnome-util.h" >char *gnome_util_user_shell (void); > > >gboolean g_is_image_filename(const char * path); > >} ># 40 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnome/gnome-url.h" 1 ># 21 "/usr/include/gnome-1.0/libgnome/gnome-url.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 22 "/usr/include/gnome-1.0/libgnome/gnome-url.h" 2 > >extern "C" { ># 38 "/usr/include/gnome-1.0/libgnome/gnome-url.h" >void gnome_url_show(const char *url); > >} ># 41 "/usr/include/gnome-1.0/libgnome/libgnome.h" 2 > >extern char *gnome_user_home_dir; >extern char *gnome_user_dir; >extern char *gnome_user_private_dir; >extern char *gnome_user_accels_dir; >extern char *gnome_app_id, *gnome_app_version; >extern char gnome_do_not_create_directories; > >extern "C" { > >void gnomelib_init (const char *app_id, const char *app_version); > >} ># 17 "/usr/include/gnome-1.0/gnome.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-compat.h" 1 ># 5 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 7 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-uidefs.h" 1 ># 39 "/usr/include/gnome-1.0/libgnomeui/gnome-uidefs.h" ># 1 "/usr/include/gtk-1.2/gdk/gdkkeysyms.h" 1 ># 40 "/usr/include/gnome-1.0/libgnomeui/gnome-uidefs.h" 2 ># 8 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-about.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-about.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 16 "/usr/include/gnome-1.0/libgnomeui/gnome-about.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog.h" 2 > > > >extern "C" { > > > > > > > >typedef struct _GnomeDialog GnomeDialog; >typedef struct _GnomeDialogClass GnomeDialogClass; > > > >struct _GnomeDialog >{ > GtkWindow window; > > GtkWidget * vbox; > > GtkWidget * action_area; > > GList *buttons; > GtkAccelGroup * accelerators; > > unsigned int click_closes : 1; > unsigned int just_hide : 1; > > gpointer padding; >}; > >struct _GnomeDialogClass >{ > GtkWindowClass parent_class; > > void (* clicked) (GnomeDialog *dialog, gint button_number); > gboolean (* close) (GnomeDialog * dialog); >}; > > > > > > > >guint gnome_dialog_get_type (void); > > >GtkWidget* gnome_dialog_new (const gchar * title, > ...); > >GtkWidget* gnome_dialog_newv (const gchar * title, > const gchar **buttons); > > > >void gnome_dialog_set_parent (GnomeDialog * dialog, > GtkWindow * parent); > > > > > >void gnome_dialog_button_connect (GnomeDialog *dialog, > gint button, > GtkSignalFunc callback, > gpointer data); > >void gnome_dialog_button_connect_object (GnomeDialog *dialog, > gint button, > GtkSignalFunc callback, > GtkObject * obj); > > > > >gint gnome_dialog_run (GnomeDialog *dialog); >gint gnome_dialog_run_and_close (GnomeDialog *dialog); > > > > >void gnome_dialog_set_default (GnomeDialog *dialog, > gint button); > > >void gnome_dialog_grab_focus (GnomeDialog *dialog, > gint button); > >void gnome_dialog_set_sensitive (GnomeDialog *dialog, > gint button, > gboolean setting); > > > > > > > >void gnome_dialog_set_accelerator(GnomeDialog * dialog, > gint button, > const guchar accelerator_key, > guint8 accelerator_mods); > > > >void gnome_dialog_close (GnomeDialog * dialog); > > >void gnome_dialog_close_hides (GnomeDialog * dialog, > gboolean just_hide); > > > > >void gnome_dialog_set_close (GnomeDialog * dialog, > gboolean click_closes); > > > > >void gnome_dialog_editable_enters (GnomeDialog * dialog, > GtkEditable * editable); > > > >void gnome_dialog_append_buttons (GnomeDialog * dialog, > const gchar * first, > ...); >void gnome_dialog_append_button (GnomeDialog * dialog, > const gchar * name); >void gnome_dialog_append_buttonsv (GnomeDialog * dialog, > const gchar **buttons); > > >void gnome_dialog_append_button_with_pixmap (GnomeDialog * dialog, > const gchar * name, > const gchar * pixmap); >void gnome_dialog_append_buttons_with_pixmaps (GnomeDialog * dialog, > const gchar **names, > const gchar **pixmaps); > > > > >void gnome_dialog_construct (GnomeDialog * dialog, > const gchar * title, > va_list ap); >void gnome_dialog_constructv (GnomeDialog * dialog, > const gchar * title, > const gchar **buttons); > >} ># 17 "/usr/include/gnome-1.0/libgnomeui/gnome-about.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeAbout GnomeAbout; >typedef struct _GnomeAboutClass GnomeAboutClass; > >struct _GnomeAbout >{ > GnomeDialog dialog; >}; > >struct _GnomeAboutClass >{ > GnomeDialogClass parent_class; >}; > > >guint gnome_about_get_type (void); ># 56 "/usr/include/gnome-1.0/libgnomeui/gnome-about.h" >GtkWidget* gnome_about_new (const gchar *title, > const gchar *version, > const gchar *copyright, > > const gchar **authors, > > const gchar *comments, > const gchar *logo > ); > > > >void >gnome_about_construct (GnomeAbout *about, > const gchar *title, > const gchar *version, > const gchar *copyright, > const gchar **authors, > const gchar *comments, > const gchar *logo); >} ># 9 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-animator.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-animator.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 30 "/usr/include/gnome-1.0/libgnomeui/gnome-animator.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap.h" 1 ># 9 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 10 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap.h" 2 > >extern "C" { ># 21 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap.h" >typedef struct _GnomePixmap GnomePixmap; >typedef struct _GnomePixmapClass GnomePixmapClass; > >struct _GnomePixmap { > GtkWidget widget; > > GdkPixmap *pixmap; > GdkBitmap *mask; >}; > >struct _GnomePixmapClass { > GtkWidgetClass parent_class; >}; > > >guint gnome_pixmap_get_type (void); > >GtkWidget *gnome_pixmap_new_from_file (const char *filename); >GtkWidget *gnome_pixmap_new_from_file_at_size (const char *filename, int width, int height); >GtkWidget *gnome_pixmap_new_from_xpm_d (char **xpm_data); >GtkWidget *gnome_pixmap_new_from_xpm_d_at_size (char **xpm_data, int width, int height); >GtkWidget *gnome_pixmap_new_from_rgb_d (unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height); >GtkWidget *gnome_pixmap_new_from_rgb_d_shaped (unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height, > GdkImlibColor *shape_color); >GtkWidget * gnome_pixmap_new_from_rgb_d_shaped_at_size (unsigned char *data, > unsigned char *alpha, > int rgb_width, int rgb_height, > int width, int height, > GdkImlibColor *shape_color); >GtkWidget *gnome_pixmap_new_from_rgb_d_at_size (unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height, > int width, int height); >GtkWidget *gnome_pixmap_new_from_gnome_pixmap (GnomePixmap *gpixmap); >GtkWidget *gnome_pixmap_new_from_imlib (GdkImlibImage *im); >GtkWidget *gnome_pixmap_new_from_imlib_at_size (GdkImlibImage *im, > int width, int height); > >void gnome_pixmap_load_file (GnomePixmap *gpixmap, const char *filename); >void gnome_pixmap_load_file_at_size (GnomePixmap *gpixmap, const char *filename, int width, int height); >void gnome_pixmap_load_xpm_d (GnomePixmap *gpixmap, char **xpm_data); >void gnome_pixmap_load_xpm_d_at_size (GnomePixmap *gpixmap, char **xpm_data, int width, int height); >void gnome_pixmap_load_rgb_d (GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height); >void gnome_pixmap_load_rgb_d_shaped (GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height, > GdkImlibColor *shape_color); >void gnome_pixmap_load_rgb_d_shaped_at_size (GnomePixmap *gpixmap, > unsigned char *data, > unsigned char *alpha, > int rgb_width, int rgb_height, > int width, int height, > GdkImlibColor *shape_color); >void gnome_pixmap_load_rgb_d_at_size (GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha, > int rgb_width, int rgb_height, > int width, int height); >void gnome_pixmap_load_imlib (GnomePixmap *gpixmap, > GdkImlibImage *im); >void gnome_pixmap_load_imlib_at_size (GnomePixmap *gpixmap, > GdkImlibImage *im, > int width, int height); > > >} ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-animator.h" 2 > >extern "C" { ># 45 "/usr/include/gnome-1.0/libgnomeui/gnome-animator.h" >typedef enum >{ > GNOME_ANIMATOR_STATUS_STOPPED, > GNOME_ANIMATOR_STATUS_RUNNING >} GnomeAnimatorStatus; > > > >typedef enum >{ > > > GNOME_ANIMATOR_LOOP_NONE, > > > > GNOME_ANIMATOR_LOOP_RESTART, > > > > GNOME_ANIMATOR_LOOP_PING_PONG >} GnomeAnimatorLoopType; > >typedef struct _GnomeAnimator GnomeAnimator; >typedef struct _GnomeAnimatorClass GnomeAnimatorClass; > > >typedef struct _GnomeAnimatorFrame GnomeAnimatorFrame; >typedef struct _GnomeAnimatorPrivate GnomeAnimatorPrivate; > >struct _GnomeAnimator > { > GtkWidget widget; > > guint num_frames; > > guint current_frame_number; > > GnomeAnimatorStatus status; > > GnomeAnimatorLoopType loop_type; > > gint playback_direction; > > gdouble playback_speed; > > GnomeAnimatorPrivate *privat; > }; > >struct _GnomeAnimatorClass > { > GtkWidgetClass parent_class; > }; > > > >guint gnome_animator_get_type (void); > > >GtkWidget *gnome_animator_new_with_size (guint width, > guint height); > > >void gnome_animator_set_loop_type (GnomeAnimator *animator, > GnomeAnimatorLoopType loop_type); >GnomeAnimatorLoopType gnome_animator_get_loop_type (GnomeAnimator *animator); > > > >void gnome_animator_set_playback_direction (GnomeAnimator *animator, > gint playback_direction); >gint gnome_animator_get_playback_direction (GnomeAnimator *animator); > > >gboolean gnome_animator_append_frame_from_imlib_at_size (GnomeAnimator *animator, > GdkImlibImage *image, > gint x_offset, > gint y_offset, > guint32 interval, > guint width, > guint height); > > >gboolean gnome_animator_append_frame_from_imlib (GnomeAnimator *animator, > GdkImlibImage *image, > gint x_offset, > gint y_offset, > guint32 interval); > > >gboolean gnome_animator_append_frame_from_file_at_size (GnomeAnimator *animator, > const gchar *name, > gint x_offset, > gint y_offset, > guint32 interval, > guint width, > guint height); > > >gboolean gnome_animator_append_frame_from_file (GnomeAnimator *animator, > const gchar *name, > gint x_offset, > gint y_offset, > guint32 interval); > > > > >gboolean gnome_animator_append_frames_from_imlib_at_size (GnomeAnimator *animator, > GdkImlibImage *image, > gint x_offset, > gint y_offset, > guint32 interval, > gint x_unit, > guint width, > guint height); > > > > >gboolean gnome_animator_append_frames_from_imlib (GnomeAnimator *animator, > GdkImlibImage *image, > gint x_offset, > gint y_offset, > guint32 interval, > gint x_unit); > > > > >gboolean gnome_animator_append_frames_from_file_at_size (GnomeAnimator *animator, > const gchar *name, > gint x_offset, > gint y_offset, > guint32 interval, > gint x_unit, > guint width, > guint height); > > > > >gboolean gnome_animator_append_frames_from_file (GnomeAnimator *animator, > const gchar *name, > gint x_offset, > gint y_offset, > guint32 interval, > gint x_unit); > > >gboolean gnome_animator_append_frame_from_gnome_pixmap (GnomeAnimator *animator, > GnomePixmap *pixmap, > gint x_offset, > gint y_offset, > guint32 interval); > > >void gnome_animator_start (GnomeAnimator *animator); > > >void gnome_animator_stop (GnomeAnimator *animator); > > > > > > >gboolean gnome_animator_advance (GnomeAnimator *animator, > gint num); > > > >void gnome_animator_goto_frame (GnomeAnimator *animator, > guint frame_number); > > >guint gnome_animator_get_current_frame_number (GnomeAnimator *animator); > > >GnomeAnimatorStatus gnome_animator_get_status (GnomeAnimator *animator); > > > >void gnome_animator_set_playback_speed (GnomeAnimator *animator, > gdouble speed); >gdouble gnome_animator_get_playback_speed (GnomeAnimator *animator); > >} ># 11 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-app.h" 1 ># 20 "/usr/include/gnome-1.0/libgnomeui/gnome-app.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 21 "/usr/include/gnome-1.0/libgnomeui/gnome-app.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dock.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-dock.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-dock.h" 2 > >extern "C" { > > > > > > > >typedef enum >{ > GNOME_DOCK_TOP, > GNOME_DOCK_RIGHT, > GNOME_DOCK_BOTTOM, > GNOME_DOCK_LEFT, > GNOME_DOCK_FLOATING >} GnomeDockPlacement; > >typedef struct _GnomeDock GnomeDock; >typedef struct _GnomeDockClass GnomeDockClass; > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeDockBand GnomeDockBand; >typedef struct _GnomeDockBandClass GnomeDockBandClass; >typedef struct _GnomeDockBandChild GnomeDockBandChild; > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dock.h" 1 ># 43 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-item.h" 1 ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-item.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 32 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-item.h" 2 > >extern "C" { > > > > > > > >typedef enum >{ > GNOME_DOCK_ITEM_BEH_NORMAL = 0, > GNOME_DOCK_ITEM_BEH_EXCLUSIVE = 1 << 0, > GNOME_DOCK_ITEM_BEH_NEVER_FLOATING = 1 << 1, > GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL = 1 << 2, > GNOME_DOCK_ITEM_BEH_NEVER_HORIZONTAL = 1 << 3, > GNOME_DOCK_ITEM_BEH_LOCKED = 1 << 4 >} GnomeDockItemBehavior; > > > > > > > >typedef struct _GnomeDockItem GnomeDockItem; >typedef struct _GnomeDockItemClass GnomeDockItemClass; > >struct _GnomeDockItem >{ > GtkBin bin; > > gchar *name; > > GdkWindow *bin_window; > GdkWindow *float_window; > GtkShadowType shadow_type; > > GtkOrientation orientation; > GnomeDockItemBehavior behavior; > > guint float_window_mapped : 1; > guint is_floating : 1; > guint in_drag : 1; > > > gint dragoff_x, dragoff_y; > > > gint float_x, float_y; > > > guint grab_on_map_event; >}; > >struct _GnomeDockItemClass >{ > GtkBinClass parent_class; > > void (* dock_drag_begin) (GnomeDockItem *item); > void (* dock_drag_motion) (GnomeDockItem *item, gint x, gint y); > void (* dock_drag_end) (GnomeDockItem *item); > void (* dock_detach) (GnomeDockItem *item); >}; > > >guint gnome_dock_item_get_type (void); >GtkWidget *gnome_dock_item_new (const gchar *name, > GnomeDockItemBehavior behavior); >void gnome_dock_item_construct (GnomeDockItem *new_dock_item, > const gchar *name, > GnomeDockItemBehavior behavior); > >GtkWidget *gnome_dock_item_get_child (GnomeDockItem *dock_item); > >char *gnome_dock_item_get_name (GnomeDockItem *dock_item); > >void gnome_dock_item_set_shadow_type (GnomeDockItem *dock_item, > GtkShadowType type); > >GtkShadowType gnome_dock_item_get_shadow_type (GnomeDockItem *dock_item); > >gboolean gnome_dock_item_set_orientation (GnomeDockItem *dock_item, > GtkOrientation orientation); > >GtkOrientation gnome_dock_item_get_orientation (GnomeDockItem *dock_item); > >GnomeDockItemBehavior > gnome_dock_item_get_behavior (GnomeDockItem *dock_item); > > >gboolean gnome_dock_item_detach (GnomeDockItem *item, > gint x, gint y); > >void gnome_dock_item_attach (GnomeDockItem *item, > GtkWidget *parent, > gint x, gint y); > >void gnome_dock_item_grab_pointer (GnomeDockItem *item); > >void gnome_dock_item_drag_floating (GnomeDockItem *item, > gint x, gint y); > >void gnome_dock_item_handle_size_request > (GnomeDockItem *item, > GtkRequisition *requisition); > >void gnome_dock_item_get_floating_position > (GnomeDockItem *item, > gint *x, gint *y); > >} ># 44 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-layout.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-layout.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-layout.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeDockLayoutItem GnomeDockLayoutItem; >typedef struct _GnomeDockLayoutClass GnomeDockLayoutClass; >typedef struct _GnomeDockLayout GnomeDockLayout; > > > > >struct _GnomeDockLayoutItem >{ > GnomeDockItem *item; > > GnomeDockPlacement placement; > > union > { > struct > { > gint x; > gint y; > GtkOrientation orientation; > } floating; > > struct > { > gint band_num; > gint band_position; > gint offset; > } docked; > > } position; >}; > >struct _GnomeDockLayout >{ > GtkObject object; > > GList *items; >}; > >struct _GnomeDockLayoutClass >{ > GtkObjectClass parent_class; >}; > > > >GnomeDockLayout *gnome_dock_layout_new (void); >guint gnome_dock_layout_get_type (void); > >gboolean gnome_dock_layout_add_item (GnomeDockLayout *layout, > GnomeDockItem *item, > GnomeDockPlacement placement, > gint band_num, > gint band_position, > gint offset); > >gboolean gnome_dock_layout_add_floating_item > (GnomeDockLayout *layout, > GnomeDockItem *item, > gint x, gint y, > GtkOrientation orientation); > >GnomeDockLayoutItem *gnome_dock_layout_get_item (GnomeDockLayout *layout, > GnomeDockItem *item); >GnomeDockLayoutItem *gnome_dock_layout_get_item_by_name > (GnomeDockLayout *layout, > const gchar *name); > >gboolean gnome_dock_layout_remove_item > (GnomeDockLayout *layout, > GnomeDockItem *item); >gboolean gnome_dock_layout_remove_item_by_name > (GnomeDockLayout *layout, > const gchar *name); > >gchar *gnome_dock_layout_create_string > (GnomeDockLayout *layout); >gboolean gnome_dock_layout_parse_string > (GnomeDockLayout *layout, > const gchar *string); > >gboolean gnome_dock_layout_add_to_dock > (GnomeDockLayout *layout, > GnomeDock *dock); > >} ># 45 "/usr/include/gnome-1.0/libgnomeui/gnome-dock-band.h" 2 > >struct _GnomeDockBand >{ > GtkContainer container; > > GtkOrientation orientation; > > GList *children; > guint num_children; > > GList *floating_child; > > gboolean doing_drag; > > guint max_space_requisition; > guint tot_offsets; > > > > > > > GtkAllocation drag_allocation; > > guint new_for_drag : 1; >}; > >struct _GnomeDockBandClass >{ > GtkContainerClass parent_class; >}; > >struct _GnomeDockBandChild >{ > GtkWidget *widget; > > > guint offset; > > > guint real_offset; > > guint drag_offset; > > GtkAllocation drag_allocation; > > guint prev_space, foll_space; > guint drag_prev_space, drag_foll_space; > > guint max_space_requisition; >}; > >GtkWidget *gnome_dock_band_new (void); >guint gnome_dock_band_get_type (void); > >void gnome_dock_band_set_orientation (GnomeDockBand *band, > GtkOrientation orientation); >GtkOrientation gnome_dock_band_get_orientation (GnomeDockBand *band); > >gboolean gnome_dock_band_insert (GnomeDockBand *band, > GtkWidget *child, > guint offset, > gint position); >gboolean gnome_dock_band_prepend (GnomeDockBand *band, > GtkWidget *child, > guint offset); >gboolean gnome_dock_band_append (GnomeDockBand *band, > GtkWidget *child, > guint offset); > >void gnome_dock_band_set_child_offset (GnomeDockBand *band, > GtkWidget *child, > guint offset); >guint gnome_dock_band_get_child_offset (GnomeDockBand *band, > GtkWidget *child); >void gnome_dock_band_move_child (GnomeDockBand *band, > GList *old_child, > guint new_num); > >guint gnome_dock_band_get_num_children (GnomeDockBand *band); > >void gnome_dock_band_drag_begin (GnomeDockBand *band, > GnomeDockItem *item); >gboolean gnome_dock_band_drag_to (GnomeDockBand *band, > GnomeDockItem *item, > gint x, gint y); >void gnome_dock_band_drag_end (GnomeDockBand *band, > GnomeDockItem *item); > >GnomeDockItem *gnome_dock_band_get_item_by_name (GnomeDockBand *band, > const char *name, > guint *position_return, > guint *offset_return); > >void gnome_dock_band_layout_add (GnomeDockBand *band, > GnomeDockLayout *layout, > GnomeDockPlacement placement, > guint band_num); >} ># 51 "/usr/include/gnome-1.0/libgnomeui/gnome-dock.h" 2 > > >struct _GnomeDock >{ > GtkContainer container; > > GtkWidget *client_area; > > > GList *top_bands; > GList *bottom_bands; > GList *right_bands; > GList *left_bands; > > > GList *floating_children; > > > GtkAllocation client_rect; > > gboolean floating_items_allowed : 1; >}; > >struct _GnomeDockClass >{ > GtkContainerClass parent_class; > > void (* layout_changed) (GnomeDock *dock); >}; > >GtkWidget *gnome_dock_new (void); >guint gnome_dock_get_type (void); > >void gnome_dock_allow_floating_items > (GnomeDock *dock, > gboolean enable); > >void gnome_dock_add_item (GnomeDock *dock, > GnomeDockItem *item, > GnomeDockPlacement placement, > guint band_num, > gint position, > guint offset, > gboolean in_new_band); > >void gnome_dock_add_floating_item (GnomeDock *dock, > GnomeDockItem *widget, > gint x, gint y, > GtkOrientation orientation); > >void gnome_dock_set_client_area (GnomeDock *dock, > GtkWidget *widget); > >GtkWidget *gnome_dock_get_client_area (GnomeDock *dock); > >GnomeDockItem *gnome_dock_get_item_by_name (GnomeDock *dock, > const gchar *name, > GnomeDockPlacement *placement_return, > guint *num_band_return, > guint *band_position_return, > guint *offset_return); > >GnomeDockLayout *gnome_dock_get_layout (GnomeDock *dock); > >gboolean gnome_dock_add_from_layout (GnomeDock *dock, > GnomeDockLayout *layout); > >} ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-app.h" 2 > >extern "C" { ># 37 "/usr/include/gnome-1.0/libgnomeui/gnome-app.h" >typedef struct _GnomeApp GnomeApp; >typedef struct _GnomeAppClass GnomeAppClass; > >struct _GnomeApp { > GtkWindow parent_object; > > > gchar *name; > > > gchar *prefix; > > > GtkWidget *dock; > > > GtkWidget *statusbar; > > > GtkWidget *vbox; > > > > GtkWidget *menubar; > > > GtkWidget *contents; > > > GnomeDockLayout *layout; > > > GtkAccelGroup *accel_group; > > > > gboolean enable_layout_config : 1; >}; > >struct _GnomeAppClass { > GtkWindowClass parent_class; >}; > > > >GtkType gnome_app_get_type (void); > > > > > >GtkWidget *gnome_app_new (const gchar *appname, const gchar *title); > > >void gnome_app_construct (GnomeApp *app, const gchar *appname, const gchar *title); > > >void gnome_app_set_menus (GnomeApp *app, GtkMenuBar *menubar); > > >void gnome_app_set_toolbar (GnomeApp *app, GtkToolbar *toolbar); > > >void gnome_app_set_statusbar (GnomeApp *app, GtkWidget *statusbar); > > > >void gnome_app_set_statusbar_custom (GnomeApp *app, > GtkWidget *container, > GtkWidget *statusbar); > > >void gnome_app_set_contents (GnomeApp *app, GtkWidget *contents); > >void gnome_app_add_toolbar (GnomeApp *app, > GtkToolbar *toolbar, > const gchar *name, > GnomeDockItemBehavior behavior, > GnomeDockPlacement placement, > gint band_num, > gint band_position, > gint offset); > >void gnome_app_add_docked (GnomeApp *app, > GtkWidget *widget, > const gchar *name, > GnomeDockItemBehavior behavior, > GnomeDockPlacement placement, > gint band_num, > gint band_position, > gint offset); > >void gnome_app_add_dock_item (GnomeApp *app, > GnomeDockItem *item, > GnomeDockPlacement placement, > gint band_num, > gint band_position, > gint offset); > >void gnome_app_enable_layout_config (GnomeApp *app, gboolean enable); > >GnomeDock *gnome_app_get_dock (GnomeApp *app); > >GnomeDockItem *gnome_app_get_dock_item_by_name (GnomeApp *app, > const gchar *name); > >} ># 13 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-appbar.h" 1 ># 30 "/usr/include/gnome-1.0/libgnomeui/gnome-appbar.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-appbar.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-types.h" 1 > > > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 8 "/usr/include/gnome-1.0/libgnomeui/gnome-types.h" 2 > >extern "C" { > > > >typedef void (* GnomeStringCallback)(gchar * string, gpointer data); > > > >typedef void (* GnomeReplyCallback)(gint reply, gpointer data); > > >typedef enum { > GNOME_PREFERENCES_NEVER, > GNOME_PREFERENCES_USER, > GNOME_PREFERENCES_ALWAYS >} GnomePreferencesType; > >} ># 32 "/usr/include/gnome-1.0/libgnomeui/gnome-appbar.h" 2 > >extern "C" { ># 45 "/usr/include/gnome-1.0/libgnomeui/gnome-appbar.h" >typedef struct _GnomeAppBar GnomeAppBar; >typedef struct _GnomeAppBarClass GnomeAppBarClass; >typedef struct _GnomeAppBarMsg GnomeAppBarMsg; > >struct _GnomeAppBar >{ > GtkHBox parent_widget; > > > > > > GtkWidget * progress; > GtkWidget * status; > guint interactive : 1; > > gint editable_start; > > gchar * prompt; > > > > > > > GSList * status_stack; > gchar * default_status; >}; > >struct _GnomeAppBarClass >{ > GtkHBoxClass parent_class; > > > void (* user_response) (GnomeAppBar * ab); > > void (* clear_prompt) (GnomeAppBar * ab); >}; > > > >guint gnome_appbar_get_type (void); > >GtkWidget* gnome_appbar_new (gboolean has_progress, > gboolean has_status, > GnomePreferencesType interactivity); > > > >void gnome_appbar_set_status (GnomeAppBar * appbar, > const gchar * status); > > >void gnome_appbar_set_default (GnomeAppBar * appbar, > const gchar * default_status); > >void gnome_appbar_push (GnomeAppBar * appbar, > const gchar * status); > >void gnome_appbar_pop (GnomeAppBar * appbar); > > >void gnome_appbar_clear_stack (GnomeAppBar * appbar); > > > > >void gnome_appbar_set_progress (GnomeAppBar *appbar, > gfloat percentage); > >GtkProgress* gnome_appbar_get_progress (GnomeAppBar * appbar); > > > >void gnome_appbar_refresh (GnomeAppBar * appbar); > > > >void gnome_appbar_set_prompt (GnomeAppBar * appbar, > const gchar * prompt, > gboolean modal); > >void gnome_appbar_clear_prompt (GnomeAppBar * appbar); > > >gchar * gnome_appbar_get_response (GnomeAppBar * appbar); > > > >void gnome_appbar_construct(GnomeAppBar * ab, > gboolean has_progress, > gboolean has_status, > GnomePreferencesType interactivity); > >} ># 14 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" 1 ># 20 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 21 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" 2 > > >extern "C" { ># 33 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >typedef enum { > GNOME_APP_UI_ENDOFINFO, > > GNOME_APP_UI_ITEM, > > GNOME_APP_UI_TOGGLEITEM, > GNOME_APP_UI_RADIOITEMS, > GNOME_APP_UI_SUBTREE, > > GNOME_APP_UI_SEPARATOR, > > GNOME_APP_UI_HELP, > > GNOME_APP_UI_BUILDER_DATA, > > > GNOME_APP_UI_ITEM_CONFIGURABLE, > > > > > > GNOME_APP_UI_SUBTREE_STOCK > > > > >} GnomeUIInfoType; > > > > >typedef enum { > > GNOME_APP_CONFIGURABLE_ITEM_NEW, > GNOME_APP_CONFIGURABLE_ITEM_OPEN, > GNOME_APP_CONFIGURABLE_ITEM_SAVE, > GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS, > GNOME_APP_CONFIGURABLE_ITEM_REVERT, > GNOME_APP_CONFIGURABLE_ITEM_PRINT, > GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP, > GNOME_APP_CONFIGURABLE_ITEM_CLOSE, > GNOME_APP_CONFIGURABLE_ITEM_EXIT, > GNOME_APP_CONFIGURABLE_ITEM_CUT, > > GNOME_APP_CONFIGURABLE_ITEM_COPY, > GNOME_APP_CONFIGURABLE_ITEM_PASTE, > GNOME_APP_CONFIGURABLE_ITEM_CLEAR, > GNOME_APP_CONFIGURABLE_ITEM_UNDO, > GNOME_APP_CONFIGURABLE_ITEM_REDO, > GNOME_APP_CONFIGURABLE_ITEM_FIND, > GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN, > GNOME_APP_CONFIGURABLE_ITEM_REPLACE, > GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES, > GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES, > > GNOME_APP_CONFIGURABLE_ITEM_ABOUT, > GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL, > GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW, > GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW, > GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME, > GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME, > GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME, > GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE, > GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE, > GNOME_APP_CONFIGURABLE_ITEM_HINT, > > GNOME_APP_CONFIGURABLE_ITEM_SCORES, > GNOME_APP_CONFIGURABLE_ITEM_END_GAME >} GnomeUIInfoConfigurableTypes; > > > >typedef enum { > GNOME_APP_PIXMAP_NONE, > GNOME_APP_PIXMAP_STOCK, > GNOME_APP_PIXMAP_DATA, > GNOME_APP_PIXMAP_FILENAME > >} GnomeUIPixmapType; > > > > > >typedef struct { > GnomeUIInfoType type; > gchar *label; > gchar *hint; > > gpointer moreinfo; ># 138 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" > gpointer user_data; > gpointer unused_data; > > GnomeUIPixmapType pixmap_type; > gconstpointer pixmap_info; ># 153 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" > guint accelerator_key; > GdkModifierType ac_mods; > > > GtkWidget *widget; > > >} GnomeUIInfo; ># 472 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >gchar * gnome_app_helper_gettext (const gchar *string); ># 527 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >typedef struct _GnomeUIBuilderData GnomeUIBuilderData; > >typedef void (* GnomeUISignalConnectFunc) (GnomeUIInfo *uiinfo, > gchar *signal_name, > GnomeUIBuilderData *uibdata); > >struct _GnomeUIBuilderData { > GnomeUISignalConnectFunc connect_func; > gpointer data; > gboolean is_interp; > GtkCallbackMarshal relay_func; > GtkDestroyNotify destroy_func; >}; > > > > >void gnome_accelerators_sync (void); ># 555 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >void gnome_app_fill_menu (GtkMenuShell *menu_shell, > GnomeUIInfo *uiinfo, > GtkAccelGroup *accel_group, > gboolean uline_accels, > gint pos); > > > > >void gnome_app_fill_menu_with_data (GtkMenuShell *menu_shell, > GnomeUIInfo *uiinfo, > GtkAccelGroup *accel_group, > gboolean uline_accels, > gint pos, > gpointer user_data); ># 580 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >void gnome_app_fill_menu_custom (GtkMenuShell *menu_shell, > GnomeUIInfo *uiinfo, > GnomeUIBuilderData *uibdata, > GtkAccelGroup *accel_group, > gboolean uline_accels, > gint pos); ># 594 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >void gnome_app_ui_configure_configurable (GnomeUIInfo* uiinfo); > > > >void gnome_app_create_menus (GnomeApp *app, GnomeUIInfo *uiinfo); > > > > >void gnome_app_create_menus_interp (GnomeApp *app, GnomeUIInfo *uiinfo, > GtkCallbackMarshal relay_func, gpointer data, > GtkDestroyNotify destroy_func); > > > > >void gnome_app_create_menus_with_data (GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data); > > > > >void gnome_app_create_menus_custom (GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata); > > > > >void gnome_app_fill_toolbar (GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GtkAccelGroup *accel_group); > > > > >void gnome_app_fill_toolbar_with_data (GtkToolbar *toolbar, GnomeUIInfo *uiinfo, > GtkAccelGroup *accel_group, gpointer user_data); > > > > > >void gnome_app_fill_toolbar_custom (GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata, > GtkAccelGroup *accel_group); > > >void gnome_app_create_toolbar (GnomeApp *app, GnomeUIInfo *uiinfo); > > > > >void gnome_app_create_toolbar_interp (GnomeApp *app, GnomeUIInfo *uiinfo, > GtkCallbackMarshal relay_func, gpointer data, > GtkDestroyNotify destroy_func); > > > > >void gnome_app_create_toolbar_with_data (GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data); > > > > >void gnome_app_create_toolbar_custom (GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata); ># 665 "/usr/include/gnome-1.0/libgnomeui/gnome-app-helper.h" >GtkWidget *gnome_app_find_menu_pos (GtkWidget *parent, const gchar *path, gint *pos); > > > > >void gnome_app_remove_menus (GnomeApp *app, const gchar *path, gint items); > > > > > > >void gnome_app_remove_menu_range (GnomeApp *app, const gchar *path, gint start, gint items); > > > >void gnome_app_insert_menus_custom (GnomeApp *app, const gchar *path, GnomeUIInfo *menuinfo, GnomeUIBuilderData *uibdata); > > >void gnome_app_insert_menus (GnomeApp *app, const gchar *path, GnomeUIInfo *menuinfo); > > >void gnome_app_insert_menus_with_data (GnomeApp *app, const gchar *path, GnomeUIInfo *menuinfo, gpointer data); > > >void gnome_app_insert_menus_interp (GnomeApp *app, const gchar *path, GnomeUIInfo *menuinfo, > GtkCallbackMarshal relay_func, gpointer data, > GtkDestroyNotify destroy_func); > > > > > >void gnome_app_install_appbar_menu_hints (GnomeAppBar* appbar, > GnomeUIInfo* uiinfo); > >void gnome_app_install_statusbar_menu_hints (GtkStatusbar* bar, > GnomeUIInfo* uiinfo); > > >void gnome_app_install_menu_hints (GnomeApp *app, > GnomeUIInfo *uinfo); > >} ># 15 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-app-util.h" 1 > > > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 8 "/usr/include/gnome-1.0/libgnomeui/gnome-app-util.h" 2 > > > >extern "C" { ># 22 "/usr/include/gnome-1.0/libgnomeui/gnome-app-util.h" >GtkWidget * >gnome_app_message (GnomeApp * app, const gchar * message); > > > > >void >gnome_app_flash (GnomeApp * app, const gchar * flash); > > > >GtkWidget * >gnome_app_error (GnomeApp * app, const gchar * error); > > >GtkWidget * >gnome_app_warning (GnomeApp * app, const gchar * warning); ># 47 "/usr/include/gnome-1.0/libgnomeui/gnome-app-util.h" >GtkWidget * >gnome_app_question (GnomeApp * app, const gchar * question, > GnomeReplyCallback callback, gpointer data); > >GtkWidget * >gnome_app_question_modal (GnomeApp * app, const gchar * question, > GnomeReplyCallback callback, gpointer data); > > >GtkWidget * >gnome_app_ok_cancel (GnomeApp * app, const gchar * message, > GnomeReplyCallback callback, gpointer data); > >GtkWidget * >gnome_app_ok_cancel_modal (GnomeApp * app, const gchar * message, > GnomeReplyCallback callback, gpointer data); > > >GtkWidget * >gnome_app_request_string (GnomeApp * app, const gchar * prompt, > GnomeStringCallback callback, gpointer data); > > >GtkWidget * >gnome_app_request_password (GnomeApp * app, const gchar * prompt, > GnomeStringCallback callback, gpointer data); > > > > > >typedef gdouble (* GnomeAppProgressFunc) (gpointer data); > > >typedef void (* GnomeAppProgressCancelFunc) (gpointer data); > > > >typedef gpointer GnomeAppProgressKey; > > > > > >GnomeAppProgressKey >gnome_app_progress_timeout (GnomeApp * app, > const gchar * description, > guint32 interval, > GnomeAppProgressFunc percentage_cb, > GnomeAppProgressCancelFunc cancel_cb, > gpointer data); > > > >GnomeAppProgressKey >gnome_app_progress_manual (GnomeApp * app, > const gchar * description, > GnomeAppProgressCancelFunc cancel_cb, > gpointer data); > > >void >gnome_app_set_progress (GnomeAppProgressKey key, gdouble percent); > > > >void >gnome_app_progress_done (GnomeAppProgressKey key); > >} ># 17 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 1 ># 16 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 17 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 > > ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_misc.h" 1 ># 34 "/usr/include/gnome-1.0/libart_lgpl/art_misc.h" ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_config.h" 1 > > > > > > > >typedef unsigned char art_u8; >typedef unsigned short art_u16; >typedef unsigned int art_u32; ># 35 "/usr/include/gnome-1.0/libart_lgpl/art_misc.h" 2 ># 51 "/usr/include/gnome-1.0/libart_lgpl/art_misc.h" >typedef int art_boolean; ># 74 "/usr/include/gnome-1.0/libart_lgpl/art_misc.h" >extern "C" { > > >void >art_die (const char *fmt, ...) __attribute__((format (printf, 1, 2))); > >void >art_warn (const char *fmt, ...) __attribute__((format (printf, 1, 2))); > > >} ># 20 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_rect.h" 1 ># 24 "/usr/include/gnome-1.0/libart_lgpl/art_rect.h" >extern "C" { > > >typedef struct _ArtDRect ArtDRect; >typedef struct _ArtIRect ArtIRect; > >struct _ArtDRect { > > double x0, y0, x1, y1; >}; > >struct _ArtIRect { > > int x0, y0, x1, y1; >}; > > >void art_irect_copy (ArtIRect *dest, const ArtIRect *src); > > >void art_irect_union (ArtIRect *dest, > const ArtIRect *src1, const ArtIRect *src2); > > >void art_irect_intersect (ArtIRect *dest, > const ArtIRect *src1, const ArtIRect *src2); > > >int art_irect_empty (const ArtIRect *src); > > >void art_drect_copy (ArtDRect *dest, const ArtDRect *src); > > >void art_drect_union (ArtDRect *dest, > const ArtDRect *src1, const ArtDRect *src2); > > >void art_drect_intersect (ArtDRect *dest, > const ArtDRect *src1, const ArtDRect *src2); > > >int art_drect_empty (const ArtDRect *src); > >void >art_drect_affine_transform (ArtDRect *dst, const ArtDRect *src, > const double matrix[6]); > >void art_drect_to_irect (ArtIRect *dst, ArtDRect *src); > > >} ># 21 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_svp.h" 1 ># 30 "/usr/include/gnome-1.0/libart_lgpl/art_svp.h" ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_point.h" 1 ># 24 "/usr/include/gnome-1.0/libart_lgpl/art_point.h" >extern "C" { > > >typedef struct _ArtPoint ArtPoint; > >struct _ArtPoint { > > double x, y; >}; > > >} ># 31 "/usr/include/gnome-1.0/libart_lgpl/art_svp.h" 2 > > > >extern "C" { > > >typedef struct _ArtSVP ArtSVP; >typedef struct _ArtSVPSeg ArtSVPSeg; > >struct _ArtSVPSeg { > int n_points; > int dir; > ArtDRect bbox; > ArtPoint *points; >}; > >struct _ArtSVP { > int n_segs; > ArtSVPSeg segs[1]; >}; > >int >art_svp_add_segment (ArtSVP **p_vp, int *pn_segs_max, > int **pn_points_max, > int n_points, int dir, ArtPoint *points, > ArtDRect *bbox); > >void >art_svp_free (ArtSVP *svp); > >int >art_svp_seg_compare (const void *s1, const void *s2); > > >} ># 22 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_uta.h" 1 ># 26 "/usr/include/gnome-1.0/libart_lgpl/art_uta.h" >extern "C" { > > >typedef art_u32 ArtUtaBbox; >typedef struct _ArtUta ArtUta; ># 45 "/usr/include/gnome-1.0/libart_lgpl/art_uta.h" >struct _ArtUta { > int x0; > int y0; > int width; > int height; > ArtUtaBbox *utiles; >}; > >ArtUta * >art_uta_new (int x0, int y0, int x1, int y1); > >ArtUta * >art_uta_new_coords (int x0, int y0, int x1, int y1); > >void >art_uta_free (ArtUta *uta); > > >} ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_affine.h" 1 ># 30 "/usr/include/gnome-1.0/libart_lgpl/art_affine.h" >extern "C" { > > >void >art_affine_point (ArtPoint *dst, const ArtPoint *src, > const double affine[6]); > >void >art_affine_invert (double dst_affine[6], const double src_affine[6]); > > > >void >art_affine_flip (double dst_affine[6], const double src_affine[6], > int horz, int vert); > >void >art_affine_to_string (char str[128], const double src[6]); > >void >art_affine_multiply (double dst[6], > const double src1[6], const double src2[6]); > > >void >art_affine_identity (double dst[6]); > > >void >art_affine_scale (double dst[6], double sx, double sy); > > >void >art_affine_rotate (double dst[6], double theta); > > >void >art_affine_shear (double dst[6], double theta); > > >void >art_affine_translate (double dst[6], double tx, double ty); > > > >double >art_affine_expansion (const double src[6]); > > > > >int >art_affine_rectilinear (const double src[6]); > > >int >art_affine_equal (double matrix1[6], double matrix2[6]); > > > >} ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" 2 > >extern "C" { ># 47 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >typedef struct _GnomeCanvas GnomeCanvas; >typedef struct _GnomeCanvasClass GnomeCanvasClass; >typedef struct _GnomeCanvasItem GnomeCanvasItem; >typedef struct _GnomeCanvasItemClass GnomeCanvasItemClass; >typedef struct _GnomeCanvasGroup GnomeCanvasGroup; >typedef struct _GnomeCanvasGroupClass GnomeCanvasGroupClass; ># 70 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >enum { > GNOME_CANVAS_ITEM_REALIZED = 1 << 4, > GNOME_CANVAS_ITEM_MAPPED = 1 << 5, > GNOME_CANVAS_ITEM_ALWAYS_REDRAW = 1 << 6, > GNOME_CANVAS_ITEM_VISIBLE = 1 << 7, > GNOME_CANVAS_ITEM_NEED_UPDATE = 1 << 8, > GNOME_CANVAS_ITEM_NEED_AFFINE = 1 << 9, > GNOME_CANVAS_ITEM_NEED_CLIP = 1 << 10, > GNOME_CANVAS_ITEM_NEED_VIS = 1 << 11, > GNOME_CANVAS_ITEM_AFFINE_FULL = 1 << 12 >}; > > >enum { > GNOME_CANVAS_UPDATE_REQUESTED = 1 << 0, > GNOME_CANVAS_UPDATE_AFFINE = 1 << 1, > GNOME_CANVAS_UPDATE_CLIP = 1 << 2, > GNOME_CANVAS_UPDATE_VISIBILITY = 1 << 3, > GNOME_CANVAS_UPDATE_IS_VISIBLE = 1 << 4 >}; > > >typedef struct { > > guchar *buf; > > > int buf_rowstride; > > > ArtIRect rect; > > > guint32 bg_color; > > > > > unsigned int is_bg : 1; > > > unsigned int is_buf : 1; >} GnomeCanvasBuf; ># 122 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >struct _GnomeCanvasItem { > GtkObject object; > > > GnomeCanvas *canvas; > > > GnomeCanvasItem *parent; > > > double x1, y1, x2, y2; > > > > > > > double *xform; >}; > >struct _GnomeCanvasItemClass { > GtkObjectClass parent_class; > > > > > > > > void (* update) (GnomeCanvasItem *item, double *affine, ArtSVP *clip_path, int flags); > > > void (* realize) (GnomeCanvasItem *item); > > > void (* unrealize) (GnomeCanvasItem *item); > > > void (* map) (GnomeCanvasItem *item); > > > void (* unmap) (GnomeCanvasItem *item); > > > ArtUta *(* coverage) (GnomeCanvasItem *item); > > > > > > void (* draw) (GnomeCanvasItem *item, GdkDrawable *drawable, > int x, int y, int width, int height); > > > > > > > > void (* render) (GnomeCanvasItem *item, GnomeCanvasBuf *buf); > > > > > > > > double (* point) (GnomeCanvasItem *item, double x, double y, int cx, int cy, > GnomeCanvasItem **actual_item); > > > void (* translate) (GnomeCanvasItem *item, double dx, double dy); > > > > > void (* bounds) (GnomeCanvasItem *item, double *x1, double *y1, double *x2, double *y2); > > > > > gint (* event) (GnomeCanvasItem *item, GdkEvent *event); >}; > > > >GtkType gnome_canvas_item_get_type (void); > > > > > >GnomeCanvasItem *gnome_canvas_item_new (GnomeCanvasGroup *parent, GtkType type, > const gchar *first_arg_name, ...); > > >GnomeCanvasItem *gnome_canvas_item_newv (GnomeCanvasGroup *parent, GtkType type, > guint nargs, GtkArg *args); > > >void gnome_canvas_item_construct (GnomeCanvasItem *item, GnomeCanvasGroup *parent, > const gchar *first_arg_name, va_list args); > >void gnome_canvas_item_constructv (GnomeCanvasItem *item, GnomeCanvasGroup *parent, > guint nargs, GtkArg *args); > > > > >void gnome_canvas_item_set (GnomeCanvasItem *item, const gchar *first_arg_name, ...); > > >void gnome_canvas_item_setv (GnomeCanvasItem *item, guint nargs, GtkArg *args); > > >void gnome_canvas_item_set_valist (GnomeCanvasItem *item, > const gchar *first_arg_name, va_list args); > > >void gnome_canvas_item_move (GnomeCanvasItem *item, double dx, double dy); > > >void gnome_canvas_item_affine_relative (GnomeCanvasItem *item, const double affine[6]); > > >void gnome_canvas_item_affine_absolute (GnomeCanvasItem *item, const double affine[6]); > > >void gnome_canvas_item_scale (GnomeCanvasItem *item, > double x, double y, > double scale_x, double scale_y); > > >void gnome_canvas_item_rotate (GnomeCanvasItem *item, double x, double y, double angle); > > > > >void gnome_canvas_item_raise (GnomeCanvasItem *item, int positions); > > > > >void gnome_canvas_item_lower (GnomeCanvasItem *item, int positions); > > >void gnome_canvas_item_raise_to_top (GnomeCanvasItem *item); > > >void gnome_canvas_item_lower_to_bottom (GnomeCanvasItem *item); > > > > >void gnome_canvas_item_show (GnomeCanvasItem *item); > > > > >void gnome_canvas_item_hide (GnomeCanvasItem *item); > > > > > > >int gnome_canvas_item_grab (GnomeCanvasItem *item, unsigned int event_mask, > GdkCursor *cursor, guint32 etime); > > > > >void gnome_canvas_item_ungrab (GnomeCanvasItem *item, guint32 etime); > > > > >void gnome_canvas_item_w2i (GnomeCanvasItem *item, double *x, double *y); >void gnome_canvas_item_i2w (GnomeCanvasItem *item, double *x, double *y); > > > > >void gnome_canvas_item_i2w_affine (GnomeCanvasItem *item, double affine[6]); > > > > >void gnome_canvas_item_i2c_affine (GnomeCanvasItem *item, double affine[6]); ># 321 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >void gnome_canvas_item_reparent (GnomeCanvasItem *item, GnomeCanvasGroup *new_group); > > > > >void gnome_canvas_item_grab_focus (GnomeCanvasItem *item); > > > > > >void gnome_canvas_item_get_bounds (GnomeCanvasItem *item, > double *x1, double *y1, double *x2, double *y2); > > > > >void gnome_canvas_item_request_update (GnomeCanvasItem *item); ># 369 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >struct _GnomeCanvasGroup { > GnomeCanvasItem item; > > > GList *item_list; > GList *item_list_end; > > > > > >}; > >struct _GnomeCanvasGroupClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_group_get_type (void); > > >void gnome_canvas_group_child_bounds (GnomeCanvasGroup *group, GnomeCanvasItem *item); ># 404 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >struct _GnomeCanvas { > GtkLayout layout; > > > guint idle_id; > > > GnomeCanvasItem *root; > > > guint root_destroy_id; > > > double scroll_x1, scroll_y1; > double scroll_x2, scroll_y2; > > > double pixels_per_unit; > > > > > int redraw_x1, redraw_y1; > int redraw_x2, redraw_y2; > > > ArtUta *redraw_area; > > > int draw_xofs, draw_yofs; > > > int zoom_xofs, zoom_yofs; > > > int state; > > > GnomeCanvasItem *current_item; > > > GnomeCanvasItem *new_current_item; > > > GnomeCanvasItem *grabbed_item; > > > guint grabbed_event_mask; > > > GnomeCanvasItem *focused_item; > > > GdkEvent pick_event; > > > int close_enough; > > > GdkColorContext *cc; > > > GdkGC *pixmap_gc; > > > > unsigned int need_update : 1; > > > unsigned int need_redraw : 1; > > > unsigned int need_repick : 1; > > > unsigned int left_grabbed_item : 1; > > > unsigned int in_repick : 1; > > > unsigned int aa : 1; > > > unsigned int dither : 2; >}; > >struct _GnomeCanvasClass { > GtkLayoutClass parent_class; >}; > > > >GtkType gnome_canvas_get_type (void); ># 506 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas.h" >GtkWidget *gnome_canvas_new (void); > > > > > >GtkWidget *gnome_canvas_new_aa (void); > > > >GnomeCanvasGroup *gnome_canvas_root (GnomeCanvas *canvas); > > >void gnome_canvas_set_scroll_region (GnomeCanvas *canvas, > double x1, double y1, double x2, double y2); > > >void gnome_canvas_get_scroll_region (GnomeCanvas *canvas, > double *x1, double *y1, double *x2, double *y2); > > >void gnome_canvas_set_pixels_per_unit (GnomeCanvas *canvas, double n); > > >void gnome_canvas_scroll_to (GnomeCanvas *canvas, int cx, int cy); > > > > > >void gnome_canvas_get_scroll_offsets (GnomeCanvas *canvas, int *cx, int *cy); > > > > >void gnome_canvas_update_now (GnomeCanvas *canvas); > > > > >GnomeCanvasItem *gnome_canvas_get_item_at (GnomeCanvas *canvas, double x, double y); > > > > > >void gnome_canvas_request_redraw_uta (GnomeCanvas *canvas, ArtUta *uta); > > > > > >void gnome_canvas_request_redraw (GnomeCanvas *canvas, int x1, int y1, int x2, int y2); > > > > >void gnome_canvas_w2c_affine (GnomeCanvas *canvas, double affine[6]); > > > > > > >void gnome_canvas_w2c (GnomeCanvas *canvas, double wx, double wy, int *cx, int *cy); >void gnome_canvas_w2c_d (GnomeCanvas *canvas, double wx, double wy, double *cx, double *cy); >void gnome_canvas_c2w (GnomeCanvas *canvas, int cx, int cy, double *wx, double *wy); > > > > >void gnome_canvas_window_to_world (GnomeCanvas *canvas, > double winx, double winy, double *worldx, double *worldy); > > >void gnome_canvas_world_to_window (GnomeCanvas *canvas, > double worldx, double worldy, double *winx, double *winy); > > > > > >int gnome_canvas_get_color (GnomeCanvas *canvas, const char *spec, GdkColor *color); > > >gulong gnome_canvas_get_color_pixel (GnomeCanvas *canvas, > guint rgba); > > > > > > >void gnome_canvas_set_stipple_origin (GnomeCanvas *canvas, GdkGC *gc); > > > > >void gnome_canvas_set_dither (GnomeCanvas *canvas, GdkRgbDither dither); > > > > >GdkRgbDither gnome_canvas_get_dither (GnomeCanvas *canvas); > >} ># 19 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h" 2 > > > ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_pixbuf.h" 1 ># 28 "/usr/include/gnome-1.0/libart_lgpl/art_pixbuf.h" >extern "C" { > > > >typedef void (*ArtDestroyNotify) (void *func_data, void *data); > >typedef struct _ArtPixBuf ArtPixBuf; > >typedef enum { > ART_PIX_RGB > >} ArtPixFormat; > > > > > >struct _ArtPixBuf { > > ArtPixFormat format; > int n_channels; > int has_alpha; > int bits_per_sample; > > art_u8 *pixels; > int width; > int height; > int rowstride; > void *destroy_data; > ArtDestroyNotify destroy; >}; > > >ArtPixBuf * >art_pixbuf_new_rgb (art_u8 *pixels, int width, int height, int rowstride); > >ArtPixBuf * >art_pixbuf_new_rgba (art_u8 *pixels, int width, int height, int rowstride); > > >ArtPixBuf * >art_pixbuf_new_const_rgb (const art_u8 *pixels, int width, int height, int rowstride); > >ArtPixBuf * >art_pixbuf_new_const_rgba (const art_u8 *pixels, int width, int height, int rowstride); > > >ArtPixBuf * >art_pixbuf_new_rgb_dnotify (art_u8 *pixels, int width, int height, int rowstride, > void *dfunc_data, ArtDestroyNotify dfunc); > >ArtPixBuf * >art_pixbuf_new_rgba_dnotify (art_u8 *pixels, int width, int height, int rowstride, > void *dfunc_data, ArtDestroyNotify dfunc); > > >void >art_pixbuf_free (ArtPixBuf *pixbuf); > > >void >art_pixbuf_free_shallow (ArtPixBuf *pixbuf); > >ArtPixBuf * >art_pixbuf_duplicate (const ArtPixBuf *pixbuf); > > >} ># 19 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h" 2 > > > >extern "C" { ># 47 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-image.h" >typedef struct _GnomeCanvasImage GnomeCanvasImage; >typedef struct _GnomeCanvasImageClass GnomeCanvasImageClass; > >struct _GnomeCanvasImage { > GnomeCanvasItem item; > > GdkImlibImage *im; > GdkPixmap *pixmap; > GdkBitmap *mask; > > double x, y; > double width, height; > GtkAnchorType anchor; > > int cx, cy; > int cwidth, cheight; > GdkGC *gc; > > unsigned int need_recalc : 1; > > ArtPixBuf *pixbuf; > double affine[6]; >}; > >struct _GnomeCanvasImageClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_image_get_type (void); > > >} ># 20 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-line.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-line.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-line.h" 2 > > > >extern "C" { ># 68 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-line.h" >typedef struct _GnomeCanvasLine GnomeCanvasLine; >typedef struct _GnomeCanvasLineClass GnomeCanvasLineClass; > >struct _GnomeCanvasLine { > GnomeCanvasItem item; > > int num_points; > double *coords; > > > > > > > > double width; > > guint fill_color; > > gulong fill_pixel; > > GdkBitmap *stipple; > > GdkCapStyle cap; > GdkJoinStyle join; > GdkLineStyle line_style; > > double shape_a; > double shape_b; > double shape_c; > > double *first_coords; > double *last_coords; > > int spline_steps; > > GdkGC *gc; > > guint width_pixels : 1; > guint first_arrow : 1; > guint last_arrow : 1; > guint smooth : 1; > > > guint32 fill_rgba; > ArtSVP *fill_svp; > ArtSVP *first_svp; > ArtSVP *last_svp; >}; > >struct _GnomeCanvasLineClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_line_get_type (void); > > >} ># 21 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-load.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-load.h" 2 > > >extern "C" { > > >GdkImlibImage *gnome_canvas_load_alpha (const gchar *file); > >void gnome_canvas_destroy_image (GdkImlibImage *image); > >} ># 22 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" 2 > > > > >extern "C" { ># 53 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" >typedef struct _GnomeCanvasRE GnomeCanvasRE; >typedef struct _GnomeCanvasREClass GnomeCanvasREClass; > >struct _GnomeCanvasRE { > GnomeCanvasItem item; > > double x1, y1, x2, y2; > double width; > > guint fill_color; > guint outline_color; > > gulong fill_pixel; > gulong outline_pixel; > > GdkBitmap *fill_stipple; > GdkBitmap *outline_stipple; > > GdkGC *fill_gc; > GdkGC *outline_gc; > > > > ArtSVP *fill_svp; > ArtSVP *outline_svp; > > > > unsigned int fill_set : 1; > unsigned int outline_set : 1; > unsigned int width_pixels : 1; >}; > >struct _GnomeCanvasREClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_re_get_type (void); ># 107 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" >typedef struct _GnomeCanvasRect GnomeCanvasRect; >typedef struct _GnomeCanvasRectClass GnomeCanvasRectClass; > >struct _GnomeCanvasRect { > GnomeCanvasRE re; >}; > >struct _GnomeCanvasRectClass { > GnomeCanvasREClass parent_class; >}; > > > >GtkType gnome_canvas_rect_get_type (void); ># 135 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-rect-ellipse.h" >typedef struct _GnomeCanvasEllipse GnomeCanvasEllipse; >typedef struct _GnomeCanvasEllipseClass GnomeCanvasEllipseClass; > >struct _GnomeCanvasEllipse { > GnomeCanvasRE re; >}; > >struct _GnomeCanvasEllipseClass { > GnomeCanvasREClass parent_class; >}; > > > >GtkType gnome_canvas_ellipse_get_type (void); > > >} ># 23 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-polygon.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-polygon.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-polygon.h" 2 > > >extern "C" { ># 55 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-polygon.h" >typedef struct _GnomeCanvasPolygon GnomeCanvasPolygon; >typedef struct _GnomeCanvasPolygonClass GnomeCanvasPolygonClass; > >struct _GnomeCanvasPolygon { > GnomeCanvasItem item; > > int num_points; > double *coords; > > > > double width; > > guint fill_color; > guint outline_color; > > gulong fill_pixel; > gulong outline_pixel; > > GdkBitmap *fill_stipple; > GdkBitmap *outline_stipple; > > GdkGC *fill_gc; > GdkGC *outline_gc; > > guint fill_set : 1; > guint outline_set : 1; > guint width_pixels : 1; > > > guint32 fill_rgba; > ArtSVP *fill_svp; > guint32 outline_rgba; > ArtSVP *outline_svp; >}; > >struct _GnomeCanvasPolygonClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_polygon_get_type (void); > > >} ># 24 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-text.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-text.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-text.h" 2 > > > > >extern "C" { ># 63 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-text.h" >typedef struct _GnomeCanvasText GnomeCanvasText; >typedef struct _GnomeCanvasTextClass GnomeCanvasTextClass; >typedef struct _GnomeCanvasTextSuckFont GnomeCanvasTextSuckFont; >typedef struct _GnomeCanvasTextSuckChar GnomeCanvasTextSuckChar; > >struct _GnomeCanvasTextSuckChar { > int left_sb; > int right_sb; > int width; > int ascent; > int descent; > int bitmap_offset; >}; > >struct _GnomeCanvasTextSuckFont { > guchar *bitmap; > gint bitmap_width; > gint bitmap_height; > gint ascent; > GnomeCanvasTextSuckChar chars[256]; >}; > >struct _GnomeCanvasText { > GnomeCanvasItem item; > > char *text; > gpointer lines; > int num_lines; > > double x, y; > GdkFont *font; > GtkAnchorType anchor; > GtkJustification justification; > > double clip_width; > double clip_height; > > double xofs, yofs; > > gulong pixel; > GdkBitmap *stipple; > GdkGC *gc; > > int cx, cy; > int clip_cx, clip_cy; > int clip_cwidth, clip_cheight; > int max_width; > int height; > > guint clip : 1; > > > GnomeCanvasTextSuckFont *suckfont; > guint32 rgba; > double affine[6]; >}; > >struct _GnomeCanvasTextClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_text_get_type (void); > > >} ># 25 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" 2 > ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_vpath.h" 1 ># 28 "/usr/include/gnome-1.0/libart_lgpl/art_vpath.h" ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_pathcode.h" 1 ># 24 "/usr/include/gnome-1.0/libart_lgpl/art_pathcode.h" >extern "C" { > > >typedef enum { > ART_MOVETO, > ART_MOVETO_OPEN, > ART_CURVETO, > ART_LINETO, > ART_END >} ArtPathcode; > > >} ># 29 "/usr/include/gnome-1.0/libart_lgpl/art_vpath.h" 2 > > > > > >extern "C" { > > >typedef struct _ArtVpath ArtVpath; > > >struct _ArtVpath { > ArtPathcode code; > double x; > double y; >}; > > > >void >art_vpath_add_point (ArtVpath **p_vpath, int *pn_points, int *pn_points_max, > ArtPathcode code, double x, double y); > >ArtVpath * >art_vpath_new_circle (double x, double y, double r); > >ArtVpath * >art_vpath_affine_transform (const ArtVpath *src, const double matrix[6]); > >void >art_vpath_bbox_drect (const ArtVpath *vec, ArtDRect *drect); > >void >art_vpath_bbox_irect (const ArtVpath *vec, ArtIRect *irect); > >ArtVpath * >art_vpath_perturb (ArtVpath *src); > > >} ># 17 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" 2 ># 1 "/usr/include/gnome-1.0/libart_lgpl/art_svp_vpath_stroke.h" 1 ># 26 "/usr/include/gnome-1.0/libart_lgpl/art_svp_vpath_stroke.h" >extern "C" { > > >typedef enum { > ART_PATH_STROKE_JOIN_MITER, > ART_PATH_STROKE_JOIN_ROUND, > ART_PATH_STROKE_JOIN_BEVEL >} ArtPathStrokeJoinType; > >typedef enum { > ART_PATH_STROKE_CAP_BUTT, > ART_PATH_STROKE_CAP_ROUND, > ART_PATH_STROKE_CAP_SQUARE >} ArtPathStrokeCapType; > >ArtSVP * >art_svp_vpath_stroke (ArtVpath *vpath, > ArtPathStrokeJoinType join, > ArtPathStrokeCapType cap, > double line_width, > double miter_limit, > double flatness); > > >ArtVpath * >art_svp_vpath_stroke_raw (ArtVpath *vpath, > ArtPathStrokeJoinType join, > ArtPathStrokeCapType cap, > double line_width, > double miter_limit, > double flatness); > > >} ># 18 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" 2 > > >extern "C" { > > > > > > >typedef struct { > int num_points; > double *coords; > int ref_count; >} GnomeCanvasPoints; > > > >GnomeCanvasPoints *gnome_canvas_points_new (int num_points); > > >GnomeCanvasPoints *gnome_canvas_points_ref (GnomeCanvasPoints *points); > > > >void gnome_canvas_points_free (GnomeCanvasPoints *points); > > > > > > > >int gnome_canvas_get_miter_points (double x1, double y1, double x2, double y2, double x3, double y3, > double width, > double *mx1, double *my1, double *mx2, double *my2); ># 71 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-util.h" >void gnome_canvas_get_butt_points (double x1, double y1, double x2, double y2, > double width, int project, > double *bx1, double *by1, double *bx2, double *by2); > > > > >double gnome_canvas_polygon_to_point (double *poly, int num_points, double x, double y); > > > >void gnome_canvas_render_svp (GnomeCanvasBuf *buf, ArtSVP *svp, guint32 rgba); > > > > >void gnome_canvas_update_svp (GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp); > > > > >void gnome_canvas_update_svp_clip (GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp, > ArtSVP *clip_svp); > > > > > >void gnome_canvas_item_reset_bounds (GnomeCanvasItem *item); > > > > >void gnome_canvas_item_update_svp (GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp); > > > > >void gnome_canvas_item_update_svp_clip (GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp, > ArtSVP *clip_svp); > > > > >void gnome_canvas_item_request_redraw_svp (GnomeCanvasItem *item, const ArtSVP *svp); > > >void gnome_canvas_update_bbox (GnomeCanvasItem *item, int x1, int y1, int x2, int y2); > > >void gnome_canvas_buf_ensure_buf (GnomeCanvasBuf *buf); > > >ArtPathStrokeJoinType gnome_canvas_join_gdk_to_art (GdkJoinStyle gdk_join); > > >ArtPathStrokeCapType gnome_canvas_cap_gdk_to_art (GdkCapStyle gdk_cap); > >} ># 26 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-widget.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-widget.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-widget.h" 2 > > > > >extern "C" { ># 48 "/usr/include/gnome-1.0/libgnomeui/gnome-canvas-widget.h" >typedef struct _GnomeCanvasWidget GnomeCanvasWidget; >typedef struct _GnomeCanvasWidgetClass GnomeCanvasWidgetClass; > >struct _GnomeCanvasWidget { > GnomeCanvasItem item; > > GtkWidget *widget; > > double x, y; > double width, height; > GtkAnchorType anchor; > > int cx, cy; > int cwidth, cheight; > > guint destroy_id; > > guint size_pixels : 1; > guint in_destroy : 1; >}; > >struct _GnomeCanvasWidgetClass { > GnomeCanvasItemClass parent_class; >}; > > > >GtkType gnome_canvas_widget_get_type (void); > > >} ># 27 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-color-picker.h" 1 ># 11 "/usr/include/gnome-1.0/libgnomeui/gnome-color-picker.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 12 "/usr/include/gnome-1.0/libgnomeui/gnome-color-picker.h" 2 > > > > >extern "C" { ># 34 "/usr/include/gnome-1.0/libgnomeui/gnome-color-picker.h" >typedef struct _GnomeColorPicker GnomeColorPicker; >typedef struct _GnomeColorPickerClass GnomeColorPickerClass; > >struct _GnomeColorPicker { > GtkButton button; > > gdouble r, g, b, a; > > GdkImlibImage *im; > GdkPixmap *pixmap; > GdkGC *gc; > > GtkWidget *da; > GtkWidget *cs_dialog; > > gchar *title; > > guint dither : 1; > guint use_alpha : 1; >}; > >struct _GnomeColorPickerClass { > GtkButtonClass parent_class; > > > > > > > void (* color_set) (GnomeColorPicker *cp, guint r, guint g, guint b, guint a); >}; > > > >GtkType gnome_color_picker_get_type (void); > > >GtkWidget *gnome_color_picker_new (void); > > >void gnome_color_picker_set_d (GnomeColorPicker *cp, gdouble r, gdouble g, gdouble b, gdouble a); >void gnome_color_picker_get_d (GnomeColorPicker *cp, gdouble *r, gdouble *g, gdouble *b, gdouble *a); > > >void gnome_color_picker_set_i8 (GnomeColorPicker *cp, guint8 r, guint8 g, guint8 b, guint8 a); >void gnome_color_picker_get_i8 (GnomeColorPicker *cp, guint8 *r, guint8 *g, guint8 *b, guint8 *a); > > >void gnome_color_picker_set_i16 (GnomeColorPicker *cp, gushort r, gushort g, gushort b, gushort a); >void gnome_color_picker_get_i16 (GnomeColorPicker *cp, gushort *r, gushort *g, gushort *b, gushort *a); > > >void gnome_color_picker_set_dither (GnomeColorPicker *cp, gboolean dither); > > >void gnome_color_picker_set_use_alpha (GnomeColorPicker *cp, gboolean use_alpha); > > >void gnome_color_picker_set_title (GnomeColorPicker *cp, const gchar *title); > > >} ># 28 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dentry-edit.h" 1 ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-dentry-edit.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 32 "/usr/include/gnome-1.0/libgnomeui/gnome-dentry-edit.h" 2 > > >extern "C" { > >typedef struct _GnomeDEntryEdit GnomeDEntryEdit; >typedef struct _GnomeDEntryEditClass GnomeDEntryEditClass; > > > > > > > >struct _GnomeDEntryEdit { > GtkObject object; > > > GtkWidget *child1; > GtkWidget *child2; > > > > > GtkWidget *name_entry; > GtkWidget *comment_entry; > GtkWidget *exec_entry; > GtkWidget *tryexec_entry; > GtkWidget *doc_entry; > > GtkWidget *type_combo; > > GtkWidget *terminal_button; > > GtkWidget *icon_entry; > > GtkWidget *translations; > GtkWidget *transl_lang_entry; > GtkWidget *transl_name_entry; > GtkWidget *transl_comment_entry; >}; > >struct _GnomeDEntryEditClass { > GtkObjectClass parent_class; > > > void (* changed) (GnomeDEntryEdit * gee); > > > > void (* icon_changed) (GnomeDEntryEdit * gee); > > void (* name_changed) (GnomeDEntryEdit * gee); >}; > >guint gnome_dentry_edit_get_type (void); > > > >GtkObject * gnome_dentry_edit_new (void); > > > > > >GtkObject * gnome_dentry_edit_new_notebook(GtkNotebook * notebook); > >void gnome_dentry_edit_clear (GnomeDEntryEdit * dee); > > > > > > >void gnome_dentry_edit_load_file (GnomeDEntryEdit * dee, > const gchar * path); > > >void gnome_dentry_edit_set_dentry (GnomeDEntryEdit * dee, > GnomeDesktopEntry * dentry); > > >GnomeDesktopEntry * gnome_dentry_edit_get_dentry(GnomeDEntryEdit * dee); > > >GnomeDesktopEntry * gnome_dentry_get_dentry(GnomeDEntryEdit * dee); > > >gchar * gnome_dentry_edit_get_icon (GnomeDEntryEdit * dee); >gchar * gnome_dentry_edit_get_name (GnomeDEntryEdit * dee); > > > >GtkWidget * gnome_dentry_get_name_entry (GnomeDEntryEdit * dee); >GtkWidget * gnome_dentry_get_comment_entry (GnomeDEntryEdit * dee); >GtkWidget * gnome_dentry_get_exec_entry (GnomeDEntryEdit * dee); >GtkWidget * gnome_dentry_get_tryexec_entry (GnomeDEntryEdit * dee); >GtkWidget * gnome_dentry_get_doc_entry (GnomeDEntryEdit * dee); >GtkWidget * gnome_dentry_get_icon_entry (GnomeDEntryEdit * dee); > >} ># 29 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog-util.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog-util.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog-util.h" 2 > > >extern "C" { ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-dialog-util.h" >GtkWidget * gnome_ok_dialog (const gchar * message); >GtkWidget * gnome_ok_dialog_parented (const gchar * message, > GtkWindow * parent); > > >GtkWidget * gnome_error_dialog (const gchar * error); >GtkWidget * gnome_error_dialog_parented (const gchar * error, > GtkWindow * parent); > > >GtkWidget * gnome_warning_dialog (const gchar * warning); >GtkWidget * gnome_warning_dialog_parented (const gchar * warning, > GtkWindow * parent); > > > > >GtkWidget * gnome_question_dialog (const gchar * question, > GnomeReplyCallback callback, > gpointer data); > >GtkWidget * gnome_question_dialog_parented (const gchar * question, > GnomeReplyCallback callback, > gpointer data, > GtkWindow * parent); > >GtkWidget * gnome_question_dialog_modal (const gchar * question, > GnomeReplyCallback callback, > gpointer data); > >GtkWidget * gnome_question_dialog_modal_parented (const gchar * question, > GnomeReplyCallback callback, > gpointer data, > GtkWindow * parent); > > > >GtkWidget * gnome_ok_cancel_dialog (const gchar * message, > GnomeReplyCallback callback, > gpointer data); > >GtkWidget * gnome_ok_cancel_dialog_parented (const gchar * message, > GnomeReplyCallback callback, > gpointer data, > GtkWindow * parent); > >GtkWidget * gnome_ok_cancel_dialog_modal (const gchar * message, > GnomeReplyCallback callback, > gpointer data); > >GtkWidget * gnome_ok_cancel_dialog_modal_parented (const gchar * message, > GnomeReplyCallback callback, > gpointer data, > GtkWindow * parent); > > > >GtkWidget * gnome_request_string_dialog (const gchar * prompt, > GnomeStringCallback callback, > gpointer data); > > >GtkWidget * gnome_request_string_dialog_parented (const gchar * prompt, > GnomeStringCallback callback, > gpointer data, > GtkWindow * parent); > > >GtkWidget * gnome_request_password_dialog (const gchar * prompt, > GnomeStringCallback callback, > gpointer data); > > >GtkWidget * gnome_request_password_dialog_parented(const gchar * prompt, > GnomeStringCallback callback, > gpointer data, > GtkWindow * parent); > > > >GtkWidget * gnome_request_dialog (gboolean password, > const gchar * prompt, > const gchar * default_text, > const guint16 max_length, > GnomeStringCallback callback, > gpointer data, > GtkWindow * parent); > >} ># 31 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > > > > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dns.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnomeui/gnome-dns.h" 2 > >extern "C" { ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-dns.h" >void gnome_dns_init (gint server_count); ># 58 "/usr/include/gnome-1.0/libgnomeui/gnome-dns.h" >guint32 gnome_dns_lookup (const char *hostname, > void (* callback) (guint32 ip_addr, void *callback_data), > void *callback_data); ># 78 "/usr/include/gnome-1.0/libgnomeui/gnome-dns.h" >void gnome_dns_abort (guint32 tag); > >} ># 37 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > > > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-entry.h" 1 ># 12 "/usr/include/gnome-1.0/libgnomeui/gnome-entry.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-entry.h" 2 > > >extern "C" { ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-entry.h" >typedef struct _GnomeEntry GnomeEntry; >typedef struct _GnomeEntryClass GnomeEntryClass; > >struct _GnomeEntry { > GtkCombo combo; > > gboolean changed; > gchar *history_id; > GList *items; > guint max_saved; >}; > >struct _GnomeEntryClass { > GtkComboClass parent_class; >}; > > >guint gnome_entry_get_type (void); >GtkWidget *gnome_entry_new (const gchar *history_id); > >GtkWidget *gnome_entry_gtk_entry (GnomeEntry *gentry); >void gnome_entry_set_history_id (GnomeEntry *gentry, const gchar *history_id); >void gnome_entry_set_max_saved (GnomeEntry *gentry, guint max_saved); > >void gnome_entry_prepend_history (GnomeEntry *gentry, gint save, const gchar *text); >void gnome_entry_append_history (GnomeEntry *gentry, gint save, const gchar *text); >void gnome_entry_load_history (GnomeEntry *gentry); >void gnome_entry_save_history (GnomeEntry *gentry); > >} ># 42 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-file-entry.h" 1 ># 12 "/usr/include/gnome-1.0/libgnomeui/gnome-file-entry.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-file-entry.h" 2 > > > >extern "C" { ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-file-entry.h" >typedef struct _GnomeFileEntry GnomeFileEntry; >typedef struct _GnomeFileEntryClass GnomeFileEntryClass; > >struct _GnomeFileEntry { > GtkHBox hbox; > > char *browse_dialog_title; > char *default_path; > > > GtkWidget *fsw; > > gboolean is_modal; > > gboolean directory_entry; > > GtkWidget *gentry; >}; > >struct _GnomeFileEntryClass { > GtkHBoxClass parent_class; > > > > > > void (* browse_clicked)(GnomeFileEntry *fentry); >}; > > >guint gnome_file_entry_get_type (void); >GtkWidget *gnome_file_entry_new (const char *history_id, > const char *browse_dialog_title); >void gnome_file_entry_construct (GnomeFileEntry *fentry, > const char *history_id, > const char *browse_dialog_title); > >GtkWidget *gnome_file_entry_gnome_entry (GnomeFileEntry *fentry); >GtkWidget *gnome_file_entry_gtk_entry (GnomeFileEntry *fentry); >void gnome_file_entry_set_title (GnomeFileEntry *fentry, > const char *browse_dialog_title); > > >void gnome_file_entry_set_default_path(GnomeFileEntry *fentry, > const char *path); > > >void gnome_file_entry_set_directory(GnomeFileEntry *fentry, > gboolean directory_entry); > > > > > >char *gnome_file_entry_get_full_path(GnomeFileEntry *fentry, > gboolean file_must_exist); > > > >void gnome_file_entry_set_modal (GnomeFileEntry *fentry, > gboolean is_modal); > >} ># 43 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-font-picker.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-font-picker.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-font-picker.h" 2 > >extern "C" { > > > > > >typedef enum { > GNOME_FONT_PICKER_MODE_PIXMAP, > GNOME_FONT_PICKER_MODE_FONT_INFO, > GNOME_FONT_PICKER_MODE_USER_WIDGET, > GNOME_FONT_PICKER_MODE_UNKNOWN >} GnomeFontPickerMode; ># 46 "/usr/include/gnome-1.0/libgnomeui/gnome-font-picker.h" >typedef struct _GnomeFontPicker GnomeFontPicker; >typedef struct _GnomeFontPickerClass GnomeFontPickerClass; > >struct _GnomeFontPicker { > GtkButton button; > > GtkWidget *font_dialog; > GtkWidget *inside; > GtkWidget *font_label,*vsep,*size_label; > > > > GnomeFontPickerMode mode; > gchar *font_name; > gchar *preview_text; > > gboolean use_font_in_label; > gboolean use_font_in_label_size; > gboolean show_size; > > gchar *title; >}; > >struct _GnomeFontPickerClass { > GtkButtonClass parent_class; > > > void (* font_set) (GnomeFontPicker *gfp, gchar *font_name); >}; > > > >GtkType gnome_font_picker_get_type (void); > > >GtkWidget *gnome_font_picker_new (void); > > >void gnome_font_picker_set_title (GnomeFontPicker *gfp, const gchar *title); > > >GnomeFontPickerMode > gnome_font_picker_get_mode (GnomeFontPicker *gfp); > >void gnome_font_picker_set_mode (GnomeFontPicker *gfp, > GnomeFontPickerMode mode); > > > >void gnome_font_picker_fi_set_use_font_in_label (GnomeFontPicker *gfp, > gboolean use_font_in_label, > gint size); > >void gnome_font_picker_fi_set_show_size (GnomeFontPicker *gfp, > gboolean show_size); > > >void gnome_font_picker_uw_set_widget (GnomeFontPicker *gfp, > GtkWidget *widget); > > >gchar* gnome_font_picker_get_font_name (GnomeFontPicker *gfp); > >GdkFont* gnome_font_picker_get_font (GnomeFontPicker *gfp); > >gboolean gnome_font_picker_set_font_name (GnomeFontPicker *gfp, > const gchar *fontname); > >gchar* gnome_font_picker_get_preview_text (GnomeFontPicker *gfp); > >void gnome_font_picker_set_preview_text (GnomeFontPicker *gfp, > const gchar *text); > > >} ># 44 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-font-selector.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-font-selector.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-font-selector.h" 2 > >extern "C" { > >typedef struct _GnomeFontSelector GnomeFontSelector; >typedef struct _GnomeFontSelectorClass GnomeFontSelectorClass; > > > > > > > >typedef struct _FontInfo FontInfo; > >struct _GnomeFontSelectorClass >{ > GtkDialogClass parent_class; > > FontInfo **font_info; > gint nfonts; > > GSList *foundries; > GSList *weights; > GSList *slants; > GSList *set_widths; > GSList *spacings; > > gchar **foundry_array; > gchar **weight_array; > gchar **slant_array; > gchar **set_width_array; > gchar **spacing_array; > > gint nfoundries; > gint nweights; > gint nslants; > gint nset_widths; > gint nspacings; > > gpointer text_options; >}; > >struct _GnomeFontSelector >{ > GtkDialog parent_object; > > GtkWidget *ok_button, *cancel_button; > GtkWidget *main_vbox; > GtkWidget *font_list; > GtkWidget *size_menu; > GtkWidget *size_text; > GtkWidget *border_text; > GtkWidget *text_frame; > GtkWidget *the_text; > GtkWidget *menus[5]; > GtkWidget *option_menus[5]; > GtkWidget **foundry_items; > GtkWidget **weight_items; > GtkWidget **slant_items; > GtkWidget **set_width_items; > GtkWidget **spacing_items; > GtkWidget *antialias_toggle; > GdkFont *font; > gint font_index; > gint size_type; > gint foundry; > gint weight; > gint slant; > gint set_width; > gint spacing; >}; > >guint gnome_font_selector_get_type(void); >GtkWidget *gnome_font_selector_new(void); > >gchar *gnome_font_selector_get_selected(GnomeFontSelector *text_tool); > > >gchar *gnome_font_select(void); >gchar *gnome_font_select_with_default(const gchar *); > >} ># 46 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-geometry.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnomeui/gnome-geometry.h" 2 > > >extern "C" { > > >gboolean gnome_parse_geometry (const gchar *geometry, gint *xpos, gint *ypos, > gint *width, gint *height); > > > >gchar * gnome_geometry_string (GdkWindow * window); > >} ># 48 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-guru.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-guru.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-guru.h" 2 > > > >extern "C" { > >typedef struct _GnomeGuru GnomeGuru; >typedef struct _GnomeGuruClass GnomeGuruClass; > > > > > > > >struct _GnomeGuruPage; > >struct _GnomeGuru { > GtkVBox vbox; > > > > GtkWidget * graphic; > > GList * pages; > > struct _GnomeGuruPage* current_page; > > GtkWidget * next; > GtkWidget * back; > GtkWidget * finish; > GtkWidget * page_title; > GtkWidget * page_box; > GtkWidget * buttonbox; > > guint has_dialog : 1; >}; > >struct _GnomeGuruClass { > GtkVBoxClass parent_class; > > void (* cancelled)(GnomeGuru* guru); > void (* finished) (GnomeGuru* guru); >}; > >guint gnome_guru_get_type (void); > > >GtkWidget * gnome_guru_new (const gchar * name, > GtkWidget * graphic, > GnomeDialog * dialog); > >void gnome_guru_construct (GnomeGuru * guru, > const gchar * name, > GtkWidget * graphic, > GnomeDialog * dialog); > > > >void gnome_guru_append_page (GnomeGuru * guru, > const gchar * name, > GtkWidget * widget); > >void gnome_guru_next_set_sensitive (GnomeGuru * guru, > gboolean sensitivity); > >void gnome_guru_back_set_sensitive (GnomeGuru * guru, > gboolean sensitivity); > >GtkWidget * gnome_guru_current_page (GnomeGuru * guru); > >} ># 50 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-list.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-list.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-list.h" 2 > > > >extern "C" { > > > > > > > >typedef enum { > GNOME_ICON_LIST_ICONS, > GNOME_ICON_LIST_TEXT_BELOW, > GNOME_ICON_LIST_TEXT_RIGHT >} GnomeIconListMode; > > > > > > >typedef struct { > GnomeCanvas canvas; > > > GtkAdjustment *adj; > GtkAdjustment *hadj; > > > int icons; > > > gpointer priv; > > int pad3; > int pad4; > int pad5; > int pad6; > int pad7; > int pad8; > gpointer pad9; > GnomeIconListMode pad10; > GtkSelectionMode pad11; > > > GList *selection; > > gpointer pad12; > int pad13; > unsigned int pad14 : 1; > unsigned int pad15 : 1; > int pad16; > gpointer pad17; > int pad18; > int pad19; > gdouble pad20; > gdouble pad21; > gpointer pad22; > int pad23; > double pad24; > double pad25; > gpointer pad26; >} GnomeIconList; > >typedef struct { > GnomeCanvasClass parent_class; > > void (*select_icon) (GnomeIconList *gil, gint num, GdkEvent *event); > void (*unselect_icon) (GnomeIconList *gil, gint num, GdkEvent *event); > gboolean (*text_changed) (GnomeIconList *gil, gint num, const char *new_text); >} GnomeIconListClass; > > > > >guint gnome_icon_list_get_type (void); > >GtkWidget *gnome_icon_list_new (guint icon_width, > GtkAdjustment *adj, > int flags); >GtkWidget *gnome_icon_list_new_flags (guint icon_width, > GtkAdjustment *adj, > int flags); >void gnome_icon_list_construct (GnomeIconList *gil, > guint icon_width, > GtkAdjustment *adj, > int flags); > >void gnome_icon_list_set_hadjustment (GnomeIconList *gil, > GtkAdjustment *hadj); > >void gnome_icon_list_set_vadjustment (GnomeIconList *gil, > GtkAdjustment *vadj); > > >void gnome_icon_list_freeze (GnomeIconList *gil); >void gnome_icon_list_thaw (GnomeIconList *gil); > > >void gnome_icon_list_insert (GnomeIconList *gil, > int pos, const char *icon_filename, > const char *text); > > >void gnome_icon_list_insert_imlib (GnomeIconList *gil, > int pos, GdkImlibImage *im, > const char *text); > >int gnome_icon_list_append (GnomeIconList *gil, > const char *icon_filename, > const char *text); >int gnome_icon_list_append_imlib (GnomeIconList *gil, > GdkImlibImage *im, > const char *text); >void gnome_icon_list_clear (GnomeIconList *gil); >void gnome_icon_list_remove (GnomeIconList *gil, int pos); > > > >void gnome_icon_list_set_selection_mode (GnomeIconList *gil, > GtkSelectionMode mode); >void gnome_icon_list_select_icon (GnomeIconList *gil, > int idx); >void gnome_icon_list_unselect_icon (GnomeIconList *gil, > int pos); >int gnome_icon_list_unselect_all (GnomeIconList *gil, > GdkEvent *event, gpointer keep); > > >void gnome_icon_list_set_icon_width (GnomeIconList *gil, > int w); >void gnome_icon_list_set_row_spacing (GnomeIconList *gil, > int pixels); >void gnome_icon_list_set_col_spacing (GnomeIconList *gil, > int pixels); >void gnome_icon_list_set_text_spacing (GnomeIconList *gil, > int pixels); >void gnome_icon_list_set_icon_border (GnomeIconList *gil, > int pixels); >void gnome_icon_list_set_separators (GnomeIconList *gil, > const char *sep); > > >void gnome_icon_list_set_icon_data (GnomeIconList *gil, > int pos, gpointer data); >void gnome_icon_list_set_icon_data_full (GnomeIconList *gil, > int pos, gpointer data, > GtkDestroyNotify destroy); >int gnome_icon_list_find_icon_from_data (GnomeIconList *gil, > gpointer data); >gpointer gnome_icon_list_get_icon_data (GnomeIconList *gil, > int pos); > > >void gnome_icon_list_moveto (GnomeIconList *gil, > int pos, double yalign); >GtkVisibility gnome_icon_list_icon_is_visible (GnomeIconList *gil, > int pos); > >int gnome_icon_list_get_icon_at (GnomeIconList *gil, int x, int y); > >int gnome_icon_list_get_items_per_line (GnomeIconList *gil); > >} ># 52 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-item.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-item.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-item.h" 2 > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-text.h" 1 > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 5 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-text.h" 2 > >extern "C" { > >typedef struct { > gchar *text; > gint width; > GdkWChar *text_wc; > gint text_length; >} GnomeIconTextInfoRow; > >typedef struct { > GList *rows; > GdkFont *font; > gint width; > gint height; > gint baseline_skip; >} GnomeIconTextInfo; > >GnomeIconTextInfo *gnome_icon_layout_text (GdkFont *font, const gchar *text, > const gchar *separators, gint max_width, > gboolean confine); > >void gnome_icon_paint_text (GnomeIconTextInfo *ti, > GdkDrawable *drawable, GdkGC *gc, > gint x, gint y, > GtkJustification just); > >void gnome_icon_text_info_free (GnomeIconTextInfo *ti); > >} ># 17 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-item.h" 2 > >extern "C" { ># 31 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-item.h" >typedef struct { > GnomeCanvasItem canvas_item; > > > int x, y; > int width; > > > char *fontname; > > > gpointer priv; > gpointer pad1; > gpointer pad2; > > > char *text; > > > GnomeIconTextInfo *ti; > > > unsigned int editing : 1; > > > unsigned int selected : 1; > > unsigned int pad3; > > > unsigned int selecting : 1; > > > unsigned int is_editable : 1; > > > unsigned int is_text_allocated : 1; >} GnomeIconTextItem; > >typedef struct { > GnomeCanvasItemClass parent_class; > > > int (* text_changed) (GnomeIconTextItem *iti); > void (* height_changed) (GnomeIconTextItem *iti); > void (* width_changed) (GnomeIconTextItem *iti); > void (* editing_started) (GnomeIconTextItem *iti); > void (* editing_stopped) (GnomeIconTextItem *iti); > void (* selection_started) (GnomeIconTextItem *iti); > void (* selection_stopped) (GnomeIconTextItem *iti); >} GnomeIconTextItemClass; > >GtkType gnome_icon_text_item_get_type (void); > >void gnome_icon_text_item_configure (GnomeIconTextItem *iti, > int x, > int y, > int width, > const char *fontname, > const char *text, > gboolean is_editable, > gboolean is_static); > >void gnome_icon_text_item_setxy (GnomeIconTextItem *iti, > int x, > int y); > >void gnome_icon_text_item_select (GnomeIconTextItem *iti, > int sel); > >char *gnome_icon_text_item_get_text (GnomeIconTextItem *iti); > >void gnome_icon_text_item_start_editing (GnomeIconTextItem *iti); >void gnome_icon_text_item_stop_editing (GnomeIconTextItem *iti, > gboolean accept); > > >} ># 53 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-sel.h" 1 ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-sel.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-sel.h" 2 > > >extern "C" { > >typedef struct _GnomeIconSelection GnomeIconSelection; >typedef struct _GnomeIconSelectionClass GnomeIconSelectionClass; > > > > > > > >struct _GnomeIconSelection { > GtkVBox vbox; > > GtkWidget * box; > > GtkWidget * gil; > > GList * file_list; > > int stop_loading; >}; > >struct _GnomeIconSelectionClass { > GtkVBoxClass parent_class; >}; > >guint gnome_icon_selection_get_type (void); > >GtkWidget * gnome_icon_selection_new (void); > > >void gnome_icon_selection_add_defaults (GnomeIconSelection * gis); > > >void gnome_icon_selection_add_directory (GnomeIconSelection * gis, > const gchar * dir); > > >void gnome_icon_selection_show_icons (GnomeIconSelection * gis); > > >void gnome_icon_selection_clear (GnomeIconSelection * gis, > gboolean not_shown); > > > >const gchar * >gnome_icon_selection_get_icon (GnomeIconSelection * gis, > gboolean full_path); > > >void gnome_icon_selection_select_icon (GnomeIconSelection * gis, > const gchar * filename); > > >void gnome_icon_selection_stop_loading (GnomeIconSelection * gis); > >} ># 54 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-entry.h" 1 ># 18 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-entry.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 19 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-entry.h" 2 > > > >extern "C" { ># 32 "/usr/include/gnome-1.0/libgnomeui/gnome-icon-entry.h" >typedef struct _GnomeIconEntry GnomeIconEntry; >typedef struct _GnomeIconEntryClass GnomeIconEntryClass; > >struct _GnomeIconEntry { > GtkVBox vbox; > > GtkWidget *fentry; > > GtkWidget *pickbutton; > > GtkWidget *pick_dialog; > gchar *pick_dialog_dir; >}; > >struct _GnomeIconEntryClass { > GtkVBoxClass parent_class; >}; > > >guint gnome_icon_entry_get_type (void); >GtkWidget *gnome_icon_entry_new (const gchar *history_id, > const gchar *browse_dialog_title); > > > > >void gnome_icon_entry_set_pixmap_subdir(GnomeIconEntry *ientry, > const gchar *subdir); >void gnome_icon_entry_set_icon(GnomeIconEntry *ientry, > const gchar *filename); >GtkWidget *gnome_icon_entry_gnome_file_entry(GnomeIconEntry *ientry); >GtkWidget *gnome_icon_entry_gnome_entry (GnomeIconEntry *ientry); >GtkWidget *gnome_icon_entry_gtk_entry (GnomeIconEntry *ientry); > > >gchar *gnome_icon_entry_get_filename(GnomeIconEntry *ientry); > >} ># 55 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-init.h" 1 > > > >extern "C" { > > > > > >int gnome_init(const char *app_id, const char *app_version, > int argc, char **argv); > >int gnome_init_with_popt_table(const char *app_id, > const char *app_version, > int argc, char **argv, > const struct poptOption *options, > int flags, > poptContext *return_ctx); > >} ># 56 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-less.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-less.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-less.h" 2 > > > >extern "C" { > >typedef struct _GnomeLess GnomeLess; >typedef struct _GnomeLessClass GnomeLessClass; > > > > > > > >struct _GnomeLess { > GtkVBox vbox; > > GtkText * text; > > GtkMenu * popup; > > GdkFont * font; > >}; > >struct _GnomeLessClass { > GtkVBoxClass parent_class; >}; > >guint gnome_less_get_type (void); > >GtkWidget * gnome_less_new (void); > > >void gnome_less_clear (GnomeLess * gl); > > > > > >gboolean gnome_less_show_file (GnomeLess * gl, const gchar * path); >gboolean gnome_less_show_command (GnomeLess * gl, const gchar * command_line); >void gnome_less_show_string (GnomeLess * gl, const gchar * s); >gboolean gnome_less_show_filestream (GnomeLess * gl, FILE * f); >gboolean gnome_less_show_fd (GnomeLess * gl, int file_descriptor); > > > >gboolean gnome_less_write_file (GnomeLess * gl, const gchar * path); >gboolean gnome_less_write_fd (GnomeLess * gl, int fd); > > >void gnome_less_set_font (GnomeLess * gl, GdkFont * font); > > > > > > >void gnome_less_set_fixed_font (GnomeLess * gl, gboolean fixed); > > >void gnome_less_reshow (GnomeLess * gl); > > >void gnome_less_fixed_font (GnomeLess * gl); > >} ># 58 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-messagebox.h" 1 ># 22 "/usr/include/gnome-1.0/libgnomeui/gnome-messagebox.h" >extern "C" { ># 38 "/usr/include/gnome-1.0/libgnomeui/gnome-messagebox.h" >typedef struct _GnomeMessageBox GnomeMessageBox; >typedef struct _GnomeMessageBoxClass GnomeMessageBoxClass; >typedef struct _GnomeMessageBoxButton GnomeMessageBoxButton; > >struct _GnomeMessageBox >{ > GnomeDialog dialog; >}; > >struct _GnomeMessageBoxClass >{ > GnomeDialogClass parent_class; >}; > > >guint gnome_message_box_get_type (void); >GtkWidget* gnome_message_box_new (const gchar *message, > const gchar *messagebox_type, > ...); > >GtkWidget* gnome_message_box_newv (const gchar *message, > const gchar *messagebox_type, > const gchar **buttons); > > >void gnome_message_box_set_modal (GnomeMessageBox *messagebox); > > >void gnome_message_box_set_default (GnomeMessageBox *messagebox, > gint button); > > >} ># 60 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-number-entry.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-number-entry.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-number-entry.h" 2 > > > >extern "C" { ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-number-entry.h" >typedef struct _GnomeNumberEntry GnomeNumberEntry; >typedef struct _GnomeNumberEntryClass GnomeNumberEntryClass; > >struct _GnomeNumberEntry { > GtkHBox hbox; > > gchar *calc_dialog_title; > > GtkWidget *calc_dlg; > > GtkWidget *gentry; >}; > >struct _GnomeNumberEntryClass { > GtkHBoxClass parent_class; >}; > > >guint gnome_number_entry_get_type (void); >GtkWidget *gnome_number_entry_new (const gchar *history_id, > const gchar *calc_dialog_title); > >GtkWidget *gnome_number_entry_gnome_entry (GnomeNumberEntry *nentry); >GtkWidget *gnome_number_entry_gtk_entry (GnomeNumberEntry *nentry); >void gnome_number_entry_set_title (GnomeNumberEntry *nentry, > const gchar *calc_dialog_title); > >gdouble gnome_number_entry_get_number (GnomeNumberEntry *nentry); > > >} ># 61 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-paper-selector.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-paper-selector.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-paper-selector.h" 2 > >extern "C" { ># 36 "/usr/include/gnome-1.0/libgnomeui/gnome-paper-selector.h" >typedef struct _GnomePaperSelector GnomePaperSelector; >typedef struct _GnomePaperSelectorClass GnomePaperSelectorClass; > >struct _GnomePaperSelector { > GtkVBox vbox; > > GtkWidget *paper; > GtkWidget *width; > GtkWidget *height; > GtkWidget *unit; > GtkWidget *unit_label; > > gint paper_id; > gint width_id; > gint height_id; >}; > >struct _GnomePaperSelectorClass { > GtkVBoxClass parent_class; >}; > >guint gnome_paper_selector_get_type (void); >GtkWidget *gnome_paper_selector_new (void); > >gchar *gnome_paper_selector_get_name (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_width (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_height (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_left_margin (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_right_margin (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_top_margin (GnomePaperSelector *gspaper); >gfloat gnome_paper_selector_get_bottom_margin (GnomePaperSelector *gspaper); > > >void gnome_paper_selector_set_name (GnomePaperSelector *gspaper, > const gchar *name); >void gnome_paper_selector_set_width (GnomePaperSelector *gspaper, > gfloat width); >void gnome_paper_selector_set_height (GnomePaperSelector *gspaper, > gfloat height); > >} ># 64 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-menu.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-menu.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-menu.h" 2 > > > > > >extern "C" { > > > > >GtkWidget *gnome_popup_menu_new (GnomeUIInfo *uiinfo); >GtkWidget *gnome_popup_menu_new_with_accelgroup (GnomeUIInfo *uiinfo, > GtkAccelGroup *accelgroup); >GtkAccelGroup *gnome_popup_menu_get_accel_group(GtkMenu *menu); > > >void gnome_popup_menu_attach (GtkWidget *popup, GtkWidget *widget, > gpointer user_data); > >void gnome_popup_menu_do_popup (GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data, > GdkEventButton *event, gpointer user_data); > >int gnome_popup_menu_do_popup_modal (GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data, > GdkEventButton *event, gpointer user_data); > > >} ># 65 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-help.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-help.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-popup-help.h" 2 > > > > >extern "C" { > > > >void gnome_widget_add_help_with_uidata (GtkWidget *widget, > const gchar *help, > GnomeUIInfo *menuinfo, > gpointer user_data); > > > >} ># 67 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap-entry.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap-entry.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 16 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap-entry.h" 2 > > > >extern "C" { ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-pixmap-entry.h" >typedef struct _GnomePixmapEntry GnomePixmapEntry; >typedef struct _GnomePixmapEntryClass GnomePixmapEntryClass; > >struct _GnomePixmapEntry { > GtkVBox vbox; > > GtkWidget *fentry; > > gboolean do_preview; > > GtkWidget *preview; > GtkWidget *preview_sw; > > > gchar *last_preview; >}; > >struct _GnomePixmapEntryClass { > GtkVBoxClass parent_class; >}; > > >guint gnome_pixmap_entry_get_type (void); >GtkWidget *gnome_pixmap_entry_new (const gchar *history_id, > const gchar *browse_dialog_title, > gboolean do_preview); >void gnome_pixmap_entry_construct (GnomePixmapEntry *gentry, > const gchar *history_id, > const gchar *browse_dialog_title, > gboolean do_preview); > > > > >void gnome_pixmap_entry_set_pixmap_subdir(GnomePixmapEntry *pentry, > const gchar *subdir); > >GtkWidget *gnome_pixmap_entry_gnome_file_entry(GnomePixmapEntry *pentry); >GtkWidget *gnome_pixmap_entry_gnome_entry (GnomePixmapEntry *pentry); >GtkWidget *gnome_pixmap_entry_gtk_entry (GnomePixmapEntry *pentry); > > > >void gnome_pixmap_entry_set_preview (GnomePixmapEntry *pentry, > gboolean do_preview); >void gnome_pixmap_entry_set_preview_size(GnomePixmapEntry *pentry, > gint preview_w, > gint preview_h); > > >gchar *gnome_pixmap_entry_get_filename(GnomePixmapEntry *pentry); > >} ># 69 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-preferences.h" 1 ># 11 "/usr/include/gnome-1.0/libgnomeui/gnome-preferences.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 12 "/usr/include/gnome-1.0/libgnomeui/gnome-preferences.h" 2 > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" 1 ># 32 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-child.h" 1 ># 33 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-child.h" >extern "C" { > > > > > > > >typedef struct _GnomeMDIChild GnomeMDIChild; >typedef struct _GnomeMDIChildClass GnomeMDIChildClass; ># 51 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-child.h" >struct _GnomeMDIChild >{ > GtkObject object; > > GtkObject *parent; > > gchar *name; > > GList *views; > > GnomeUIInfo *menu_template; >}; > >typedef GtkWidget *(*GnomeMDIChildViewCreator) (GnomeMDIChild *, gpointer); >typedef GList *(*GnomeMDIChildMenuCreator) (GnomeMDIChild *, GtkWidget *, gpointer); >typedef gchar *(*GnomeMDIChildConfigFunc) (GnomeMDIChild *, gpointer); >typedef GtkWidget *(*GnomeMDIChildLabelFunc) (GnomeMDIChild *, GtkWidget *, gpointer); > > > > > > > >struct _GnomeMDIChildClass >{ > GtkObjectClass parent_class; > > > GnomeMDIChildViewCreator create_view; > GnomeMDIChildMenuCreator create_menus; > GnomeMDIChildConfigFunc get_config_string; > GnomeMDIChildLabelFunc set_label; >}; > >guint gnome_mdi_child_get_type (void); > >GtkWidget *gnome_mdi_child_add_view (GnomeMDIChild *mdi_child); > >void gnome_mdi_child_remove_view (GnomeMDIChild *mdi_child, GtkWidget *view); > >void gnome_mdi_child_set_name (GnomeMDIChild *mdi_child, const gchar *name); > >void gnome_mdi_child_set_menu_template(GnomeMDIChild *mdi_child, GnomeUIInfo *menu_tmpl); > >} ># 33 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeMDI GnomeMDI; >typedef struct _GnomeMDIClass GnomeMDIClass; > >typedef enum { > GNOME_MDI_NOTEBOOK, > GNOME_MDI_TOPLEVEL, > GNOME_MDI_MODAL, > GNOME_MDI_DEFAULT_MODE = 42 >} GnomeMDIMode; > >struct _GnomeMDI { > GtkObject object; > > GnomeMDIMode mode; > > GtkPositionType tab_pos; > > guint signal_id; > gint in_drag : 1; > > gchar *appname, *title; > > GnomeUIInfo *menu_template; > GnomeUIInfo *toolbar_template; > > > GnomeMDIChild *active_child; > GtkWidget *active_view; > GnomeApp *active_window; > > GList *windows; > GList *children; > > GSList *registered; > > > > gchar *child_menu_path; > gchar *child_list_path; >}; > >struct _GnomeMDIClass { > GtkObjectClass parent_class; > > gint (*add_child)(GnomeMDI *, GnomeMDIChild *); > gint (*remove_child)(GnomeMDI *, GnomeMDIChild *); > gint (*add_view)(GnomeMDI *, GtkWidget *); > gint (*remove_view)(GnomeMDI *, GtkWidget *); > void (*child_changed)(GnomeMDI *, GnomeMDIChild *); > void (*view_changed)(GnomeMDI *, GtkWidget *); > void (*app_created)(GnomeMDI *, GnomeApp *); >}; ># 127 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" >guint gnome_mdi_get_type (void); > >GtkObject *gnome_mdi_new (const gchar *appname, const gchar *title); > >void gnome_mdi_set_mode (GnomeMDI *mdi, GnomeMDIMode mode); > > >void gnome_mdi_set_menubar_template(GnomeMDI *mdi, GnomeUIInfo *menu_tmpl); >void gnome_mdi_set_toolbar_template(GnomeMDI *mdi, GnomeUIInfo *tbar_tmpl); >void gnome_mdi_set_child_menu_path (GnomeMDI *mdi, const gchar *path); >void gnome_mdi_set_child_list_path (GnomeMDI *mdi, const gchar *path); > > >gint gnome_mdi_add_view (GnomeMDI *mdi, GnomeMDIChild *child); >gint gnome_mdi_add_toplevel_view (GnomeMDI *mdi, GnomeMDIChild *child); >gint gnome_mdi_remove_view (GnomeMDI *mdi, GtkWidget *view, gint force); > >GtkWidget *gnome_mdi_get_active_view (GnomeMDI *mdi); >void gnome_mdi_set_active_view (GnomeMDI *mdi, GtkWidget *view); > > >gint gnome_mdi_add_child (GnomeMDI *mdi, GnomeMDIChild *child); >gint gnome_mdi_remove_child (GnomeMDI *mdi, GnomeMDIChild *child, gint force); >gint gnome_mdi_remove_all (GnomeMDI *mdi, gint force); > >void gnome_mdi_open_toplevel (GnomeMDI *mdi); > >void gnome_mdi_update_child (GnomeMDI *mdi, GnomeMDIChild *child); > >GnomeMDIChild *gnome_mdi_get_active_child (GnomeMDI *mdi); >GnomeMDIChild *gnome_mdi_find_child (GnomeMDI *mdi, const gchar *name); > >GnomeApp *gnome_mdi_get_active_window (GnomeMDI *mdi); ># 170 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" >void gnome_mdi_register (GnomeMDI *mdi, GtkObject *object); >void gnome_mdi_unregister (GnomeMDI *mdi, GtkObject *object); > > > > > > >GnomeApp *gnome_mdi_get_app_from_view (GtkWidget *view); >GnomeMDIChild *gnome_mdi_get_child_from_view (GtkWidget *view); >GtkWidget *gnome_mdi_get_view_from_window (GnomeMDI *mdi, GnomeApp *app); ># 189 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi.h" >GnomeUIInfo *gnome_mdi_get_menubar_info (GnomeApp *app); >GnomeUIInfo *gnome_mdi_get_toolbar_info (GnomeApp *app); >GnomeUIInfo *gnome_mdi_get_child_menu_info (GnomeApp *app); > >} ># 15 "/usr/include/gnome-1.0/libgnomeui/gnome-preferences.h" 2 > >extern "C" { > > > >typedef struct _GnomePreferences GnomePreferences; > >struct _GnomePreferences { > GtkButtonBoxStyle dialog_buttons_style; > int property_box_buttons_ok : 1; > int property_box_buttons_apply : 1; > int property_box_buttons_close : 1; > int property_box_buttons_help : 1; > int statusbar_not_dialog : 1; > int statusbar_is_interactive : 1; > int statusbar_meter_on_right : 1; > int menubar_detachable : 1; > int menubar_relief : 1; > int toolbar_detachable : 1; > int toolbar_relief : 1; > int toolbar_relief_btn : 1; > int toolbar_lines : 1; > int toolbar_labels : 1; > int dialog_centered : 1; > int menus_have_tearoff : 1; > int menus_have_icons : 1; > int disable_imlib_cache : 1; > GtkWindowType dialog_type; > GtkWindowPosition dialog_position; > GnomeMDIMode mdi_mode; > GtkPositionType mdi_tab_pos; >}; > > >void gnome_preferences_load(void); >void gnome_preferences_save(void); > >void gnome_preferences_load_custom(GnomePreferences *settings); >void gnome_preferences_save_custom(GnomePreferences *settings); > > >GtkButtonBoxStyle gnome_preferences_get_button_layout (void); >void gnome_preferences_set_button_layout (GtkButtonBoxStyle style); > > > >gboolean gnome_preferences_get_statusbar_dialog (void); >void gnome_preferences_set_statusbar_dialog (gboolean statusbar); > > > >gboolean gnome_preferences_get_statusbar_interactive(void); >void gnome_preferences_set_statusbar_interactive(gboolean b); > > >gboolean gnome_preferences_get_statusbar_meter_on_right (void); >void gnome_preferences_set_statusbar_meter_on_right (gboolean status_meter_on_right); > > > >gboolean gnome_preferences_get_menubar_detachable (void); >void gnome_preferences_set_menubar_detachable (gboolean b); > > >gboolean gnome_preferences_get_menubar_relief (void); >void gnome_preferences_set_menubar_relief (gboolean b); > > >gboolean gnome_preferences_get_toolbar_detachable (void); >void gnome_preferences_set_toolbar_detachable (gboolean b); > > >gboolean gnome_preferences_get_toolbar_relief (void); >void gnome_preferences_set_toolbar_relief (gboolean b); > > >gboolean gnome_preferences_get_toolbar_relief_btn (void); >void gnome_preferences_set_toolbar_relief_btn (gboolean b); > > >gboolean gnome_preferences_get_toolbar_lines (void); >void gnome_preferences_set_toolbar_lines (gboolean b); > > >gboolean gnome_preferences_get_toolbar_labels (void); >void gnome_preferences_set_toolbar_labels (gboolean b); > > > > >gboolean gnome_preferences_get_dialog_centered (void); >void gnome_preferences_set_dialog_centered (gboolean b); > > >GtkWindowType gnome_preferences_get_dialog_type (void); >void gnome_preferences_set_dialog_type (GtkWindowType t); > > > >GtkWindowPosition gnome_preferences_get_dialog_position (void); >void gnome_preferences_set_dialog_position (GtkWindowPosition p); > > >GnomeMDIMode gnome_preferences_get_mdi_mode (void); >void gnome_preferences_set_mdi_mode (GnomeMDIMode m); >GtkPositionType gnome_preferences_get_mdi_tab_pos (void); >void gnome_preferences_set_mdi_tab_pos (GtkPositionType p); > > >int gnome_preferences_get_property_box_apply (void); >void gnome_preferences_set_property_box_button_apply (int v); > > >gboolean gnome_preferences_get_menus_have_tearoff (void); >void gnome_preferences_set_menus_have_tearoff (gboolean b); > > >int gnome_preferences_get_menus_have_icons (void); >void gnome_preferences_set_menus_have_icons (int have_icons); > > >int gnome_preferences_get_disable_imlib_cache (void); >void gnome_preferences_set_disable_imlib_cache (int disable_imlib_cache); > >} ># 71 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-propertybox.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-propertybox.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-propertybox.h" 2 > >extern "C" { ># 38 "/usr/include/gnome-1.0/libgnomeui/gnome-propertybox.h" >typedef struct _GnomePropertyBox GnomePropertyBox; >typedef struct _GnomePropertyBoxClass GnomePropertyBoxClass; > >struct _GnomePropertyBox >{ > GnomeDialog dialog; > > GtkWidget *notebook; > GtkWidget *ok_button; > GtkWidget *apply_button; > GtkWidget *cancel_button; > GtkWidget *help_button; >}; > >struct _GnomePropertyBoxClass >{ > GnomeDialogClass parent_class; > > void (* apply) (GnomePropertyBox *propertybox, gint page_num); > void (* help) (GnomePropertyBox *propertybox, gint page_num); >}; > >guint gnome_property_box_get_type (void); >GtkWidget *gnome_property_box_new (void); > > > > > >void gnome_property_box_changed (GnomePropertyBox *property_box); > >void gnome_property_box_set_modified(GnomePropertyBox *property_box, > gboolean state); > > >gint gnome_property_box_append_page (GnomePropertyBox *property_box, > GtkWidget *child, > GtkWidget *tab_label); > > > >void gnome_property_box_set_state (GnomePropertyBox *property_box, > gboolean state); > > >} ># 73 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-properties.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-properties.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-properties.h" 2 > > > >extern "C" { > >typedef struct _GnomePropertyObject GnomePropertyObject; >typedef struct _GnomePropertyDescriptor GnomePropertyDescriptor; > >typedef enum { > GNOME_PROPERTY_ACTION_APPLY = 1, > GNOME_PROPERTY_ACTION_UPDATE, > GNOME_PROPERTY_ACTION_LOAD, > GNOME_PROPERTY_ACTION_SAVE, > GNOME_PROPERTY_ACTION_LOAD_TEMP, > GNOME_PROPERTY_ACTION_SAVE_TEMP, > GNOME_PROPERTY_ACTION_DISCARD_TEMP, > GNOME_PROPERTY_ACTION_CHANGED >} GnomePropertyAction; > >struct _GnomePropertyDescriptor { > guint size; > const gchar *label; > GtkWidget * (*init_func) (GnomePropertyObject *); > void (*apply_func) (GnomePropertyObject *); > void (*update_func) (GnomePropertyObject *); > void (*load_func) (GnomePropertyObject *); > void (*save_func) (GnomePropertyObject *); > void (*load_temp_func) (GnomePropertyObject *); > gint (*save_temp_func) (GnomePropertyObject *); > void (*discard_temp_func) (GnomePropertyObject *); > void (*changed_func) (GnomePropertyObject *); > GList *next; >}; > >struct _GnomePropertyObject { > GtkWidget *label; > GnomePropertyDescriptor *descriptor; > gpointer prop_data, temp_data, user_data; > GList *object_list; >}; > > >GnomePropertyObject * >gnome_property_object_new (GnomePropertyDescriptor *descriptor, > gpointer property_data_ptr); > > >void >gnome_property_object_register (GnomePropertyBox *property_box, > GnomePropertyObject *object); > > >void >gnome_property_object_list_walk (GList *property_object_list, > GnomePropertyAction action); > > >void gnome_property_object_apply (GnomePropertyObject *object); >void gnome_property_object_update (GnomePropertyObject *object); >void gnome_property_object_load (GnomePropertyObject *object); >void gnome_property_object_save (GnomePropertyObject *object); >void gnome_property_object_load_temp (GnomePropertyObject *object); >void gnome_property_object_save_temp (GnomePropertyObject *object); >void gnome_property_object_discard_temp (GnomePropertyObject *object); >void gnome_property_object_changed (GnomePropertyObject *object); > >} ># 75 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-property-entries.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-property-entries.h" >extern "C" { > > >GtkWidget * >gnome_property_entry_font (GnomePropertyObject *object, const gchar *label, > gchar **font_name_ptr, GdkFont **font_ptr); > > >GtkWidget * >gnome_property_entry_colors (GnomePropertyObject *object, const gchar *label, > gint num_colors, gint columns, gint *table_pos, > GdkColor *colors, const gchar *texts []); > >} ># 76 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-scores.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-scores.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-scores.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeScores GnomeScores; >typedef struct _GnomeScoresClass GnomeScoresClass; > >struct _GnomeScores >{ > GnomeDialog dialog; > > GtkWidget *but_clear; > guint n_scores; > > GtkWidget *logo; > GtkWidget **label_names; > GtkWidget **label_scores; > GtkWidget **label_times; >}; > >struct _GnomeScoresClass >{ > GnomeDialogClass parent_class; >}; > >guint gnome_scores_get_type (void); ># 69 "/usr/include/gnome-1.0/libgnomeui/gnome-scores.h" >void > gnome_scores_display ( > gchar *title, > gchar *app_name, > > gchar *level, > int pos > > > ); > > >GtkWidget* gnome_scores_new ( > guint n_scores, > gchar **names, > gfloat *scores, > time_t *times, > guint clear > ); > > >void gnome_scores_set_logo_label ( > GnomeScores *gs, > gchar *txt, > gchar *font, > GdkColor *color > ); > > >void gnome_scores_set_logo_pixmap ( > GnomeScores *gs, > gchar *logo > ); > > >void gnome_scores_set_logo_widget ( > GnomeScores *gs, > GtkWidget *w > ); > > >void gnome_scores_set_color ( > GnomeScores *gs, > guint pos, > GdkColor *col > ); > > >void gnome_scores_set_def_color ( > GnomeScores *gs, > GdkColor *col > ); > > >void gnome_scores_set_colors ( > GnomeScores *gs, > GdkColor *col > ); > > > >void gnome_scores_set_logo_label_title ( > GnomeScores *gs, > gchar *txt > ); > > >void gnome_scores_set_current_player ( > GnomeScores *gs, > gint i > ); >} ># 78 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-spell.h" 1 ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-spell.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-spell.h" 2 > > > > > > > >extern "C" { > > > > > > > >typedef struct _GnomeSpell GnomeSpell; >typedef struct _GnomeSpellClass GnomeSpellClass; >typedef struct _GnomeSpellInfo GnomeSpellInfo; > >struct _GnomeSpellInfo { > const gchar* original; > gchar* replacement; > gchar* word; > guint offset; > GSList * words; >}; > >struct _GnomeSpell { > GtkVBox vbox; > > GSList * spellinfo; > > GtkWidget* page_spell; > GtkWidget* page_config; > GtkWidget* word; > GtkWidget* list; > GtkWidget* b_accept; > GtkWidget* b_skip; > GtkWidget* b_replace; > GtkWidget* b_insert; > GtkWidget* b_insertl; > GtkWidget* command; > GtkWidget* dict; > GtkWidget* pdict; > GtkWidget* wchars; > GtkWidget* wlen; > GtkWidget* sort; > GtkWidget* runtog; > GtkWidget* discard; > GtkWidget* tooltip; > GtkWidget* killproc; > GtkTooltips* tooltips; > GSList* awords; > > FILE* rispell; > FILE* wispell; > pid_t spell_pid; >}; > >struct _GnomeSpellClass { > GtkVBoxClass parent_class; > void (* found_word) (GnomeSpell* spell, GnomeSpellInfo* sp); > void (* handled_word) (GnomeSpell* spell, GnomeSpellInfo* sp); >}; > >guint gnome_spell_get_type(void); > >GtkWidget* gnome_spell_new(void); > >gint gnome_spell_check(GnomeSpell* gtkspell, const gchar* str); > >void gnome_spell_accept(GnomeSpell* gtkspell, const gchar* word); > >void gnome_spell_insert(GnomeSpell* gtkspell, const gchar* word, gboolean lowercase); > >int gnome_spell_next(GnomeSpell* gtkspell); > >void gnome_spell_kill(GnomeSpell* gtkspell); > >} ># 80 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-startup.h" 1 > > > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 8 "/usr/include/gnome-1.0/libgnomeui/gnome-startup.h" 2 > >extern "C" { ># 21 "/usr/include/gnome-1.0/libgnomeui/gnome-startup.h" >gboolean gnome_startup_acquire_token (const gchar *property_name, > const gchar *sm_id); > >} ># 81 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" 2 ># 89 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >extern "C" { ># 193 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >typedef struct _GnomeStockPixmapEntryAny GnomeStockPixmapEntryAny; >typedef struct _GnomeStockPixmapEntryData GnomeStockPixmapEntryData; >typedef struct _GnomeStockPixmapEntryFile GnomeStockPixmapEntryFile; >typedef struct _GnomeStockPixmapEntryPath GnomeStockPixmapEntryPath; >typedef struct _GnomeStockPixmapEntryWidget GnomeStockPixmapEntryWidget; >typedef struct _GnomeStockPixmapEntryGPixmap GnomeStockPixmapEntryGPixmap; >typedef union _GnomeStockPixmapEntry GnomeStockPixmapEntry; > >typedef enum { > GNOME_STOCK_PIXMAP_TYPE_NONE, > GNOME_STOCK_PIXMAP_TYPE_DATA, > GNOME_STOCK_PIXMAP_TYPE_FILE, > GNOME_STOCK_PIXMAP_TYPE_PATH, > GNOME_STOCK_PIXMAP_TYPE_WIDGET, > GNOME_STOCK_PIXMAP_TYPE_IMLIB, > GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED, > GNOME_STOCK_PIXMAP_TYPE_GPIXMAP >} GnomeStockPixmapType; > > > >struct _GnomeStockPixmapEntryData { > GnomeStockPixmapType type; > int width, height; > char *label; > gchar **xpm_data; >}; > > >typedef struct _GnomeStockPixmapEntryImlib GnomeStockPixmapEntryImlib; >struct _GnomeStockPixmapEntryImlib { > GnomeStockPixmapType type; > int width, height; > char *label; > const gchar *rgb_data; > GdkImlibColor shape; >}; > > >typedef struct _GnomeStockPixmapEntryImlibScaled GnomeStockPixmapEntryImlibScaled; >struct _GnomeStockPixmapEntryImlibScaled { > GnomeStockPixmapType type; > int width, height; > char *label; > const gchar *rgb_data; > GdkImlibColor shape; > int scaled_width, scaled_height; >}; > > > >struct _GnomeStockPixmapEntryFile { > GnomeStockPixmapType type; > int width, height; > char *label; > gchar *filename; >}; > > >struct _GnomeStockPixmapEntryPath { > GnomeStockPixmapType type; > int width, height; > char *label; > gchar *pathname; >}; > > > >struct _GnomeStockPixmapEntryWidget { > GnomeStockPixmapType type; > int width, height; > char *label; > GtkWidget *widget; >}; > > >struct _GnomeStockPixmapEntryGPixmap { > GnomeStockPixmapType type; > int width, height; > char *label; > GnomePixmap *pixmap; >}; > >struct _GnomeStockPixmapEntryAny { > GnomeStockPixmapType type; > int width, height; > char *label; >}; > >union _GnomeStockPixmapEntry { > GnomeStockPixmapType type; > GnomeStockPixmapEntryAny any; > GnomeStockPixmapEntryData data; > GnomeStockPixmapEntryFile file; > GnomeStockPixmapEntryPath path; > GnomeStockPixmapEntryWidget widget; > GnomeStockPixmapEntryImlib imlib; > GnomeStockPixmapEntryImlibScaled imlib_s; > GnomeStockPixmapEntryGPixmap gpixmap; >}; ># 329 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >GtkWidget *gnome_stock_pixmap_widget_new(GtkWidget *window, const char *icon); ># 343 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >typedef struct _GnomeStock GnomeStock; >typedef struct _GnomeStockClass GnomeStockClass; > >struct _GnomeStock { > GnomePixmap pixmap; > GnomePixmap *regular, *disabled, *focused; > GnomePixmap *current; > char *icon; > guint32 c_regular, c_disabled, c_focused; >}; > >struct _GnomeStockClass { > GnomePixmapClass pixmap_class; >}; > >guint gnome_stock_get_type(void); >GtkWidget *gnome_stock_new(void); >GtkWidget *gnome_stock_new_with_icon(const char *icon); >gboolean gnome_stock_set_icon(GnomeStock *stock, const char *icon); ># 382 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >GtkWidget *gnome_stock_pixmap_widget (GtkWidget *window, > const char *icon); > > > > >GtkWidget *gnome_stock_pixmap_widget_at_size(GtkWidget *window, > const char *icon, > guint width, > guint height); > > > >void gnome_stock_pixmap_widget_set_icon(GnomeStock *widget, > const char *icon); > > > > > > >gint gnome_stock_pixmap_register (const char *icon, > const char *subtype, > GnomeStockPixmapEntry *entry); > > >gint gnome_stock_pixmap_change (const char *icon, > const char *subtype, > GnomeStockPixmapEntry *entry); > > > >GnomeStockPixmapEntry *gnome_stock_pixmap_checkfor (const char *icon, > const char *subtype); ># 424 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >GtkWidget *gnome_pixmap_button (GtkWidget *pixmap, > const char *text); >void gnome_button_can_default (GtkButton *button, > gboolean can_default); ># 443 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >GtkWidget *gnome_stock_button (const char *type); > > > > > >GtkWidget *gnome_stock_or_ordinary_button (const char *type); ># 528 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >GtkWidget *gnome_stock_menu_item (const char *type, > const char *text); ># 548 "/usr/include/gnome-1.0/libgnomeui/gnome-stock.h" >gboolean gnome_stock_menu_accel (const char *type, > guchar *key, > guint8 *mod); > > > > >void gnome_stock_menu_accel_parse(const char *section); > > > > > >GtkWidget *gnome_stock_transparent_window (const char *icon, const char *subtype); > > > > >void gnome_stock_pixmap_gdk (const char *icon, > const char *subtype, > GdkPixmap **pixmap, > GdkPixmap **mask); > >} ># 84 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" 2 > > >extern "C" { ># 41 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >typedef struct _GnomeClient GnomeClient; >typedef struct _GnomeClientClass GnomeClientClass; > > >typedef enum >{ > GNOME_INTERACT_NONE, > GNOME_INTERACT_ERRORS, > GNOME_INTERACT_ANY >} GnomeInteractStyle; > >typedef enum >{ > GNOME_DIALOG_ERROR, > GNOME_DIALOG_NORMAL >} GnomeDialogType; > >typedef enum >{ > GNOME_SAVE_GLOBAL, > GNOME_SAVE_LOCAL, > GNOME_SAVE_BOTH >} GnomeSaveStyle; > >typedef enum >{ > GNOME_RESTART_IF_RUNNING, > GNOME_RESTART_ANYWAY, > GNOME_RESTART_IMMEDIATELY, > GNOME_RESTART_NEVER >} GnomeRestartStyle; > >typedef enum >{ > GNOME_CLIENT_IDLE, > GNOME_CLIENT_SAVING_PHASE_1, > GNOME_CLIENT_WAITING_FOR_PHASE_2, > GNOME_CLIENT_SAVING_PHASE_2, > GNOME_CLIENT_FROZEN, > GNOME_CLIENT_DISCONNECTED, > GNOME_CLIENT_REGISTERING >} GnomeClientState; > >typedef enum >{ > GNOME_CLIENT_IS_CONNECTED= 1 << 0, > GNOME_CLIENT_RESTARTED = 1 << 1, > GNOME_CLIENT_RESTORED = 1 << 2 >} GnomeClientFlags; > > >typedef void (*GnomeInteractFunction) (GnomeClient *client, > gint key, > GnomeDialogType dialog_type, > gpointer data); > >struct _GnomeClient >{ > GtkObject object; > > > gpointer smc_conn; > gint input_id; > > > gchar *client_id; > > > gchar *previous_id; > > > gchar *config_prefix; > > > gchar *global_config_prefix; > > > GList *static_args; > > > > > > gchar **clone_command; > gchar *current_directory; > gchar **discard_command; > GHashTable *environment; > pid_t process_id; > gchar *program; > gchar **resign_command; > gchar **restart_command; > GnomeRestartStyle restart_style; > gchar **shutdown_command; > gchar *user_id; > > > GnomeSaveStyle save_style; > GnomeInteractStyle interact_style; > gboolean shutdown; > gboolean fast; > > > GnomeClientState state; > gboolean save_phase_2_requested; > gboolean save_successfull; > gboolean save_yourself_emitted; > > GSList *interaction_keys; >}; > > >struct _GnomeClientClass >{ > GtkObjectClass parent_class; > > gboolean (* save_yourself) (GnomeClient *client, > gint phase, > GnomeSaveStyle save_style, > gint shutdown, > GnomeInteractStyle interact_style, > gint fast); > void (* die) (GnomeClient *client); > void (* save_complete) (GnomeClient *client); > void (* shutdown_cancelled) (GnomeClient *client); > > void (* connect) (GnomeClient *client, > gint restarted); > void (* disconnect) (GnomeClient *client); >}; > > >guint gnome_client_get_type (void); >void gnome_client_init(void); ># 188 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >GnomeClient *gnome_master_client (void); > > > > > > >gchar* gnome_client_get_config_prefix (GnomeClient *client); ># 206 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >gchar* gnome_client_get_global_config_prefix (GnomeClient *client); ># 220 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_set_global_config_prefix (GnomeClient *client, > const gchar* prefix); ># 238 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >GnomeClientFlags gnome_client_get_flags (GnomeClient *client); ># 255 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_set_restart_style (GnomeClient *client, > GnomeRestartStyle style); ># 265 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_set_priority (GnomeClient *client, > guint priority); > > > > > >void gnome_client_set_restart_command (GnomeClient *client, > gint argc, gchar *argv[]); > > > > > >void gnome_client_add_static_arg (GnomeClient *client, ...); ># 289 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_set_discard_command (GnomeClient *client, > gint argc, gchar *argv[]); ># 299 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_set_resign_command (GnomeClient *client, > gint argc, gchar *argv[]); >void gnome_client_set_shutdown_command (GnomeClient *client, > gint argc, gchar *argv[]); > > > >void gnome_client_set_current_directory (GnomeClient *client, > const gchar *dir); >void gnome_client_set_environment (GnomeClient *client, > const gchar *name, > const gchar *value); > > > > >void gnome_client_set_clone_command (GnomeClient *client, > gint argc, gchar *argv[]); >void gnome_client_set_process_id (GnomeClient *client, > pid_t pid); >void gnome_client_set_program (GnomeClient *client, > const gchar *program); >void gnome_client_set_user_id (GnomeClient *client, > const gchar *user_id); > > > > > > >void gnome_client_save_any_dialog (GnomeClient *client, > GnomeDialog *dialog); > > > > > > >void gnome_client_save_error_dialog (GnomeClient *client, > GnomeDialog *dialog); > > > > > > >void gnome_client_request_phase_2 (GnomeClient *client); ># 360 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_request_save (GnomeClient *client, > GnomeSaveStyle save_style, > gboolean shutdown, > GnomeInteractStyle interact_style, > gboolean fast, > gboolean global); > > > > >void gnome_client_flush (GnomeClient *client); > > > > > >void gnome_client_disable_master_connection (void); > > > > >GnomeClient *gnome_client_new (void); > > >GnomeClient *gnome_client_new_without_connection (void); > > > > > > >void gnome_client_connect (GnomeClient *client); > > > >void gnome_client_disconnect (GnomeClient *client); > > > >void gnome_client_set_id (GnomeClient *client, > const gchar *client_id); > > > > >gchar* gnome_client_get_id (GnomeClient *client); > > > > >gchar* gnome_client_get_previous_id (GnomeClient *client); > > > >GnomeClient *gnome_cloned_client (void); ># 424 "/usr/include/gnome-1.0/libgnomeui/gnome-client.h" >void gnome_client_request_interaction (GnomeClient *client, > GnomeDialogType dialog, > GnomeInteractFunction func, > gpointer client_data); > >void gnome_client_request_interaction_interp (GnomeClient *client, > GnomeDialogType dialog, > GtkCallbackMarshal func, > gpointer data, > GtkDestroyNotify destroy); > > > >void gnome_interaction_key_return (gint key, > gboolean cancel_shutdown); > >} ># 85 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gtkcauldron.h" 1 ># 23 "/usr/include/gnome-1.0/libgnomeui/gtkcauldron.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gtkcauldron.h" 2 > >extern "C" { ># 55 "/usr/include/gnome-1.0/libgnomeui/gtkcauldron.h" >typedef void (*GtkCauldronNextArgCallback) (gint cauldron_type, gpointer user_data, void *result); > > >enum { > GTK_CAULDRON_TYPE_CHAR_P, > GTK_CAULDRON_TYPE_CHAR_P_P, > GTK_CAULDRON_TYPE_INT, > GTK_CAULDRON_TYPE_INT_P, > GTK_CAULDRON_TYPE_USERDATA_P, > GTK_CAULDRON_TYPE_DOUBLE, > GTK_CAULDRON_TYPE_DOUBLE_P, > GTK_CAULDRON_TYPE_CALLBACK >}; > >extern gchar *GTK_CAULDRON_ENTER; >extern gchar *GTK_CAULDRON_ESCAPE; > > > >typedef GtkWidget *(*GtkCauldronCustomCallback) (GtkWidget * widget, gpointer user_data); > > >gchar *gtk_dialog_cauldron_get_error (void); > > >gchar *gtk_dialog_cauldron (const gchar * title, glong options, ...); ># 89 "/usr/include/gnome-1.0/libgnomeui/gtkcauldron.h" >gchar *gtk_dialog_cauldron_parse (const gchar * title, glong options, > const gchar * format, > GtkCauldronNextArgCallback next_arg, > gpointer user_data, > GtkWidget *parent); > >} ># 87 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gtk-clock.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gtk-clock.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 15 "/usr/include/gnome-1.0/libgnomeui/gtk-clock.h" 2 > >extern "C" { > > > > > > > >typedef struct _GtkClock GtkClock; >typedef struct _GtkClockClass GtkClockClass; > >typedef enum >{ > GTK_CLOCK_INCREASING, > GTK_CLOCK_DECREASING, > GTK_CLOCK_REALTIME >} GtkClockType; > >struct _GtkClock { > GtkLabel widget; > GtkClockType type; > gint timer_id; > gint update_interval; > time_t seconds; > time_t stopped; > gchar *fmt; > struct tm *tm; >}; > >struct _GtkClockClass { > GtkLabelClass parent_class; >}; > >guint gtk_clock_get_type(void); >GtkWidget *gtk_clock_new(GtkClockType type); >void gtk_clock_set_format(GtkClock *gclock, const gchar *fmt); >void gtk_clock_set_seconds(GtkClock *gclock, time_t seconds); >void gtk_clock_set_update_interval(GtkClock *gclock, gint seconds); >void gtk_clock_start(GtkClock *gclock); >void gtk_clock_stop(GtkClock *gclock); > >} ># 89 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gtkdial.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gtkdial.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gtkdial.h" 2 > >extern "C" { ># 36 "/usr/include/gnome-1.0/libgnomeui/gtkdial.h" >typedef struct _GtkDial GtkDial; >typedef struct _GtkDialClass GtkDialClass; > >struct _GtkDial >{ > GtkWidget widget; > GdkPixmap *offscreen_pixmap; > GtkAdjustment *adjustment; > > guint policy : 2; > guint view_only : 1; > guint8 button; > > > gint radius; > gint pointer_width; > > guint32 timer; > > gfloat angle; > gfloat percentage; > gfloat old_value; > gfloat old_lower; > gfloat old_upper; > >}; > >struct _GtkDialClass >{ > GtkWidgetClass parent_class; >}; > > >GtkWidget* gtk_dial_new (GtkAdjustment *adjustment); >guint gtk_dial_get_type (void); >GtkAdjustment* gtk_dial_get_adjustment (GtkDial *dial); >void gtk_dial_set_update_policy (GtkDial *dial, > GtkUpdateType policy); > >void gtk_dial_set_adjustment (GtkDial *dial, > GtkAdjustment *adjustment); >gfloat gtk_dial_set_percentage (GtkDial *dial, > gfloat percent); >gfloat gtk_dial_get_percentage (GtkDial *dial); >gfloat gtk_dial_set_value (GtkDial *dial, > gfloat value); >gfloat gtk_dial_get_value (GtkDial *dial); >void gtk_dial_set_view_only (GtkDial *dial, > gboolean view_only); > >} ># 90 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gtk-ted.h" 1 > > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 7 "/usr/include/gnome-1.0/libgnomeui/gtk-ted.h" 2 > >extern "C" { > > > > > >typedef struct _GtkTed GtkTed; >typedef struct _GtkTedClass GtkTedClass; > >guint gtk_ted_get_type (void); >void gtk_ted_set_app_name (const gchar *str); >void gtk_ted_prepare (GtkTed *ted); >GtkWidget *gtk_ted_new (const gchar *dialog_name); >GtkWidget *gtk_ted_new_layout (const gchar *dialog_name, const gchar *layout); >void gtk_ted_add (GtkTed *ted, GtkWidget *widget, const gchar *name); > >struct _GtkTed >{ > GtkTable table; > > GHashTable *widgets; > GtkWidget *widget_box; > gint last_col, last_row; > gint top_col, top_row; > gchar *dialog_name; > gint need_gui; > gint in_gui; >}; > >struct _GtkTedClass { > GtkTableClass parent_class; >}; > >} ># 92 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gtkpixmapmenuitem.h" 1 ># 22 "/usr/include/gnome-1.0/libgnomeui/gtkpixmapmenuitem.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 23 "/usr/include/gnome-1.0/libgnomeui/gtkpixmapmenuitem.h" 2 > >extern "C" { ># 33 "/usr/include/gnome-1.0/libgnomeui/gtkpixmapmenuitem.h" >typedef struct _GtkPixmapMenuItem GtkPixmapMenuItem; >typedef struct _GtkPixmapMenuItemClass GtkPixmapMenuItemClass; > >struct _GtkPixmapMenuItem >{ > GtkMenuItem menu_item; > > GtkWidget *pixmap; >}; > >struct _GtkPixmapMenuItemClass >{ > GtkMenuItemClass parent_class; >}; > > >GtkType gtk_pixmap_menu_item_get_type (void); >GtkWidget* gtk_pixmap_menu_item_new (void); >void gtk_pixmap_menu_item_set_pixmap (GtkPixmapMenuItem *menu_item, > GtkWidget *pixmap); > >} ># 94 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-dateedit.h" 1 > > > > ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 6 "/usr/include/gnome-1.0/libgnomeui/gnome-dateedit.h" 2 > >extern "C" { > > >typedef enum { > GNOME_DATE_EDIT_SHOW_TIME = 1 << 0, > GNOME_DATE_EDIT_24_HR = 1 << 1, > GNOME_DATE_EDIT_WEEK_STARTS_ON_MONDAY = 1 << 2 >} GnomeDateEditFlags; ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-dateedit.h" >typedef struct { > GtkHBox hbox; > > GtkWidget *date_entry; > GtkWidget *date_button; > > GtkWidget *time_entry; > GtkWidget *time_popup; > > GtkWidget *cal_label; > GtkWidget *cal_popup; > GtkWidget *calendar; > > int lower_hour; > int upper_hour; > > time_t initial_time; > int flags; >} GnomeDateEdit; > >typedef struct { > GtkHBoxClass parent_class; > void (*date_changed) (GnomeDateEdit *gde); > void (*time_changed) (GnomeDateEdit *gde); >} GnomeDateEditClass; > >guint gnome_date_edit_get_type (void); >GtkWidget *gnome_date_edit_new (time_t the_time, int show_time, int use_24_format); >GtkWidget *gnome_date_edit_new_flags (time_t the_time, GnomeDateEditFlags flags); > >void gnome_date_edit_set_time (GnomeDateEdit *gde, time_t the_time); >void gnome_date_edit_set_popup_range (GnomeDateEdit *gde, int low_hour, int up_hour); >time_t gnome_date_edit_get_date (GnomeDateEdit *gde); >void gnome_date_edit_set_flags (GnomeDateEdit *gde, GnomeDateEditFlags flags); >int gnome_date_edit_get_flags (GnomeDateEdit *gde); > > >} ># 95 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-calculator.h" 1 ># 12 "/usr/include/gnome-1.0/libgnomeui/gnome-calculator.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 13 "/usr/include/gnome-1.0/libgnomeui/gnome-calculator.h" 2 > >extern "C" { ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-calculator.h" >typedef struct _GnomeCalculator GnomeCalculator; >typedef struct _GnomeCalculatorClass GnomeCalculatorClass; > >typedef enum { > GNOME_CALCULATOR_DEG, > GNOME_CALCULATOR_RAD, > GNOME_CALCULATOR_GRAD >} GnomeCalculatorMode; > >struct _GnomeCalculator { > GtkVBox vbox; > > gdouble result; > gchar result_string[13]; > gdouble memory; > > GtkWidget *display; > > GnomeCalculatorMode mode; > > guint add_digit : 1; > > guint error : 1; > guint invert : 1; > GtkWidget *invert_button; > > GList *stack; > GtkAccelGroup *accel; >}; > >struct _GnomeCalculatorClass { > GtkVBoxClass parent_class; > > void (* result_changed)(GnomeCalculator *gc, > gdouble result); >}; > > >guint gnome_calculator_get_type (void); >GtkWidget *gnome_calculator_new (void); >void gnome_calculator_clear (GnomeCalculator *gc, > const gboolean reset); >void gnome_calculator_set (GnomeCalculator *gc, > gdouble result); > > > >} ># 96 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-generic-child.h" 1 ># 33 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-generic-child.h" >extern "C" { ># 43 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-generic-child.h" >typedef struct _GnomeMDIGenericChild GnomeMDIGenericChild; >typedef struct _GnomeMDIGenericChildClass GnomeMDIGenericChildClass; > >struct _GnomeMDIGenericChild { > GnomeMDIChild mdi_child; > > > > > GnomeMDIChildViewCreator create_view; > GnomeMDIChildMenuCreator create_menus; > GnomeMDIChildConfigFunc get_config_string; > GnomeMDIChildLabelFunc set_label; > > GtkCallbackMarshal create_view_cbm, create_menus_cbm, > get_config_string_cbm, set_label_cbm; > GtkDestroyNotify create_view_dn, create_menus_dn, > get_config_string_dn, set_label_dn; > gpointer create_view_data, create_menus_data, > get_config_string_data, set_label_data; >}; > >struct _GnomeMDIGenericChildClass { > GnomeMDIChildClass parent_class; >}; > >guint gnome_mdi_generic_child_get_type (void); > >GnomeMDIGenericChild *gnome_mdi_generic_child_new (const gchar *name); > >void gnome_mdi_generic_child_set_view_creator (GnomeMDIGenericChild *child, > GnomeMDIChildViewCreator func, > gpointer data); >void gnome_mdi_generic_child_set_view_creator_full(GnomeMDIGenericChild *child, > GnomeMDIChildViewCreator func, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify notify); >void gnome_mdi_generic_child_set_menu_creator (GnomeMDIGenericChild *child, > GnomeMDIChildMenuCreator func, > gpointer data); >void gnome_mdi_generic_child_set_menu_creator_full(GnomeMDIGenericChild *child, > GnomeMDIChildMenuCreator func, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify notify); >void gnome_mdi_generic_child_set_config_func (GnomeMDIGenericChild *child, > GnomeMDIChildConfigFunc func, > gpointer data); >void gnome_mdi_generic_child_set_config_func_full (GnomeMDIGenericChild *child, > GnomeMDIChildConfigFunc func, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify notify); >void gnome_mdi_generic_child_set_label_func (GnomeMDIGenericChild *child, > GnomeMDIChildLabelFunc func, > gpointer data); >void gnome_mdi_generic_child_set_label_func_full (GnomeMDIGenericChild *child, > GnomeMDIChildLabelFunc func, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify notify); > > >} ># 99 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-session.h" 1 ># 14 "/usr/include/gnome-1.0/libgnomeui/gnome-mdi-session.h" >extern "C" { > > > >typedef GnomeMDIChild *(*GnomeMDIChildCreator) (const gchar *); > > > > >gboolean gnome_mdi_restore_state (GnomeMDI *mdi, const gchar *section, > GnomeMDIChildCreator child_create_func); > > > >void gnome_mdi_save_state (GnomeMDI *mdi, const gchar *section); > >} ># 100 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnometypebuiltins.h" 1 > > >extern GtkType GTK_TYPE_GNOME_ANIMATOR_STATUS; >extern GtkType GTK_TYPE_GNOME_ANIMATOR_LOOP_TYPE; >extern GtkType GTK_TYPE_GNOME_UI_INFO_TYPE; >extern GtkType GTK_TYPE_GNOME_UI_INFO_CONFIGURABLE_TYPES; >extern GtkType GTK_TYPE_GNOME_UI_PIXMAP_TYPE; >extern GtkType GTK_TYPE_GNOME_CALCULATOR_MODE; >extern GtkType GTK_TYPE_GNOME_INTERACT_STYLE; >extern GtkType GTK_TYPE_GNOME_DIALOG_TYPE; >extern GtkType GTK_TYPE_GNOME_SAVE_STYLE; >extern GtkType GTK_TYPE_GNOME_RESTART_STYLE; >extern GtkType GTK_TYPE_GNOME_CLIENT_STATE; >extern GtkType GTK_TYPE_GNOME_CLIENT_FLAGS; >extern GtkType GTK_TYPE_GNOME_DATE_EDIT_FLAGS; >extern GtkType GTK_TYPE_GNOME_DOCK_PLACEMENT; >extern GtkType GTK_TYPE_GNOME_DOCK_ITEM_BEHAVIOR; >extern GtkType GTK_TYPE_GNOME_FONT_PICKER_MODE; >extern GtkType GTK_TYPE_GNOME_ICON_LIST_MODE; >extern GtkType GTK_TYPE_GNOME_MDI_MODE; >extern GtkType GTK_TYPE_GNOME_PROPERTY_ACTION; >extern GtkType GTK_TYPE_GNOME_STOCK_PIXMAP_TYPE; >extern GtkType GTK_TYPE_GNOME_PREFERENCES_TYPE; >extern GtkType GTK_TYPE_GNOME_WIN_LAYER; >extern GtkType GTK_TYPE_GNOME_WIN_STATE; >extern GtkType GTK_TYPE_GNOME_WIN_HINTS; >extern GtkType GTK_TYPE_GNOME_WIN_APP_STATE; >extern GtkType GTK_TYPE_CLOCK_TYPE; >extern GtkType GTK_TYPE_GDK_IMLIB_IMAGE; >extern GtkType GTK_TYPE_GNOME_CANVAS_POINTS; ># 101 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-winhints.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-winhints.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 25 "/usr/include/gnome-1.0/libgnomeui/gnome-winhints.h" 2 > > >extern "C" { ># 46 "/usr/include/gnome-1.0/libgnomeui/gnome-winhints.h" >typedef enum >{ > WIN_LAYER_DESKTOP = 0, > WIN_LAYER_BELOW = 2, > WIN_LAYER_NORMAL = 4, > WIN_LAYER_ONTOP = 6, > WIN_LAYER_DOCK = 8, > WIN_LAYER_ABOVE_DOCK = 10 >} GnomeWinLayer; > > >typedef enum >{ > WIN_STATE_STICKY = (1<<0), > WIN_STATE_MINIMIZED = (1<<1), > WIN_STATE_MAXIMIZED_VERT = (1<<2), > WIN_STATE_MAXIMIZED_HORIZ = (1<<3), > WIN_STATE_HIDDEN = (1<<4), > WIN_STATE_SHADED = (1<<5), > WIN_STATE_HID_WORKSPACE = (1<<6), > WIN_STATE_HID_TRANSIENT = (1<<7), > WIN_STATE_FIXED_POSITION = (1<<8), > WIN_STATE_ARRANGE_IGNORE = (1<<9) >} GnomeWinState; > > >typedef enum >{ > WIN_HINTS_SKIP_FOCUS = (1<<0), > WIN_HINTS_SKIP_WINLIST = (1<<1), > WIN_HINTS_SKIP_TASKBAR = (1<<2), > WIN_HINTS_GROUP_TRANSIENT = (1<<3), > WIN_HINTS_FOCUS_ON_CLICK = (1<<4), > WIN_HINTS_DO_NOT_COVER = (1<<5) >} GnomeWinHints; > >typedef enum >{ > WIN_APP_STATE_NONE, > WIN_APP_STATE_ACTIVE1, > WIN_APP_STATE_ACTIVE2, > WIN_APP_STATE_ERROR1, > WIN_APP_STATE_ERROR2, > WIN_APP_STATE_FATAL_ERROR1, > WIN_APP_STATE_FATAL_ERROR2, > WIN_APP_STATE_IDLE1, > WIN_APP_STATE_IDLE2, > WIN_APP_STATE_WAITING1, > WIN_APP_STATE_WAITING2, > WIN_APP_STATE_WORKING1, > WIN_APP_STATE_WORKING2, > WIN_APP_STATE_NEED_USER_INPUT1, > WIN_APP_STATE_NEED_USER_INPUT2, > WIN_APP_STATE_STRUGGLING1, > WIN_APP_STATE_STRUGGLING2, > WIN_APP_STATE_DISK_TRAFFIC1, > WIN_APP_STATE_DISK_TRAFFIC2, > WIN_APP_STATE_NETWORK_TRAFFIC1, > WIN_APP_STATE_NETWORK_TRAFFIC2, > WIN_APP_STATE_OVERLOADED1, > WIN_APP_STATE_OVERLOADED2, > WIN_APP_STATE_PERCENT000_1, > WIN_APP_STATE_PERCENT000_2, > WIN_APP_STATE_PERCENT010_1, > WIN_APP_STATE_PERCENT010_2, > WIN_APP_STATE_PERCENT020_1, > WIN_APP_STATE_PERCENT020_2, > WIN_APP_STATE_PERCENT030_1, > WIN_APP_STATE_PERCENT030_2, > WIN_APP_STATE_PERCENT040_1, > WIN_APP_STATE_PERCENT040_2, > WIN_APP_STATE_PERCENT050_1, > WIN_APP_STATE_PERCENT050_2, > WIN_APP_STATE_PERCENT060_1, > WIN_APP_STATE_PERCENT060_2, > WIN_APP_STATE_PERCENT070_1, > WIN_APP_STATE_PERCENT070_2, > WIN_APP_STATE_PERCENT080_1, > WIN_APP_STATE_PERCENT080_2, > WIN_APP_STATE_PERCENT090_1, > WIN_APP_STATE_PERCENT090_2, > WIN_APP_STATE_PERCENT100_1, > WIN_APP_STATE_PERCENT100_2 >} GnomeWinAppState; > > >void >gnome_win_hints_init(void); > >void >gnome_win_hints_set_layer(GtkWidget *window, GnomeWinLayer layer); >GnomeWinLayer >gnome_win_hints_get_layer(GtkWidget *window); > > >void >gnome_win_hints_set_state(GtkWidget *window, GnomeWinState state); >GnomeWinState >gnome_win_hints_get_state(GtkWidget *window); > >void >gnome_win_hints_set_hints(GtkWidget *window, GnomeWinHints skip); >GnomeWinHints >gnome_win_hints_get_hints(GtkWidget *window); > >void >gnome_win_hints_set_workspace(GtkWidget *window, gint workspace); >gint >gnome_win_hints_get_workspace(GtkWidget *window); > >void >gnome_win_hints_set_current_workspace(gint workspace); >gint >gnome_win_hints_get_current_workspace(void); > >GList* >gnome_win_hints_get_workspace_names(void); >gint >gnome_win_hints_get_workspace_count(void); > >void >gnome_win_hints_set_expanded_size(GtkWidget *window, gint x, gint y, gint width, gint height); >gboolean >gnome_win_hints_get_expanded_size(GtkWidget *window, gint *x, gint *y, gint *width, gint *height); > >void >gnome_win_hints_set_moving(GtkWidget *window, gboolean moving); > >void >gnome_win_hints_set_app_state(GtkWidget *window, GnomeWinAppState state); >GnomeWinAppState >gnome_win_hints_get_app_state(GtkWidget *window); > >void >gnome_win_hints_set_moving(GtkWidget *window, gboolean moving); > >gboolean >gnome_win_hints_wm_exists(void); > >GList* >gnome_win_hints_get_client_window_ids(void); > >} ># 102 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-href.h" 1 ># 26 "/usr/include/gnome-1.0/libgnomeui/gnome-href.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-href.h" 2 > >extern "C" { > > > > > > > >typedef struct _GnomeHRef GnomeHRef; >typedef struct _GnomeHRefClass GnomeHRefClass; > > >struct _GnomeHRef { > GtkButton button; > > gchar *url; > GtkWidget *label; >}; > >struct _GnomeHRefClass { > GtkButtonClass parent_class; >}; > > > > > >guint gnome_href_get_type(void); >GtkWidget *gnome_href_new(const gchar *url, const gchar *label); > >void gnome_href_set_url(GnomeHRef *href, const gchar *url); >gchar *gnome_href_get_url(GnomeHRef *href); > >void gnome_href_set_label(GnomeHRef *href, const gchar *label); >gchar *gnome_href_get_label(GnomeHRef *href); > > > >} ># 103 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-procbar.h" 1 ># 28 "/usr/include/gnome-1.0/libgnomeui/gnome-procbar.h" ># 1 "/usr/include/gnome-1.0/libgnome/gnome-defs.h" 1 ># 29 "/usr/include/gnome-1.0/libgnomeui/gnome-procbar.h" 2 > > >extern "C" { > > > > > > > >typedef struct _GnomeProcBar GnomeProcBar; >typedef struct _GnomeProcBarClass GnomeProcBarClass; > >struct _GnomeProcBar { > > GtkHBox hbox; > > GtkWidget *bar; > GtkWidget *label; > GtkWidget *frame; > > gboolean vertical : 1; > > GdkPixmap *bs; > GdkColor *colors; > > gint colors_allocated; > gint first_request; > gint n; > gint tag; > > unsigned *last; > > gint (*cb)(gpointer); > gpointer cb_data; >}; > >struct _GnomeProcBarClass { > GtkHBoxClass parent_class; >}; > >guint gnome_proc_bar_get_type (void); >GtkWidget * gnome_proc_bar_new (GtkWidget *label, > gint n, GdkColor *colors, > gint (*cb)(gpointer)); >void gnome_proc_bar_construct (GnomeProcBar *pb, > GtkWidget *label, > gint n, GdkColor *colors, > gint (*cb)(gpointer)); >void gnome_proc_bar_set_values (GnomeProcBar *pb, const guint val []); >void gnome_proc_bar_set_orient (GnomeProcBar *pb, gboolean vertical); >void gnome_proc_bar_start (GnomeProcBar *pb, gint gtime, gpointer data); >void gnome_proc_bar_stop (GnomeProcBar *pb); >void gnome_proc_bar_update (GnomeProcBar *pb, GdkColor *colors); > >} ># 104 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-druid.h" 1 ># 23 "/usr/include/gnome-1.0/libgnomeui/gnome-druid.h" ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page.h" 1 ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page.h" >extern "C" { ># 33 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page.h" >typedef struct _GnomeDruidPage GnomeDruidPage; >typedef struct _GnomeDruidPageClass GnomeDruidPageClass; > >struct _GnomeDruidPage >{ > GtkBin parent; >}; >struct _GnomeDruidPageClass >{ > GtkBinClass parent_class; > > gboolean (*next) (GnomeDruidPage *druid_page, GtkWidget *druid); > void (*prepare) (GnomeDruidPage *druid_page, GtkWidget *druid); > gboolean (*back) (GnomeDruidPage *druid_page, GtkWidget *druid); > void (*finish) (GnomeDruidPage *druid_page, GtkWidget *druid); > gboolean (*cancel) (GnomeDruidPage *druid_page, GtkWidget *druid); >}; > > >GtkType gnome_druid_page_get_type (void); >gboolean gnome_druid_page_next (GnomeDruidPage *druid_page); >void gnome_druid_page_prepare (GnomeDruidPage *druid_page); >gboolean gnome_druid_page_back (GnomeDruidPage *druid_page); >gboolean gnome_druid_page_cancel (GnomeDruidPage *druid_page); >void gnome_druid_page_finish (GnomeDruidPage *druid_page); > >} ># 24 "/usr/include/gnome-1.0/libgnomeui/gnome-druid.h" 2 > >extern "C" { ># 34 "/usr/include/gnome-1.0/libgnomeui/gnome-druid.h" >typedef struct _GnomeDruid GnomeDruid; >typedef struct _GnomeDruidClass GnomeDruidClass; > >struct _GnomeDruid >{ > GtkContainer parent; > GtkWidget *back; > GtkWidget *next; > GtkWidget *cancel; > GtkWidget *finish; > > > GnomeDruidPage *current; > GList *children; > gboolean show_finish; >}; >struct _GnomeDruidClass >{ > GtkContainerClass parent_class; > > void (*cancel) (GnomeDruid *druid); >}; > > >GtkType gnome_druid_get_type (void); >GtkWidget *gnome_druid_new (void); >void gnome_druid_set_buttons_sensitive (GnomeDruid *druid, > gboolean back_sensitive, > gboolean next_sensitive, > gboolean cancel_sensitive); >void gnome_druid_set_show_finish (GnomeDruid *druid, gboolean show_finish); >void gnome_druid_prepend_page (GnomeDruid *druid, GnomeDruidPage *page); >void gnome_druid_insert_page (GnomeDruid *druid, GnomeDruidPage *back_page, GnomeDruidPage *page); >void gnome_druid_append_page (GnomeDruid *druid, GnomeDruidPage *page); >void gnome_druid_set_page (GnomeDruid *druid, GnomeDruidPage *page); > >} ># 105 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 > ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-start.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-start.h" >extern "C" { ># 36 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-start.h" >typedef struct _GnomeDruidPageStart GnomeDruidPageStart; >typedef struct _GnomeDruidPageStartClass GnomeDruidPageStartClass; > >struct _GnomeDruidPageStart >{ > GnomeDruidPage parent; > > GdkColor background_color; > GdkColor textbox_color; > GdkColor logo_background_color; > GdkColor title_color; > GdkColor text_color; > > gchar *title; > gchar *text; > GdkImlibImage *logo_image; > GdkImlibImage *watermark_image; > > > GtkWidget *canvas; > GnomeCanvasItem *background_item; > GnomeCanvasItem *textbox_item; > GnomeCanvasItem *text_item; > GnomeCanvasItem *logo_item; > GnomeCanvasItem *logoframe_item; > GnomeCanvasItem *watermark_item; > GnomeCanvasItem *title_item; >}; >struct _GnomeDruidPageStartClass >{ > GnomeDruidPageClass parent_class; >}; > > >GtkType gnome_druid_page_start_get_type (void); >GtkWidget *gnome_druid_page_start_new (void); >GtkWidget *gnome_druid_page_start_new_with_vals(const gchar *title, > const gchar* text, > GdkImlibImage *logo, > GdkImlibImage *watermark); >void gnome_druid_page_start_set_bg_color (GnomeDruidPageStart *druid_page_start, > GdkColor *color); >void gnome_druid_page_start_set_textbox_color (GnomeDruidPageStart *druid_page_start, > GdkColor *color); >void gnome_druid_page_start_set_logo_bg_color (GnomeDruidPageStart *druid_page_start, > GdkColor *color); >void gnome_druid_page_start_set_title_color (GnomeDruidPageStart *druid_page_start, > GdkColor *color); >void gnome_druid_page_start_set_text_color (GnomeDruidPageStart *druid_page_start, > GdkColor *color); >void gnome_druid_page_start_set_text (GnomeDruidPageStart *druid_page_start, > const gchar *text); >void gnome_druid_page_start_set_title (GnomeDruidPageStart *druid_page_start, > const gchar *title); >void gnome_druid_page_start_set_logo (GnomeDruidPageStart *druid_page_start, > GdkImlibImage *logo_image); >void gnome_druid_page_start_set_watermark (GnomeDruidPageStart *druid_page_start, > GdkImlibImage *watermark); > >} ># 107 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h" >extern "C" { ># 36 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h" >typedef struct _GnomeDruidPageStandard GnomeDruidPageStandard; >typedef struct _GnomeDruidPageStandardClass GnomeDruidPageStandardClass; > >struct _GnomeDruidPageStandard >{ > GnomeDruidPage parent; > > GtkWidget *vbox; > GdkColor background_color; > GdkColor logo_background_color; > GdkColor title_color; > GdkImlibImage *logo_image; > > gchar *title; > > > GtkWidget *canvas; > GtkWidget *side_bar; > GnomeCanvasItem *logoframe_item; > GnomeCanvasItem *logo_item; > GnomeCanvasItem *title_item; > GnomeCanvasItem *background_item; > GtkWidget *bottom_bar; > GtkWidget *right_bar; >}; >struct _GnomeDruidPageStandardClass >{ > GnomeDruidPageClass parent_class; >}; > > >GtkType gnome_druid_page_standard_get_type (void); >GtkWidget *gnome_druid_page_standard_new (void); >GtkWidget *gnome_druid_page_standard_new_with_vals (const gchar *title, GdkImlibImage *logo); >void gnome_druid_page_standard_set_bg_color (GnomeDruidPageStandard *druid_page_standard, > GdkColor *color); >void gnome_druid_page_standard_set_logo_bg_color (GnomeDruidPageStandard *druid_page_standard, > GdkColor *color); >void gnome_druid_page_standard_set_title_color (GnomeDruidPageStandard *druid_page_standard, > GdkColor *color); >void gnome_druid_page_standard_set_title (GnomeDruidPageStandard *druid_page_standard, > const gchar *title); >void gnome_druid_page_standard_set_logo (GnomeDruidPageStandard *druid_page_standard, > GdkImlibImage *logo_image); > >} ># 108 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 1 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h" 1 ># 27 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h" >extern "C" { ># 36 "/usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h" >typedef struct _GnomeDruidPageFinish GnomeDruidPageFinish; >typedef struct _GnomeDruidPageFinishClass GnomeDruidPageFinishClass; > >struct _GnomeDruidPageFinish >{ > GnomeDruidPage parent; > > GdkColor background_color; > GdkColor textbox_color; > GdkColor logo_background_color; > GdkColor title_color; > GdkColor text_color; > > gchar *title; > gchar *text; > GdkImlibImage *logo_image; > GdkImlibImage *watermark_image; > > > GtkWidget *canvas; > GnomeCanvasItem *background_item; > GnomeCanvasItem *textbox_item; > GnomeCanvasItem *text_item; > GnomeCanvasItem *logo_item; > GnomeCanvasItem *logoframe_item; > GnomeCanvasItem *watermark_item; > GnomeCanvasItem *title_item; >}; >struct _GnomeDruidPageFinishClass >{ > GnomeDruidPageClass parent_class; >}; > > >GtkType gnome_druid_page_finish_get_type (void); >GtkWidget *gnome_druid_page_finish_new (void); >GtkWidget *gnome_druid_page_finish_new_with_vals(const gchar *title, > const gchar* text, > GdkImlibImage *logo, > GdkImlibImage *watermark); >void gnome_druid_page_finish_set_bg_color (GnomeDruidPageFinish *druid_page_finish, > GdkColor *color); >void gnome_druid_page_finish_set_textbox_color (GnomeDruidPageFinish *druid_page_finish, > GdkColor *color); >void gnome_druid_page_finish_set_logo_bg_color (GnomeDruidPageFinish *druid_page_finish, > GdkColor *color); >void gnome_druid_page_finish_set_title_color (GnomeDruidPageFinish *druid_page_finish, > GdkColor *color); >void gnome_druid_page_finish_set_text_color (GnomeDruidPageFinish *druid_page_finish, > GdkColor *color); >void gnome_druid_page_finish_set_text (GnomeDruidPageFinish *druid_page_finish, > const gchar *text); >void gnome_druid_page_finish_set_title (GnomeDruidPageFinish *druid_page_finish, > const gchar *title); >void gnome_druid_page_finish_set_logo (GnomeDruidPageFinish *druid_page_finish, > GdkImlibImage *logo_image); >void gnome_druid_page_finish_set_watermark (GnomeDruidPageFinish *druid_page_finish, > GdkImlibImage *watermark); > >} ># 109 "/usr/include/gnome-1.0/libgnomeui/libgnomeui.h" 2 ># 18 "/usr/include/gnome-1.0/gnome.h" 2 ># 27 "kino_common.h" 2 ># 1 "/usr/include/stdint.h" 1 3 4 ># 28 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 129 "/usr/include/stdint.h" 3 4 >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 28 "kino_common.h" 2 ># 1 "playlist.h" 1 ># 24 "playlist.h" >using std::vector; > >using std::string; > >using std::map; > > > ># 1 "/usr/include/libxml2/libxml/xmlmemory.h" 1 ># 16 "/usr/include/libxml2/libxml/xmlmemory.h" ># 1 "/usr/include/libxml2/libxml/xmlversion.h" 1 ># 13 "/usr/include/libxml2/libxml/xmlversion.h" ># 1 "/usr/include/libxml2/libxml/xmlexports.h" 1 ># 14 "/usr/include/libxml2/libxml/xmlversion.h" 2 > > >extern "C" { > > > > > > > > void xmlCheckVersion(int version); ># 359 "/usr/include/libxml2/libxml/xmlversion.h" >} ># 17 "/usr/include/libxml2/libxml/xmlmemory.h" 2 ># 45 "/usr/include/libxml2/libxml/xmlmemory.h" >extern "C" { ># 57 "/usr/include/libxml2/libxml/xmlmemory.h" >typedef void ( *xmlFreeFunc)(void *mem); ># 66 "/usr/include/libxml2/libxml/xmlmemory.h" >typedef void *( *xmlMallocFunc)(size_t size); ># 77 "/usr/include/libxml2/libxml/xmlmemory.h" >typedef void *( *xmlReallocFunc)(void *mem, size_t size); ># 87 "/usr/include/libxml2/libxml/xmlmemory.h" >typedef char *( *xmlStrdupFunc)(const char *str); ># 103 "/usr/include/libxml2/libxml/xmlmemory.h" > int > xmlMemSetup (xmlFreeFunc freeFunc, > xmlMallocFunc mallocFunc, > xmlReallocFunc reallocFunc, > xmlStrdupFunc strdupFunc); > int > xmlMemGet (xmlFreeFunc *freeFunc, > xmlMallocFunc *mallocFunc, > xmlReallocFunc *reallocFunc, > xmlStrdupFunc *strdupFunc); > int > xmlGcMemSetup (xmlFreeFunc freeFunc, > xmlMallocFunc mallocFunc, > xmlMallocFunc mallocAtomicFunc, > xmlReallocFunc reallocFunc, > xmlStrdupFunc strdupFunc); > int > xmlGcMemGet (xmlFreeFunc *freeFunc, > xmlMallocFunc *mallocFunc, > xmlMallocFunc *mallocAtomicFunc, > xmlReallocFunc *reallocFunc, > xmlStrdupFunc *strdupFunc); > > > > > int > xmlInitMemory (void); > > > > > void > xmlCleanupMemory (void); > > > > int > xmlMemUsed (void); > void > xmlMemDisplay (FILE *fp); > void > xmlMemShow (FILE *fp, int nr); > void > xmlMemoryDump (void); > void * > xmlMemMalloc (size_t size); > void * > xmlMemRealloc (void *ptr,size_t size); > void > xmlMemFree (void *ptr); > char * > xmlMemoryStrdup (const char *str); > void * > xmlMallocLoc (size_t size, const char *file, int line); > void * > xmlReallocLoc (void *ptr, size_t size, const char *file, int line); > void * > xmlMallocAtomicLoc (size_t size, const char *file, int line); > char * > xmlMemStrdupLoc (const char *str, const char *file, int line); ># 209 "/usr/include/libxml2/libxml/xmlmemory.h" >} > > > > ># 1 "/usr/include/libxml2/libxml/threads.h" 1 ># 17 "/usr/include/libxml2/libxml/threads.h" >extern "C" { > > > > > >typedef struct _xmlMutex xmlMutex; >typedef xmlMutex *xmlMutexPtr; > > > > >typedef struct _xmlRMutex xmlRMutex; >typedef xmlRMutex *xmlRMutexPtr; > > >} > ># 1 "/usr/include/libxml2/libxml/globals.h" 1 ># 18 "/usr/include/libxml2/libxml/globals.h" ># 1 "/usr/include/libxml2/libxml/parser.h" 1 ># 16 "/usr/include/libxml2/libxml/parser.h" ># 1 "/usr/include/libxml2/libxml/tree.h" 1 ># 17 "/usr/include/libxml2/libxml/tree.h" ># 1 "/usr/include/libxml2/libxml/xmlstring.h" 1 ># 18 "/usr/include/libxml2/libxml/xmlstring.h" >extern "C" { ># 29 "/usr/include/libxml2/libxml/xmlstring.h" >typedef unsigned char xmlChar; ># 41 "/usr/include/libxml2/libxml/xmlstring.h" > xmlChar * > xmlStrdup (const xmlChar *cur); > xmlChar * > xmlStrndup (const xmlChar *cur, > int len); > xmlChar * > xmlCharStrndup (const char *cur, > int len); > xmlChar * > xmlCharStrdup (const char *cur); > xmlChar * > xmlStrsub (const xmlChar *str, > int start, > int len); > const xmlChar * > xmlStrchr (const xmlChar *str, > xmlChar val); > const xmlChar * > xmlStrstr (const xmlChar *str, > const xmlChar *val); > const xmlChar * > xmlStrcasestr (const xmlChar *str, > xmlChar *val); > int > xmlStrcmp (const xmlChar *str1, > const xmlChar *str2); > int > xmlStrncmp (const xmlChar *str1, > const xmlChar *str2, > int len); > int > xmlStrcasecmp (const xmlChar *str1, > const xmlChar *str2); > int > xmlStrncasecmp (const xmlChar *str1, > const xmlChar *str2, > int len); > int > xmlStrEqual (const xmlChar *str1, > const xmlChar *str2); > int > xmlStrQEqual (const xmlChar *pref, > const xmlChar *name, > const xmlChar *str); > int > xmlStrlen (const xmlChar *str); > xmlChar * > xmlStrcat (xmlChar *cur, > const xmlChar *add); > xmlChar * > xmlStrncat (xmlChar *cur, > const xmlChar *add, > int len); > xmlChar * > xmlStrncatNew (const xmlChar *str1, > const xmlChar *str2, > int len); > int > xmlStrPrintf (xmlChar *buf, > int len, > const xmlChar *msg, > ...); > int > xmlStrVPrintf (xmlChar *buf, > int len, > const xmlChar *msg, > va_list ap); > > int > xmlGetUTF8Char (const unsigned char *utf, > int *len); > int > xmlCheckUTF8 (const unsigned char *utf); > int > xmlUTF8Strsize (const xmlChar *utf, > int len); > xmlChar * > xmlUTF8Strndup (const xmlChar *utf, > int len); > xmlChar * > xmlUTF8Strpos (const xmlChar *utf, > int pos); > int > xmlUTF8Strloc (const xmlChar *utf, > const xmlChar *utfchar); > xmlChar * > xmlUTF8Strsub (const xmlChar *utf, > int start, > int len); > int > xmlUTF8Strlen (const xmlChar *utf); > int > xmlUTF8Size (const xmlChar *utf); > int > xmlUTF8Charcmp (const xmlChar *utf1, > const xmlChar *utf2); > > >} ># 18 "/usr/include/libxml2/libxml/tree.h" 2 > > >extern "C" { > > > > > > >typedef struct _xmlParserInputBuffer xmlParserInputBuffer; >typedef xmlParserInputBuffer *xmlParserInputBufferPtr; > >typedef struct _xmlOutputBuffer xmlOutputBuffer; >typedef xmlOutputBuffer *xmlOutputBufferPtr; > > >typedef struct _xmlParserInput xmlParserInput; >typedef xmlParserInput *xmlParserInputPtr; > >typedef struct _xmlParserCtxt xmlParserCtxt; >typedef xmlParserCtxt *xmlParserCtxtPtr; > >typedef struct _xmlSAXLocator xmlSAXLocator; >typedef xmlSAXLocator *xmlSAXLocatorPtr; > >typedef struct _xmlSAXHandler xmlSAXHandler; >typedef xmlSAXHandler *xmlSAXHandlerPtr; > > >typedef struct _xmlEntity xmlEntity; >typedef xmlEntity *xmlEntityPtr; ># 82 "/usr/include/libxml2/libxml/tree.h" >typedef enum { > XML_ELEMENT_NODE= 1, > XML_ATTRIBUTE_NODE= 2, > XML_TEXT_NODE= 3, > XML_CDATA_SECTION_NODE= 4, > XML_ENTITY_REF_NODE= 5, > XML_ENTITY_NODE= 6, > XML_PI_NODE= 7, > XML_COMMENT_NODE= 8, > XML_DOCUMENT_NODE= 9, > XML_DOCUMENT_TYPE_NODE= 10, > XML_DOCUMENT_FRAG_NODE= 11, > XML_NOTATION_NODE= 12, > XML_HTML_DOCUMENT_NODE= 13, > XML_DTD_NODE= 14, > XML_ELEMENT_DECL= 15, > XML_ATTRIBUTE_DECL= 16, > XML_ENTITY_DECL= 17, > XML_NAMESPACE_DECL= 18, > XML_XINCLUDE_START= 19, > XML_XINCLUDE_END= 20 > > ,XML_DOCB_DOCUMENT_NODE= 21 > >} xmlElementType; ># 115 "/usr/include/libxml2/libxml/tree.h" >typedef struct _xmlNotation xmlNotation; >typedef xmlNotation *xmlNotationPtr; >struct _xmlNotation { > const xmlChar *name; > const xmlChar *PublicID; > const xmlChar *SystemID; >}; > > > > > > > >typedef enum { > XML_ATTRIBUTE_CDATA = 1, > XML_ATTRIBUTE_ID, > XML_ATTRIBUTE_IDREF , > XML_ATTRIBUTE_IDREFS, > XML_ATTRIBUTE_ENTITY, > XML_ATTRIBUTE_ENTITIES, > XML_ATTRIBUTE_NMTOKEN, > XML_ATTRIBUTE_NMTOKENS, > XML_ATTRIBUTE_ENUMERATION, > XML_ATTRIBUTE_NOTATION >} xmlAttributeType; > > > > > > > >typedef enum { > XML_ATTRIBUTE_NONE = 1, > XML_ATTRIBUTE_REQUIRED, > XML_ATTRIBUTE_IMPLIED, > XML_ATTRIBUTE_FIXED >} xmlAttributeDefault; > > > > > > > >typedef struct _xmlEnumeration xmlEnumeration; >typedef xmlEnumeration *xmlEnumerationPtr; >struct _xmlEnumeration { > struct _xmlEnumeration *next; > const xmlChar *name; >}; > > > > > > > >typedef struct _xmlAttribute xmlAttribute; >typedef xmlAttribute *xmlAttributePtr; >struct _xmlAttribute { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > struct _xmlAttribute *nexth; > xmlAttributeType atype; > xmlAttributeDefault def; > const xmlChar *defaultValue; > xmlEnumerationPtr tree; > const xmlChar *prefix; > const xmlChar *elem; >}; > > > > > > >typedef enum { > XML_ELEMENT_CONTENT_PCDATA = 1, > XML_ELEMENT_CONTENT_ELEMENT, > XML_ELEMENT_CONTENT_SEQ, > XML_ELEMENT_CONTENT_OR >} xmlElementContentType; > > > > > > >typedef enum { > XML_ELEMENT_CONTENT_ONCE = 1, > XML_ELEMENT_CONTENT_OPT, > XML_ELEMENT_CONTENT_MULT, > XML_ELEMENT_CONTENT_PLUS >} xmlElementContentOccur; ># 227 "/usr/include/libxml2/libxml/tree.h" >typedef struct _xmlElementContent xmlElementContent; >typedef xmlElementContent *xmlElementContentPtr; >struct _xmlElementContent { > xmlElementContentType type; > xmlElementContentOccur ocur; > const xmlChar *name; > struct _xmlElementContent *c1; > struct _xmlElementContent *c2; > struct _xmlElementContent *parent; > const xmlChar *prefix; >}; > > > > > > > >typedef enum { > XML_ELEMENT_TYPE_UNDEFINED = 0, > XML_ELEMENT_TYPE_EMPTY = 1, > XML_ELEMENT_TYPE_ANY, > XML_ELEMENT_TYPE_MIXED, > XML_ELEMENT_TYPE_ELEMENT >} xmlElementTypeVal; > > > >} > ># 1 "/usr/include/libxml2/libxml/xmlregexp.h" 1 ># 19 "/usr/include/libxml2/libxml/xmlregexp.h" >extern "C" { ># 28 "/usr/include/libxml2/libxml/xmlregexp.h" >typedef struct _xmlRegexp xmlRegexp; >typedef xmlRegexp *xmlRegexpPtr; > > > > > > >typedef struct _xmlRegExecCtxt xmlRegExecCtxt; >typedef xmlRegExecCtxt *xmlRegExecCtxtPtr; > > >} > ># 1 "/usr/include/libxml2/libxml/tree.h" 1 ># 43 "/usr/include/libxml2/libxml/xmlregexp.h" 2 > >extern "C" { > > > > > > xmlRegexpPtr > xmlRegexpCompile (const xmlChar *regexp); > void xmlRegFreeRegexp(xmlRegexpPtr regexp); > int > xmlRegexpExec (xmlRegexpPtr comp, > const xmlChar *value); > void > xmlRegexpPrint (FILE *output, > xmlRegexpPtr regexp); > int > xmlRegexpIsDeterminist(xmlRegexpPtr comp); > > > > >typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec, > const xmlChar *token, > void *transdata, > void *inputdata); > > > > > xmlRegExecCtxtPtr > xmlRegNewExecCtxt (xmlRegexpPtr comp, > xmlRegExecCallbacks callback, > void *data); > void > xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec); > int > xmlRegExecPushString(xmlRegExecCtxtPtr exec, > const xmlChar *value, > void *data); > int > xmlRegExecPushString2(xmlRegExecCtxtPtr exec, > const xmlChar *value, > const xmlChar *value2, > void *data); > > >} ># 258 "/usr/include/libxml2/libxml/tree.h" 2 > >extern "C" { ># 268 "/usr/include/libxml2/libxml/tree.h" >typedef struct _xmlElement xmlElement; >typedef xmlElement *xmlElementPtr; >struct _xmlElement { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > xmlElementTypeVal etype; > xmlElementContentPtr content; > xmlAttributePtr attributes; > const xmlChar *prefix; > > xmlRegexpPtr contModel; > > > >}; ># 299 "/usr/include/libxml2/libxml/tree.h" >typedef xmlElementType xmlNsType; ># 311 "/usr/include/libxml2/libxml/tree.h" >typedef struct _xmlNs xmlNs; >typedef xmlNs *xmlNsPtr; >struct _xmlNs { > struct _xmlNs *next; > xmlNsType type; > const xmlChar *href; > const xmlChar *prefix; > void *_private; >}; > > > > > > > >typedef struct _xmlDtd xmlDtd; >typedef xmlDtd *xmlDtdPtr; >struct _xmlDtd { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDoc *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > void *notations; > void *elements; > void *attributes; > void *entities; > const xmlChar *ExternalID; > const xmlChar *SystemID; > void *pentities; >}; > > > > > > >typedef struct _xmlAttr xmlAttr; >typedef xmlAttr *xmlAttrPtr; >struct _xmlAttr { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlAttr *next; > struct _xmlAttr *prev; > struct _xmlDoc *doc; > xmlNs *ns; > xmlAttributeType atype; > void *psvi; >}; > > > > > > > >typedef struct _xmlID xmlID; >typedef xmlID *xmlIDPtr; >struct _xmlID { > struct _xmlID *next; > const xmlChar *value; > xmlAttrPtr attr; > const xmlChar *name; > int lineno; > struct _xmlDoc *doc; >}; > > > > > > > >typedef struct _xmlRef xmlRef; >typedef xmlRef *xmlRefPtr; >struct _xmlRef { > struct _xmlRef *next; > const xmlChar *value; > xmlAttrPtr attr; > const xmlChar *name; > int lineno; >}; ># 412 "/usr/include/libxml2/libxml/tree.h" >typedef enum { > XML_BUFFER_ALLOC_DOUBLEIT, > XML_BUFFER_ALLOC_EXACT, > XML_BUFFER_ALLOC_IMMUTABLE >} xmlBufferAllocationScheme; > > > > > > >typedef struct _xmlBuffer xmlBuffer; >typedef xmlBuffer *xmlBufferPtr; >struct _xmlBuffer { > xmlChar *content; > unsigned int use; > unsigned int size; > xmlBufferAllocationScheme alloc; >}; > > > > > > >typedef struct _xmlNode xmlNode; >typedef xmlNode *xmlNodePtr; >struct _xmlNode { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > xmlNs *ns; > xmlChar *content; > struct _xmlAttr *properties; > xmlNs *nsDef; > void *psvi; > unsigned short line; > unsigned short extra; >}; ># 482 "/usr/include/libxml2/libxml/tree.h" >typedef struct _xmlDoc xmlDoc; >typedef xmlDoc *xmlDocPtr; >struct _xmlDoc { > void *_private; > xmlElementType type; > char *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > int compression; > int standalone; > struct _xmlDtd *intSubset; > struct _xmlDtd *extSubset; > struct _xmlNs *oldNs; > const xmlChar *version; > const xmlChar *encoding; > void *ids; > void *refs; > const xmlChar *URL; > int charset; > > struct _xmlDict *dict; > void *psvi; >}; ># 539 "/usr/include/libxml2/libxml/tree.h" > int > xmlValidateNCName (const xmlChar *value, > int space); > int > xmlValidateQName (const xmlChar *value, > int space); > int > xmlValidateName (const xmlChar *value, > int space); > int > xmlValidateNMToken (const xmlChar *value, > int space); > > xmlChar * > xmlBuildQName (const xmlChar *ncname, > const xmlChar *prefix, > xmlChar *memory, > int len); > xmlChar * > xmlSplitQName2 (const xmlChar *name, > xmlChar **prefix); > const xmlChar * > xmlSplitQName3 (const xmlChar *name, > int *len); > > > > > > void > xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme); > xmlBufferAllocationScheme > xmlGetBufferAllocationScheme(void); > > xmlBufferPtr > xmlBufferCreate (void); > xmlBufferPtr > xmlBufferCreateSize (size_t size); > xmlBufferPtr > xmlBufferCreateStatic (void *mem, > size_t size); > int > xmlBufferResize (xmlBufferPtr buf, > unsigned int size); > void > xmlBufferFree (xmlBufferPtr buf); > int > xmlBufferDump (FILE *file, > xmlBufferPtr buf); > int > xmlBufferAdd (xmlBufferPtr buf, > const xmlChar *str, > int len); > int > xmlBufferAddHead (xmlBufferPtr buf, > const xmlChar *str, > int len); > int > xmlBufferCat (xmlBufferPtr buf, > const xmlChar *str); > int > xmlBufferCCat (xmlBufferPtr buf, > const char *str); > int > xmlBufferShrink (xmlBufferPtr buf, > unsigned int len); > int > xmlBufferGrow (xmlBufferPtr buf, > unsigned int len); > void > xmlBufferEmpty (xmlBufferPtr buf); > const xmlChar* > xmlBufferContent (const xmlBufferPtr buf); > void > xmlBufferSetAllocationScheme(xmlBufferPtr buf, > xmlBufferAllocationScheme scheme); > int > xmlBufferLength (const xmlBufferPtr buf); > > > > > xmlDtdPtr > xmlCreateIntSubset (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlDtdPtr > xmlNewDtd (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlDtdPtr > xmlGetIntSubset (xmlDocPtr doc); > void > xmlFreeDtd (xmlDtdPtr cur); > xmlNsPtr > xmlNewGlobalNs (xmlDocPtr doc, > const xmlChar *href, > const xmlChar *prefix); > xmlNsPtr > xmlNewNs (xmlNodePtr node, > const xmlChar *href, > const xmlChar *prefix); > void > xmlFreeNs (xmlNsPtr cur); > void > xmlFreeNsList (xmlNsPtr cur); > xmlDocPtr > xmlNewDoc (const xmlChar *version); > void > xmlFreeDoc (xmlDocPtr cur); > xmlAttrPtr > xmlNewDocProp (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *value); > xmlAttrPtr > xmlNewProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *value); > xmlAttrPtr > xmlNewNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *value); > xmlAttrPtr > xmlNewNsPropEatName (xmlNodePtr node, > xmlNsPtr ns, > xmlChar *name, > const xmlChar *value); > void > xmlFreePropList (xmlAttrPtr cur); > void > xmlFreeProp (xmlAttrPtr cur); > xmlAttrPtr > xmlCopyProp (xmlNodePtr target, > xmlAttrPtr cur); > xmlAttrPtr > xmlCopyPropList (xmlNodePtr target, > xmlAttrPtr cur); > > xmlDtdPtr > xmlCopyDtd (xmlDtdPtr dtd); > xmlDocPtr > xmlCopyDoc (xmlDocPtr doc, > int recursive); > > > > > > xmlNodePtr > xmlNewDocNode (xmlDocPtr doc, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewDocNodeEatName (xmlDocPtr doc, > xmlNsPtr ns, > xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewDocRawNode (xmlDocPtr doc, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewNode (xmlNsPtr ns, > const xmlChar *name); > xmlNodePtr > xmlNewNodeEatName (xmlNsPtr ns, > xmlChar *name); > xmlNodePtr > xmlNewChild (xmlNodePtr parent, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewTextChild (xmlNodePtr parent, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewDocText (xmlDocPtr doc, > const xmlChar *content); > xmlNodePtr > xmlNewText (const xmlChar *content); > xmlNodePtr > xmlNewDocPI (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewPI (const xmlChar *name, > const xmlChar *content); > xmlNodePtr > xmlNewDocTextLen (xmlDocPtr doc, > const xmlChar *content, > int len); > xmlNodePtr > xmlNewTextLen (const xmlChar *content, > int len); > xmlNodePtr > xmlNewDocComment (xmlDocPtr doc, > const xmlChar *content); > xmlNodePtr > xmlNewComment (const xmlChar *content); > xmlNodePtr > xmlNewCDataBlock (xmlDocPtr doc, > const xmlChar *content, > int len); > xmlNodePtr > xmlNewCharRef (xmlDocPtr doc, > const xmlChar *name); > xmlNodePtr > xmlNewReference (xmlDocPtr doc, > const xmlChar *name); > xmlNodePtr > xmlCopyNode (const xmlNodePtr node, > int recursive); > xmlNodePtr > xmlDocCopyNode (const xmlNodePtr node, > xmlDocPtr doc, > int recursive); > xmlNodePtr > xmlDocCopyNodeList (xmlDocPtr doc, > const xmlNodePtr node); > xmlNodePtr > xmlCopyNodeList (const xmlNodePtr node); > > xmlNodePtr > xmlNewDocFragment (xmlDocPtr doc); > > > > > > long > xmlGetLineNo (xmlNodePtr node); > > xmlChar * > xmlGetNodePath (xmlNodePtr node); > > xmlNodePtr > xmlDocGetRootElement (xmlDocPtr doc); > xmlNodePtr > xmlGetLastChild (xmlNodePtr parent); > int > xmlNodeIsText (xmlNodePtr node); > int > xmlIsBlankNode (xmlNodePtr node); > > > > > > xmlNodePtr > xmlDocSetRootElement (xmlDocPtr doc, > xmlNodePtr root); > void > xmlNodeSetName (xmlNodePtr cur, > const xmlChar *name); > > xmlNodePtr > xmlAddChild (xmlNodePtr parent, > xmlNodePtr cur); > xmlNodePtr > xmlAddChildList (xmlNodePtr parent, > xmlNodePtr cur); > > xmlNodePtr > xmlReplaceNode (xmlNodePtr old, > xmlNodePtr cur); > xmlNodePtr > xmlAddPrevSibling (xmlNodePtr cur, > xmlNodePtr elem); > > xmlNodePtr > xmlAddSibling (xmlNodePtr cur, > xmlNodePtr elem); > xmlNodePtr > xmlAddNextSibling (xmlNodePtr cur, > xmlNodePtr elem); > void > xmlUnlinkNode (xmlNodePtr cur); > xmlNodePtr > xmlTextMerge (xmlNodePtr first, > xmlNodePtr second); > int > xmlTextConcat (xmlNodePtr node, > const xmlChar *content, > int len); > void > xmlFreeNodeList (xmlNodePtr cur); > void > xmlFreeNode (xmlNodePtr cur); > void > xmlSetTreeDoc (xmlNodePtr tree, > xmlDocPtr doc); > void > xmlSetListDoc (xmlNodePtr list, > xmlDocPtr doc); > > > > xmlNsPtr > xmlSearchNs (xmlDocPtr doc, > xmlNodePtr node, > const xmlChar *nameSpace); > xmlNsPtr > xmlSearchNsByHref (xmlDocPtr doc, > xmlNodePtr node, > const xmlChar *href); > > xmlNsPtr * > xmlGetNsList (xmlDocPtr doc, > xmlNodePtr node); > > > void > xmlSetNs (xmlNodePtr node, > xmlNsPtr ns); > xmlNsPtr > xmlCopyNamespace (xmlNsPtr cur); > xmlNsPtr > xmlCopyNamespaceList (xmlNsPtr cur); > > > > > > xmlAttrPtr > xmlSetProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *value); > > xmlChar * > xmlGetNoNsProp (xmlNodePtr node, > const xmlChar *name); > xmlChar * > xmlGetProp (xmlNodePtr node, > const xmlChar *name); > xmlAttrPtr > xmlHasProp (xmlNodePtr node, > const xmlChar *name); > xmlAttrPtr > xmlHasNsProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); > > xmlAttrPtr > xmlSetNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *value); > > xmlChar * > xmlGetNsProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); > xmlNodePtr > xmlStringGetNodeList (xmlDocPtr doc, > const xmlChar *value); > xmlNodePtr > xmlStringLenGetNodeList (xmlDocPtr doc, > const xmlChar *value, > int len); > xmlChar * > xmlNodeListGetString (xmlDocPtr doc, > xmlNodePtr list, > int inLine); > > xmlChar * > xmlNodeListGetRawString (xmlDocPtr doc, > xmlNodePtr list, > int inLine); > > void > xmlNodeSetContent (xmlNodePtr cur, > const xmlChar *content); > > void > xmlNodeSetContentLen (xmlNodePtr cur, > const xmlChar *content, > int len); > > void > xmlNodeAddContent (xmlNodePtr cur, > const xmlChar *content); > void > xmlNodeAddContentLen (xmlNodePtr cur, > const xmlChar *content, > int len); > xmlChar * > xmlNodeGetContent (xmlNodePtr cur); > int > xmlNodeBufGetContent (xmlBufferPtr buffer, > xmlNodePtr cur); > xmlChar * > xmlNodeGetLang (xmlNodePtr cur); > int > xmlNodeGetSpacePreserve (xmlNodePtr cur); > > void > xmlNodeSetLang (xmlNodePtr cur, > const xmlChar *lang); > void > xmlNodeSetSpacePreserve (xmlNodePtr cur, > int val); > > xmlChar * > xmlNodeGetBase (xmlDocPtr doc, > xmlNodePtr cur); > > void > xmlNodeSetBase (xmlNodePtr cur, > const xmlChar *uri); > > > > > int > xmlRemoveProp (xmlAttrPtr cur); > int > xmlUnsetProp (xmlNodePtr node, > const xmlChar *name); > int > xmlUnsetNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name); > > > > > > void > xmlBufferWriteCHAR (xmlBufferPtr buf, > const xmlChar *string); > void > xmlBufferWriteChar (xmlBufferPtr buf, > const char *string); > void > xmlBufferWriteQuotedString(xmlBufferPtr buf, > const xmlChar *string); > > void xmlAttrSerializeTxtContent(xmlBufferPtr buf, > xmlDocPtr doc, > xmlAttrPtr attr, > const xmlChar *string); > > > > > int > xmlReconciliateNs (xmlDocPtr doc, > xmlNodePtr tree); > > > > > > void > xmlDocDumpFormatMemory (xmlDocPtr cur, > xmlChar **mem, > int *size, > int format); > void > xmlDocDumpMemory (xmlDocPtr cur, > xmlChar **mem, > int *size); > void > xmlDocDumpMemoryEnc (xmlDocPtr out_doc, > xmlChar **doc_txt_ptr, > int * doc_txt_len, > const char *txt_encoding); > void > xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc, > xmlChar **doc_txt_ptr, > int * doc_txt_len, > const char *txt_encoding, > int format); > int > xmlDocFormatDump (FILE *f, > xmlDocPtr cur, > int format); > int > xmlDocDump (FILE *f, > xmlDocPtr cur); > void > xmlElemDump (FILE *f, > xmlDocPtr doc, > xmlNodePtr cur); > int > xmlSaveFile (const char *filename, > xmlDocPtr cur); > int > xmlSaveFormatFile (const char *filename, > xmlDocPtr cur, > int format); > int > xmlNodeDump (xmlBufferPtr buf, > xmlDocPtr doc, > xmlNodePtr cur, > int level, > int format); > > int > xmlSaveFileTo (xmlOutputBufferPtr buf, > xmlDocPtr cur, > const char *encoding); > int > xmlSaveFormatFileTo (xmlOutputBufferPtr buf, > xmlDocPtr cur, > const char *encoding, > int format); > void > xmlNodeDumpOutput (xmlOutputBufferPtr buf, > xmlDocPtr doc, > xmlNodePtr cur, > int level, > int format, > const char *encoding); > > int > xmlSaveFormatFileEnc (const char *filename, > xmlDocPtr cur, > const char *encoding, > int format); > > int > xmlSaveFileEnc (const char *filename, > xmlDocPtr cur, > const char *encoding); > > > > > > int > xmlIsXHTML (const xmlChar *systemID, > const xmlChar *publicID); > > > > > int > xmlGetDocCompressMode (xmlDocPtr doc); > void > xmlSetDocCompressMode (xmlDocPtr doc, > int mode); > int > xmlGetCompressMode (void); > void > xmlSetCompressMode (int mode); > > >} ># 17 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/dict.h" 1 ># 18 "/usr/include/libxml2/libxml/dict.h" >extern "C" { > > > > > >typedef struct _xmlDict xmlDict; >typedef xmlDict *xmlDictPtr; > > > > > xmlDictPtr > xmlDictCreate (void); > xmlDictPtr > xmlDictCreateSub(xmlDictPtr sub); > int > xmlDictReference(xmlDictPtr dict); > void > xmlDictFree (xmlDictPtr dict); > > > > > const xmlChar * > xmlDictLookup (xmlDictPtr dict, > const xmlChar *name, > int len); > const xmlChar * > xmlDictQLookup (xmlDictPtr dict, > const xmlChar *prefix, > const xmlChar *name); > int > xmlDictOwns (xmlDictPtr dict, > const xmlChar *str); > int > xmlDictSize (xmlDictPtr dict); > >} ># 18 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/hash.h" 1 ># 15 "/usr/include/libxml2/libxml/hash.h" >extern "C" { > > > > > >typedef struct _xmlHashTable xmlHashTable; >typedef xmlHashTable *xmlHashTablePtr; > > >} > > > ># 1 "/usr/include/libxml2/libxml/parser.h" 1 ># 30 "/usr/include/libxml2/libxml/hash.h" 2 > > >extern "C" { ># 45 "/usr/include/libxml2/libxml/hash.h" >typedef void (*xmlHashDeallocator)(void *payload, xmlChar *name); ># 55 "/usr/include/libxml2/libxml/hash.h" >typedef void *(*xmlHashCopier)(void *payload, xmlChar *name); ># 64 "/usr/include/libxml2/libxml/hash.h" >typedef void (*xmlHashScanner)(void *payload, void *data, xmlChar *name); ># 75 "/usr/include/libxml2/libxml/hash.h" >typedef void (*xmlHashScannerFull)(void *payload, void *data, > const xmlChar *name, const xmlChar *name2, > const xmlChar *name3); > > > > > xmlHashTablePtr > xmlHashCreate (int size); > void > xmlHashFree (xmlHashTablePtr table, > xmlHashDeallocator f); > > > > > int > xmlHashAddEntry (xmlHashTablePtr table, > const xmlChar *name, > void *userdata); > int > xmlHashUpdateEntry(xmlHashTablePtr table, > const xmlChar *name, > void *userdata, > xmlHashDeallocator f); > int > xmlHashAddEntry2(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > void *userdata); > int > xmlHashUpdateEntry2(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > void *userdata, > xmlHashDeallocator f); > int > xmlHashAddEntry3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > void *userdata); > int > xmlHashUpdateEntry3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > void *userdata, > xmlHashDeallocator f); > > > > > int > xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name, > xmlHashDeallocator f); > int > xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name, > const xmlChar *name2, xmlHashDeallocator f); > int > xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name, > const xmlChar *name2, const xmlChar *name3, > xmlHashDeallocator f); > > > > > void * > xmlHashLookup (xmlHashTablePtr table, > const xmlChar *name); > void * > xmlHashLookup2 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2); > void * > xmlHashLookup3 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3); > void * > xmlHashQLookup (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *prefix); > void * > xmlHashQLookup2 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *prefix, > const xmlChar *name2, > const xmlChar *prefix2); > void * > xmlHashQLookup3 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *prefix, > const xmlChar *name2, > const xmlChar *prefix2, > const xmlChar *name3, > const xmlChar *prefix3); > > > > > xmlHashTablePtr > xmlHashCopy (xmlHashTablePtr table, > xmlHashCopier f); > int > xmlHashSize (xmlHashTablePtr table); > void > xmlHashScan (xmlHashTablePtr table, > xmlHashScanner f, > void *data); > void > xmlHashScan3 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > xmlHashScanner f, > void *data); > void > xmlHashScanFull (xmlHashTablePtr table, > xmlHashScannerFull f, > void *data); > void > xmlHashScanFull3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > xmlHashScannerFull f, > void *data); > >} ># 19 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/valid.h" 1 ># 15 "/usr/include/libxml2/libxml/valid.h" ># 1 "/usr/include/libxml2/libxml/xmlerror.h" 1 ># 16 "/usr/include/libxml2/libxml/xmlerror.h" >extern "C" { > > > > > > > >typedef enum { > XML_ERR_NONE = 0, > XML_ERR_WARNING = 1, > XML_ERR_ERROR = 2, > XML_ERR_FATAL = 3 >} xmlErrorLevel; > > > > > > >typedef enum { > XML_FROM_NONE = 0, > XML_FROM_PARSER, > XML_FROM_TREE, > XML_FROM_NAMESPACE, > XML_FROM_DTD, > XML_FROM_HTML, > XML_FROM_MEMORY, > XML_FROM_OUTPUT, > XML_FROM_IO, > XML_FROM_FTP, > XML_FROM_HTTP, > XML_FROM_XINCLUDE, > XML_FROM_XPATH, > XML_FROM_XPOINTER, > XML_FROM_REGEXP, > XML_FROM_DATATYPE, > XML_FROM_SCHEMASP, > XML_FROM_SCHEMASV, > XML_FROM_RELAXNGP, > XML_FROM_RELAXNGV, > XML_FROM_CATALOG, > XML_FROM_C14N, > XML_FROM_XSLT, > XML_FROM_VALID, > XML_FROM_CHECK >} xmlErrorDomain; > > > > > > > >typedef struct _xmlError xmlError; >typedef xmlError *xmlErrorPtr; >struct _xmlError { > int domain; > int code; > char *message; > xmlErrorLevel level; > char *file; > int line; > char *str1; > char *str2; > char *str3; > int int1; > int int2; > void *ctxt; > void *node; >}; > > > > > > >typedef enum { > XML_ERR_OK = 0, > XML_ERR_INTERNAL_ERROR, > XML_ERR_NO_MEMORY, > XML_ERR_DOCUMENT_START, > XML_ERR_DOCUMENT_EMPTY, > XML_ERR_DOCUMENT_END, > XML_ERR_INVALID_HEX_CHARREF, > XML_ERR_INVALID_DEC_CHARREF, > XML_ERR_INVALID_CHARREF, > XML_ERR_INVALID_CHAR, > XML_ERR_CHARREF_AT_EOF, > XML_ERR_CHARREF_IN_PROLOG, > XML_ERR_CHARREF_IN_EPILOG, > XML_ERR_CHARREF_IN_DTD, > XML_ERR_ENTITYREF_AT_EOF, > XML_ERR_ENTITYREF_IN_PROLOG, > XML_ERR_ENTITYREF_IN_EPILOG, > XML_ERR_ENTITYREF_IN_DTD, > XML_ERR_PEREF_AT_EOF, > XML_ERR_PEREF_IN_PROLOG, > XML_ERR_PEREF_IN_EPILOG, > XML_ERR_PEREF_IN_INT_SUBSET, > XML_ERR_ENTITYREF_NO_NAME, > XML_ERR_ENTITYREF_SEMICOL_MISSING, > XML_ERR_PEREF_NO_NAME, > XML_ERR_PEREF_SEMICOL_MISSING, > XML_ERR_UNDECLARED_ENTITY, > XML_WAR_UNDECLARED_ENTITY, > XML_ERR_UNPARSED_ENTITY, > XML_ERR_ENTITY_IS_EXTERNAL, > XML_ERR_ENTITY_IS_PARAMETER, > XML_ERR_UNKNOWN_ENCODING, > XML_ERR_UNSUPPORTED_ENCODING, > XML_ERR_STRING_NOT_STARTED, > XML_ERR_STRING_NOT_CLOSED, > XML_ERR_NS_DECL_ERROR, > XML_ERR_ENTITY_NOT_STARTED, > XML_ERR_ENTITY_NOT_FINISHED, > XML_ERR_LT_IN_ATTRIBUTE, > XML_ERR_ATTRIBUTE_NOT_STARTED, > XML_ERR_ATTRIBUTE_NOT_FINISHED, > XML_ERR_ATTRIBUTE_WITHOUT_VALUE, > XML_ERR_ATTRIBUTE_REDEFINED, > XML_ERR_LITERAL_NOT_STARTED, > XML_ERR_LITERAL_NOT_FINISHED, > XML_ERR_COMMENT_NOT_FINISHED, > XML_ERR_PI_NOT_STARTED, > XML_ERR_PI_NOT_FINISHED, > XML_ERR_NOTATION_NOT_STARTED, > XML_ERR_NOTATION_NOT_FINISHED, > XML_ERR_ATTLIST_NOT_STARTED, > XML_ERR_ATTLIST_NOT_FINISHED, > XML_ERR_MIXED_NOT_STARTED, > XML_ERR_MIXED_NOT_FINISHED, > XML_ERR_ELEMCONTENT_NOT_STARTED, > XML_ERR_ELEMCONTENT_NOT_FINISHED, > XML_ERR_XMLDECL_NOT_STARTED, > XML_ERR_XMLDECL_NOT_FINISHED, > XML_ERR_CONDSEC_NOT_STARTED, > XML_ERR_CONDSEC_NOT_FINISHED, > XML_ERR_EXT_SUBSET_NOT_FINISHED, > XML_ERR_DOCTYPE_NOT_FINISHED, > XML_ERR_MISPLACED_CDATA_END, > XML_ERR_CDATA_NOT_FINISHED, > XML_ERR_RESERVED_XML_NAME, > XML_ERR_SPACE_REQUIRED, > XML_ERR_SEPARATOR_REQUIRED, > XML_ERR_NMTOKEN_REQUIRED, > XML_ERR_NAME_REQUIRED, > XML_ERR_PCDATA_REQUIRED, > XML_ERR_URI_REQUIRED, > XML_ERR_PUBID_REQUIRED, > XML_ERR_LT_REQUIRED, > XML_ERR_GT_REQUIRED, > XML_ERR_LTSLASH_REQUIRED, > XML_ERR_EQUAL_REQUIRED, > XML_ERR_TAG_NAME_MISMATCH, > XML_ERR_TAG_NOT_FINISHED, > XML_ERR_STANDALONE_VALUE, > XML_ERR_ENCODING_NAME, > XML_ERR_HYPHEN_IN_COMMENT, > XML_ERR_INVALID_ENCODING, > XML_ERR_EXT_ENTITY_STANDALONE, > XML_ERR_CONDSEC_INVALID, > XML_ERR_VALUE_REQUIRED, > XML_ERR_NOT_WELL_BALANCED, > XML_ERR_EXTRA_CONTENT, > XML_ERR_ENTITY_CHAR_ERROR, > XML_ERR_ENTITY_PE_INTERNAL, > XML_ERR_ENTITY_LOOP, > XML_ERR_ENTITY_BOUNDARY, > XML_ERR_INVALID_URI, > XML_ERR_URI_FRAGMENT, > XML_WAR_CATALOG_PI, > XML_ERR_NO_DTD, > XML_ERR_CONDSEC_INVALID_KEYWORD, > XML_ERR_VERSION_MISSING, > XML_WAR_UNKNOWN_VERSION, > XML_WAR_LANG_VALUE, > XML_WAR_NS_URI, > XML_WAR_NS_URI_RELATIVE, > XML_ERR_MISSING_ENCODING, > XML_NS_ERR_XML_NAMESPACE = 200, > XML_NS_ERR_UNDEFINED_NAMESPACE, > XML_NS_ERR_QNAME, > XML_NS_ERR_ATTRIBUTE_REDEFINED, > XML_DTD_ATTRIBUTE_DEFAULT = 500, > XML_DTD_ATTRIBUTE_REDEFINED, > XML_DTD_ATTRIBUTE_VALUE, > XML_DTD_CONTENT_ERROR, > XML_DTD_CONTENT_MODEL, > XML_DTD_CONTENT_NOT_DETERMINIST, > XML_DTD_DIFFERENT_PREFIX, > XML_DTD_ELEM_DEFAULT_NAMESPACE, > XML_DTD_ELEM_NAMESPACE, > XML_DTD_ELEM_REDEFINED, > XML_DTD_EMPTY_NOTATION, > XML_DTD_ENTITY_TYPE, > XML_DTD_ID_FIXED, > XML_DTD_ID_REDEFINED, > XML_DTD_ID_SUBSET, > XML_DTD_INVALID_CHILD, > XML_DTD_INVALID_DEFAULT, > XML_DTD_LOAD_ERROR, > XML_DTD_MISSING_ATTRIBUTE, > XML_DTD_MIXED_CORRUPT, > XML_DTD_MULTIPLE_ID, > XML_DTD_NO_DOC, > XML_DTD_NO_DTD, > XML_DTD_NO_ELEM_NAME, > XML_DTD_NO_PREFIX, > XML_DTD_NO_ROOT, > XML_DTD_NOTATION_REDEFINED, > XML_DTD_NOTATION_VALUE, > XML_DTD_NOT_EMPTY, > XML_DTD_NOT_PCDATA, > XML_DTD_NOT_STANDALONE, > XML_DTD_ROOT_NAME, > XML_DTD_STANDALONE_WHITE_SPACE, > XML_DTD_UNKNOWN_ATTRIBUTE, > XML_DTD_UNKNOWN_ELEM, > XML_DTD_UNKNOWN_ENTITY, > XML_DTD_UNKNOWN_ID, > XML_DTD_UNKNOWN_NOTATION, > XML_DTD_STANDALONE_DEFAULTED, > XML_DTD_XMLID_VALUE, > XML_DTD_XMLID_TYPE, > XML_HTML_STRUCURE_ERROR = 800, > XML_HTML_UNKNOWN_TAG, > XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000, > XML_RNGP_ATTR_CONFLICT, > XML_RNGP_ATTRIBUTE_CHILDREN, > XML_RNGP_ATTRIBUTE_CONTENT, > XML_RNGP_ATTRIBUTE_EMPTY, > XML_RNGP_ATTRIBUTE_NOOP, > XML_RNGP_CHOICE_CONTENT, > XML_RNGP_CHOICE_EMPTY, > XML_RNGP_CREATE_FAILURE, > XML_RNGP_DATA_CONTENT, > XML_RNGP_DEF_CHOICE_AND_INTERLEAVE, > XML_RNGP_DEFINE_CREATE_FAILED, > XML_RNGP_DEFINE_EMPTY, > XML_RNGP_DEFINE_MISSING, > XML_RNGP_DEFINE_NAME_MISSING, > XML_RNGP_ELEM_CONTENT_EMPTY, > XML_RNGP_ELEM_CONTENT_ERROR, > XML_RNGP_ELEMENT_EMPTY, > XML_RNGP_ELEMENT_CONTENT, > XML_RNGP_ELEMENT_NAME, > XML_RNGP_ELEMENT_NO_CONTENT, > XML_RNGP_ELEM_TEXT_CONFLICT, > XML_RNGP_EMPTY, > XML_RNGP_EMPTY_CONSTRUCT, > XML_RNGP_EMPTY_CONTENT, > XML_RNGP_EMPTY_NOT_EMPTY, > XML_RNGP_ERROR_TYPE_LIB, > XML_RNGP_EXCEPT_EMPTY, > XML_RNGP_EXCEPT_MISSING, > XML_RNGP_EXCEPT_MULTIPLE, > XML_RNGP_EXCEPT_NO_CONTENT, > XML_RNGP_EXTERNALREF_EMTPY, > XML_RNGP_EXTERNAL_REF_FAILURE, > XML_RNGP_EXTERNALREF_RECURSE, > XML_RNGP_FORBIDDEN_ATTRIBUTE, > XML_RNGP_FOREIGN_ELEMENT, > XML_RNGP_GRAMMAR_CONTENT, > XML_RNGP_GRAMMAR_EMPTY, > XML_RNGP_GRAMMAR_MISSING, > XML_RNGP_GRAMMAR_NO_START, > XML_RNGP_GROUP_ATTR_CONFLICT, > XML_RNGP_HREF_ERROR, > XML_RNGP_INCLUDE_EMPTY, > XML_RNGP_INCLUDE_FAILURE, > XML_RNGP_INCLUDE_RECURSE, > XML_RNGP_INTERLEAVE_ADD, > XML_RNGP_INTERLEAVE_CREATE_FAILED, > XML_RNGP_INTERLEAVE_EMPTY, > XML_RNGP_INTERLEAVE_NO_CONTENT, > XML_RNGP_INVALID_DEFINE_NAME, > XML_RNGP_INVALID_URI, > XML_RNGP_INVALID_VALUE, > XML_RNGP_MISSING_HREF, > XML_RNGP_NAME_MISSING, > XML_RNGP_NEED_COMBINE, > XML_RNGP_NOTALLOWED_NOT_EMPTY, > XML_RNGP_NSNAME_ATTR_ANCESTOR, > XML_RNGP_NSNAME_NO_NS, > XML_RNGP_PARAM_FORBIDDEN, > XML_RNGP_PARAM_NAME_MISSING, > XML_RNGP_PARENTREF_CREATE_FAILED, > XML_RNGP_PARENTREF_NAME_INVALID, > XML_RNGP_PARENTREF_NO_NAME, > XML_RNGP_PARENTREF_NO_PARENT, > XML_RNGP_PARENTREF_NOT_EMPTY, > XML_RNGP_PARSE_ERROR, > XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME, > XML_RNGP_PAT_ATTR_ATTR, > XML_RNGP_PAT_ATTR_ELEM, > XML_RNGP_PAT_DATA_EXCEPT_ATTR, > XML_RNGP_PAT_DATA_EXCEPT_ELEM, > XML_RNGP_PAT_DATA_EXCEPT_EMPTY, > XML_RNGP_PAT_DATA_EXCEPT_GROUP, > XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE, > XML_RNGP_PAT_DATA_EXCEPT_LIST, > XML_RNGP_PAT_DATA_EXCEPT_ONEMORE, > XML_RNGP_PAT_DATA_EXCEPT_REF, > XML_RNGP_PAT_DATA_EXCEPT_TEXT, > XML_RNGP_PAT_LIST_ATTR, > XML_RNGP_PAT_LIST_ELEM, > XML_RNGP_PAT_LIST_INTERLEAVE, > XML_RNGP_PAT_LIST_LIST, > XML_RNGP_PAT_LIST_REF, > XML_RNGP_PAT_LIST_TEXT, > XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME, > XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME, > XML_RNGP_PAT_ONEMORE_GROUP_ATTR, > XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR, > XML_RNGP_PAT_START_ATTR, > XML_RNGP_PAT_START_DATA, > XML_RNGP_PAT_START_EMPTY, > XML_RNGP_PAT_START_GROUP, > XML_RNGP_PAT_START_INTERLEAVE, > XML_RNGP_PAT_START_LIST, > XML_RNGP_PAT_START_ONEMORE, > XML_RNGP_PAT_START_TEXT, > XML_RNGP_PAT_START_VALUE, > XML_RNGP_PREFIX_UNDEFINED, > XML_RNGP_REF_CREATE_FAILED, > XML_RNGP_REF_CYCLE, > XML_RNGP_REF_NAME_INVALID, > XML_RNGP_REF_NO_DEF, > XML_RNGP_REF_NO_NAME, > XML_RNGP_REF_NOT_EMPTY, > XML_RNGP_START_CHOICE_AND_INTERLEAVE, > XML_RNGP_START_CONTENT, > XML_RNGP_START_EMPTY, > XML_RNGP_START_MISSING, > XML_RNGP_TEXT_EXPECTED, > XML_RNGP_TEXT_HAS_CHILD, > XML_RNGP_TYPE_MISSING, > XML_RNGP_TYPE_NOT_FOUND, > XML_RNGP_TYPE_VALUE, > XML_RNGP_UNKNOWN_ATTRIBUTE, > XML_RNGP_UNKNOWN_COMBINE, > XML_RNGP_UNKNOWN_CONSTRUCT, > XML_RNGP_UNKNOWN_TYPE_LIB, > XML_RNGP_URI_FRAGMENT, > XML_RNGP_URI_NOT_ABSOLUTE, > XML_RNGP_VALUE_EMPTY, > XML_RNGP_VALUE_NO_CONTENT, > XML_RNGP_XMLNS_NAME, > XML_RNGP_XML_NS, > XML_XPATH_EXPRESSION_OK = 1200, > XML_XPATH_NUMBER_ERROR, > XML_XPATH_UNFINISHED_LITERAL_ERROR, > XML_XPATH_START_LITERAL_ERROR, > XML_XPATH_VARIABLE_REF_ERROR, > XML_XPATH_UNDEF_VARIABLE_ERROR, > XML_XPATH_INVALID_PREDICATE_ERROR, > XML_XPATH_EXPR_ERROR, > XML_XPATH_UNCLOSED_ERROR, > XML_XPATH_UNKNOWN_FUNC_ERROR, > XML_XPATH_INVALID_OPERAND, > XML_XPATH_INVALID_TYPE, > XML_XPATH_INVALID_ARITY, > XML_XPATH_INVALID_CTXT_SIZE, > XML_XPATH_INVALID_CTXT_POSITION, > XML_XPATH_MEMORY_ERROR, > XML_XPTR_SYNTAX_ERROR, > XML_XPTR_RESOURCE_ERROR, > XML_XPTR_SUB_RESOURCE_ERROR, > XML_XPATH_UNDEF_PREFIX_ERROR, > XML_XPATH_ENCODING_ERROR, > XML_XPATH_INVALID_CHAR_ERROR, > XML_TREE_INVALID_HEX = 1300, > XML_TREE_INVALID_DEC, > XML_TREE_UNTERMINATED_ENTITY, > XML_SAVE_NOT_UTF8 = 1400, > XML_SAVE_CHAR_INVALID, > XML_SAVE_NO_DOCTYPE, > XML_SAVE_UNKNOWN_ENCODING, > XML_REGEXP_COMPILE_ERROR = 1450, > XML_IO_UNKNOWN = 1500, > XML_IO_EACCES, > XML_IO_EAGAIN, > XML_IO_EBADF, > XML_IO_EBADMSG, > XML_IO_EBUSY, > XML_IO_ECANCELED, > XML_IO_ECHILD, > XML_IO_EDEADLK, > XML_IO_EDOM, > XML_IO_EEXIST, > XML_IO_EFAULT, > XML_IO_EFBIG, > XML_IO_EINPROGRESS, > XML_IO_EINTR, > XML_IO_EINVAL, > XML_IO_EIO, > XML_IO_EISDIR, > XML_IO_EMFILE, > XML_IO_EMLINK, > XML_IO_EMSGSIZE, > XML_IO_ENAMETOOLONG, > XML_IO_ENFILE, > XML_IO_ENODEV, > XML_IO_ENOENT, > XML_IO_ENOEXEC, > XML_IO_ENOLCK, > XML_IO_ENOMEM, > XML_IO_ENOSPC, > XML_IO_ENOSYS, > XML_IO_ENOTDIR, > XML_IO_ENOTEMPTY, > XML_IO_ENOTSUP, > XML_IO_ENOTTY, > XML_IO_ENXIO, > XML_IO_EPERM, > XML_IO_EPIPE, > XML_IO_ERANGE, > XML_IO_EROFS, > XML_IO_ESPIPE, > XML_IO_ESRCH, > XML_IO_ETIMEDOUT, > XML_IO_EXDEV, > XML_IO_NETWORK_ATTEMPT, > XML_IO_ENCODER, > XML_IO_FLUSH, > XML_IO_WRITE, > XML_IO_NO_INPUT, > XML_IO_BUFFER_FULL, > XML_IO_LOAD_ERROR, > XML_IO_ENOTSOCK, > XML_IO_EISCONN, > XML_IO_ECONNREFUSED, > XML_IO_ENETUNREACH, > XML_IO_EADDRINUSE, > XML_IO_EALREADY, > XML_IO_EAFNOSUPPORT, > XML_XINCLUDE_RECURSION=1600, > XML_XINCLUDE_PARSE_VALUE, > XML_XINCLUDE_ENTITY_DEF_MISMATCH, > XML_XINCLUDE_NO_HREF, > XML_XINCLUDE_NO_FALLBACK, > XML_XINCLUDE_HREF_URI, > XML_XINCLUDE_TEXT_FRAGMENT, > XML_XINCLUDE_TEXT_DOCUMENT, > XML_XINCLUDE_INVALID_CHAR, > XML_XINCLUDE_BUILD_FAILED, > XML_XINCLUDE_UNKNOWN_ENCODING, > XML_XINCLUDE_MULTIPLE_ROOT, > XML_XINCLUDE_XPTR_FAILED, > XML_XINCLUDE_XPTR_RESULT, > XML_XINCLUDE_INCLUDE_IN_INCLUDE, > XML_XINCLUDE_FALLBACKS_IN_INCLUDE, > XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE, > XML_XINCLUDE_DEPRECATED_NS, > XML_XINCLUDE_FRAGMENT_ID, > XML_CATALOG_MISSING_ATTR = 1650, > XML_CATALOG_ENTRY_BROKEN, > XML_CATALOG_PREFER_VALUE, > XML_CATALOG_NOT_CATALOG, > XML_CATALOG_RECURSION, > XML_SCHEMAP_PREFIX_UNDEFINED = 1700, > XML_SCHEMAP_ATTRFORMDEFAULT_VALUE, > XML_SCHEMAP_ATTRGRP_NONAME_NOREF, > XML_SCHEMAP_ATTR_NONAME_NOREF, > XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF, > XML_SCHEMAP_ELEMFORMDEFAULT_VALUE, > XML_SCHEMAP_ELEM_NONAME_NOREF, > XML_SCHEMAP_EXTENSION_NO_BASE, > XML_SCHEMAP_FACET_NO_VALUE, > XML_SCHEMAP_FAILED_BUILD_IMPORT, > XML_SCHEMAP_GROUP_NONAME_NOREF, > XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI, > XML_SCHEMAP_IMPORT_REDEFINE_NSNAME, > XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI, > XML_SCHEMAP_INVALID_BOOLEAN, > XML_SCHEMAP_INVALID_ENUM, > XML_SCHEMAP_INVALID_FACET, > XML_SCHEMAP_INVALID_FACET_VALUE, > XML_SCHEMAP_INVALID_MAXOCCURS, > XML_SCHEMAP_INVALID_MINOCCURS, > XML_SCHEMAP_INVALID_REF_AND_SUBTYPE, > XML_SCHEMAP_INVALID_WHITE_SPACE, > XML_SCHEMAP_NOATTR_NOREF, > XML_SCHEMAP_NOTATION_NO_NAME, > XML_SCHEMAP_NOTYPE_NOREF, > XML_SCHEMAP_REF_AND_SUBTYPE, > XML_SCHEMAP_RESTRICTION_NONAME_NOREF, > XML_SCHEMAP_SIMPLETYPE_NONAME, > XML_SCHEMAP_TYPE_AND_SUBTYPE, > XML_SCHEMAP_UNKNOWN_ALL_CHILD, > XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD, > XML_SCHEMAP_UNKNOWN_ATTR_CHILD, > XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD, > XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP, > XML_SCHEMAP_UNKNOWN_BASE_TYPE, > XML_SCHEMAP_UNKNOWN_CHOICE_CHILD, > XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD, > XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD, > XML_SCHEMAP_UNKNOWN_ELEM_CHILD, > XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD, > XML_SCHEMAP_UNKNOWN_FACET_CHILD, > XML_SCHEMAP_UNKNOWN_FACET_TYPE, > XML_SCHEMAP_UNKNOWN_GROUP_CHILD, > XML_SCHEMAP_UNKNOWN_IMPORT_CHILD, > XML_SCHEMAP_UNKNOWN_LIST_CHILD, > XML_SCHEMAP_UNKNOWN_NOTATION_CHILD, > XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD, > XML_SCHEMAP_UNKNOWN_REF, > XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD, > XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD, > XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD, > XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD, > XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD, > XML_SCHEMAP_UNKNOWN_TYPE, > XML_SCHEMAP_UNKNOWN_UNION_CHILD, > XML_SCHEMAP_ELEM_DEFAULT_FIXED, > XML_SCHEMAP_REGEXP_INVALID, > XML_SCHEMAP_FAILED_LOAD, > XML_SCHEMAP_NOTHING_TO_PARSE, > XML_SCHEMAP_NOROOT, > XML_SCHEMAP_REDEFINED_GROUP, > XML_SCHEMAP_REDEFINED_TYPE, > XML_SCHEMAP_REDEFINED_ELEMENT, > XML_SCHEMAP_REDEFINED_ATTRGROUP, > XML_SCHEMAP_REDEFINED_ATTR, > XML_SCHEMAP_REDEFINED_NOTATION, > XML_SCHEMAP_FAILED_PARSE, > XML_SCHEMAP_UNKNOWN_PREFIX, > XML_SCHEMAP_DEF_AND_PREFIX, > XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD, > XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI, > XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI, > XML_SCHEMAP_NOT_SCHEMA, > XML_SCHEMAP_UNKNOWN_MEMBER_TYPE, > XML_SCHEMAP_INVALID_ATTR_USE, > XML_SCHEMAP_RECURSIVE, > XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE, > XML_SCHEMAP_INVALID_ATTR_COMBINATION, > XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION, > XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD, > XML_SCHEMAP_INVALID_ATTR_NAME, > XML_SCHEMAP_REF_AND_CONTENT, > XML_SCHEMAP_CT_PROPS_CORRECT_1, > XML_SCHEMAP_CT_PROPS_CORRECT_2, > XML_SCHEMAP_CT_PROPS_CORRECT_3, > XML_SCHEMAP_CT_PROPS_CORRECT_4, > XML_SCHEMAP_CT_PROPS_CORRECT_5, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3, > XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER, > XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE, > XML_SCHEMAP_UNION_NOT_EXPRESSIBLE, > XML_SCHEMAP_SRC_IMPORT_3_1, > XML_SCHEMAP_SRC_IMPORT_3_2, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3, > XML_SCHEMAP_COS_CT_EXTENDS_1_3, > XML_SCHEMAV_NOROOT = 1801, > XML_SCHEMAV_UNDECLAREDELEM, > XML_SCHEMAV_NOTTOPLEVEL, > XML_SCHEMAV_MISSING, > XML_SCHEMAV_WRONGELEM, > XML_SCHEMAV_NOTYPE, > XML_SCHEMAV_NOROLLBACK, > XML_SCHEMAV_ISABSTRACT, > XML_SCHEMAV_NOTEMPTY, > XML_SCHEMAV_ELEMCONT, > XML_SCHEMAV_HAVEDEFAULT, > XML_SCHEMAV_NOTNILLABLE, > XML_SCHEMAV_EXTRACONTENT, > XML_SCHEMAV_INVALIDATTR, > XML_SCHEMAV_INVALIDELEM, > XML_SCHEMAV_NOTDETERMINIST, > XML_SCHEMAV_CONSTRUCT, > XML_SCHEMAV_INTERNAL, > XML_SCHEMAV_NOTSIMPLE, > XML_SCHEMAV_ATTRUNKNOWN, > XML_SCHEMAV_ATTRINVALID, > XML_SCHEMAV_VALUE, > XML_SCHEMAV_FACET, > XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1, > XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2, > XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3, > XML_SCHEMAV_CVC_TYPE_3_1_1, > XML_SCHEMAV_CVC_TYPE_3_1_2, > XML_SCHEMAV_CVC_FACET_VALID, > XML_SCHEMAV_CVC_LENGTH_VALID, > XML_SCHEMAV_CVC_MINLENGTH_VALID, > XML_SCHEMAV_CVC_MAXLENGTH_VALID, > XML_SCHEMAV_CVC_MININCLUSIVE_VALID, > XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID, > XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID, > XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID, > XML_SCHEMAV_CVC_TOTALDIGITS_VALID, > XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID, > XML_SCHEMAV_CVC_PATTERN_VALID, > XML_SCHEMAV_CVC_ENUMERATION_VALID, > XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1, > XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2, > XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3, > XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4, > XML_SCHEMAV_CVC_ELT_1, > XML_SCHEMAV_CVC_ELT_2, > XML_SCHEMAV_CVC_ELT_3_1, > XML_SCHEMAV_CVC_ELT_3_2_1, > XML_SCHEMAV_CVC_ELT_3_2_2, > XML_SCHEMAV_CVC_ELT_4_1, > XML_SCHEMAV_CVC_ELT_4_2, > XML_SCHEMAV_CVC_ELT_4_3, > XML_SCHEMAV_CVC_ELT_5_1_1, > XML_SCHEMAV_CVC_ELT_5_1_2, > XML_SCHEMAV_CVC_ELT_5_2_1, > XML_SCHEMAV_CVC_ELT_5_2_2_1, > XML_SCHEMAV_CVC_ELT_5_2_2_2_1, > XML_SCHEMAV_CVC_ELT_5_2_2_2_2, > XML_SCHEMAV_CVC_ELT_6, > XML_SCHEMAV_CVC_ELT_7, > XML_SCHEMAV_CVC_ATTRIBUTE_1, > XML_SCHEMAV_CVC_ATTRIBUTE_2, > XML_SCHEMAV_CVC_ATTRIBUTE_3, > XML_SCHEMAV_CVC_ATTRIBUTE_4, > XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1, > XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1, > XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2, > XML_SCHEMAV_CVC_COMPLEX_TYPE_4, > XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1, > XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2, > XML_SCHEMAV_ELEMENT_CONTENT, > XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING, > XML_SCHEMAV_CVC_COMPLEX_TYPE_1, > XML_SCHEMAV_CVC_AU, > XML_SCHEMAV_CVC_TYPE_1, > XML_SCHEMAV_CVC_TYPE_2, > XML_XPTR_UNKNOWN_SCHEME = 1900, > XML_XPTR_CHILDSEQ_START, > XML_XPTR_EVAL_FAILED, > XML_XPTR_EXTRA_OBJECTS, > XML_C14N_CREATE_CTXT = 1950, > XML_C14N_REQUIRES_UTF8, > XML_C14N_CREATE_STACK, > XML_C14N_INVALID_NODE, > XML_FTP_PASV_ANSWER = 2000, > XML_FTP_EPSV_ANSWER, > XML_FTP_ACCNT, > XML_HTTP_URL_SYNTAX = 2020, > XML_HTTP_USE_IP, > XML_HTTP_UNKNOWN_HOST, > XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000, > XML_SCHEMAP_SRC_SIMPLE_TYPE_2, > XML_SCHEMAP_SRC_SIMPLE_TYPE_3, > XML_SCHEMAP_SRC_SIMPLE_TYPE_4, > XML_SCHEMAP_SRC_RESOLVE, > XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE, > XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE, > XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES, > XML_SCHEMAP_ST_PROPS_CORRECT_1, > XML_SCHEMAP_ST_PROPS_CORRECT_2, > XML_SCHEMAP_ST_PROPS_CORRECT_3, > XML_SCHEMAP_COS_ST_RESTRICTS_1_1, > XML_SCHEMAP_COS_ST_RESTRICTS_1_2, > XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1, > XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2, > XML_SCHEMAP_COS_ST_RESTRICTS_2_1, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4, > XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5, > XML_SCHEMAP_COS_ST_RESTRICTS_3_1, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4, > XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5, > XML_SCHEMAP_COS_ST_DERIVED_OK_2_1, > XML_SCHEMAP_COS_ST_DERIVED_OK_2_2, > XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED, > XML_SCHEMAP_S4S_ELEM_MISSING, > XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED, > XML_SCHEMAP_S4S_ATTR_MISSING, > XML_SCHEMAP_S4S_ATTR_INVALID_VALUE, > XML_SCHEMAP_SRC_ELEMENT_1, > XML_SCHEMAP_SRC_ELEMENT_2_1, > XML_SCHEMAP_SRC_ELEMENT_2_2, > XML_SCHEMAP_SRC_ELEMENT_3, > XML_SCHEMAP_P_PROPS_CORRECT_1, > XML_SCHEMAP_P_PROPS_CORRECT_2_1, > XML_SCHEMAP_P_PROPS_CORRECT_2_2, > XML_SCHEMAP_E_PROPS_CORRECT_2, > XML_SCHEMAP_E_PROPS_CORRECT_3, > XML_SCHEMAP_E_PROPS_CORRECT_4, > XML_SCHEMAP_E_PROPS_CORRECT_5, > XML_SCHEMAP_E_PROPS_CORRECT_6, > XML_SCHEMAP_SRC_INCLUDE, > XML_SCHEMAP_SRC_ATTRIBUTE_1, > XML_SCHEMAP_SRC_ATTRIBUTE_2, > XML_SCHEMAP_SRC_ATTRIBUTE_3_1, > XML_SCHEMAP_SRC_ATTRIBUTE_3_2, > XML_SCHEMAP_SRC_ATTRIBUTE_4, > XML_SCHEMAP_NO_XMLNS, > XML_SCHEMAP_NO_XSI, > XML_SCHEMAP_COS_VALID_DEFAULT_1, > XML_SCHEMAP_COS_VALID_DEFAULT_2_1, > XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1, > XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2, > XML_SCHEMAP_CVC_SIMPLE_TYPE, > XML_SCHEMAP_COS_CT_EXTENDS_1_1, > XML_SCHEMAP_SRC_IMPORT_1_1, > XML_SCHEMAP_SRC_IMPORT_1_2, > XML_SCHEMAP_SRC_IMPORT_2, > XML_SCHEMAP_SRC_IMPORT_2_1, > XML_SCHEMAP_SRC_IMPORT_2_2, > XML_SCHEMAP_INTERNAL, > XML_SCHEMAP_NOT_DETERMINISTIC, > XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1, > XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2, > XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3, > XML_SCHEMAP_MG_PROPS_CORRECT_1, > XML_SCHEMAP_MG_PROPS_CORRECT_2, > XML_SCHEMAP_SRC_CT_1, > XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3, > XML_SCHEMAP_AU_PROPS_CORRECT_2, > XML_SCHEMAP_A_PROPS_CORRECT_2, > XML_CHECK_FOUND_ELEMENT = 5000, > XML_CHECK_FOUND_ATTRIBUTE, > XML_CHECK_FOUND_TEXT, > XML_CHECK_FOUND_CDATA, > XML_CHECK_FOUND_ENTITYREF, > XML_CHECK_FOUND_ENTITY, > XML_CHECK_FOUND_PI, > XML_CHECK_FOUND_COMMENT, > XML_CHECK_FOUND_DOCTYPE, > XML_CHECK_FOUND_FRAGMENT, > XML_CHECK_FOUND_NOTATION, > XML_CHECK_UNKNOWN_NODE, > XML_CHECK_ENTITY_TYPE, > XML_CHECK_NO_PARENT, > XML_CHECK_NO_DOC, > XML_CHECK_NO_NAME, > XML_CHECK_NO_ELEM, > XML_CHECK_WRONG_DOC, > XML_CHECK_NO_PREV, > XML_CHECK_WRONG_PREV, > XML_CHECK_NO_NEXT, > XML_CHECK_WRONG_NEXT, > XML_CHECK_NOT_DTD, > XML_CHECK_NOT_ATTR, > XML_CHECK_NOT_ATTR_DECL, > XML_CHECK_NOT_ELEM_DECL, > XML_CHECK_NOT_ENTITY_DECL, > XML_CHECK_NOT_NS_DECL, > XML_CHECK_NO_HREF, > XML_CHECK_WRONG_PARENT, > XML_CHECK_NS_SCOPE, > XML_CHECK_NS_ANCESTOR, > XML_CHECK_NOT_UTF8, > XML_CHECK_NO_DICT, > XML_CHECK_NOT_NCNAME, > XML_CHECK_OUTSIDE_DICT, > XML_CHECK_WRONG_NAME, > XML_CHECK_NAME_NOT_NULL > > > > >} xmlParserErrors; ># 801 "/usr/include/libxml2/libxml/xmlerror.h" >typedef void (*xmlGenericErrorFunc) (void *ctx, > const char *msg, > ...); ># 812 "/usr/include/libxml2/libxml/xmlerror.h" >typedef void (*xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error); > > > > > > void > xmlSetGenericErrorFunc (void *ctx, > xmlGenericErrorFunc handler); > void > initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler); > > void > xmlSetStructuredErrorFunc (void *ctx, > xmlStructuredErrorFunc handler); > > > > > void > xmlParserError (void *ctx, > const char *msg, > ...); > void > xmlParserWarning (void *ctx, > const char *msg, > ...); > void > xmlParserValidityError (void *ctx, > const char *msg, > ...); > void > xmlParserValidityWarning (void *ctx, > const char *msg, > ...); > void > xmlParserPrintFileInfo (xmlParserInputPtr input); > void > xmlParserPrintFileContext (xmlParserInputPtr input); > > > > > xmlErrorPtr > xmlGetLastError (void); > void > xmlResetLastError (void); > xmlErrorPtr > xmlCtxtGetLastError (void *ctx); > void > xmlCtxtResetLastError (void *ctx); > void > xmlResetError (xmlErrorPtr err); > int > xmlCopyError (xmlErrorPtr from, > xmlErrorPtr to); ># 899 "/usr/include/libxml2/libxml/xmlerror.h" >} ># 16 "/usr/include/libxml2/libxml/valid.h" 2 > ># 1 "/usr/include/libxml2/libxml/list.h" 1 ># 17 "/usr/include/libxml2/libxml/list.h" >extern "C" { > > >typedef struct _xmlLink xmlLink; >typedef xmlLink *xmlLinkPtr; > >typedef struct _xmlList xmlList; >typedef xmlList *xmlListPtr; > > > > > > > >typedef void (*xmlListDeallocator) (xmlLinkPtr lk); ># 42 "/usr/include/libxml2/libxml/list.h" >typedef int (*xmlListDataCompare) (const void *data0, const void *data1); ># 52 "/usr/include/libxml2/libxml/list.h" >typedef int (*xmlListWalker) (const void *data, const void *user); > > > xmlListPtr > xmlListCreate (xmlListDeallocator deallocator, > xmlListDataCompare compare); > void > xmlListDelete (xmlListPtr l); > > > void * > xmlListSearch (xmlListPtr l, > void *data); > void * > xmlListReverseSearch (xmlListPtr l, > void *data); > int > xmlListInsert (xmlListPtr l, > void *data) ; > int > xmlListAppend (xmlListPtr l, > void *data) ; > int > xmlListRemoveFirst (xmlListPtr l, > void *data); > int > xmlListRemoveLast (xmlListPtr l, > void *data); > int > xmlListRemoveAll (xmlListPtr l, > void *data); > void > xmlListClear (xmlListPtr l); > int > xmlListEmpty (xmlListPtr l); > xmlLinkPtr > xmlListFront (xmlListPtr l); > xmlLinkPtr > xmlListEnd (xmlListPtr l); > int > xmlListSize (xmlListPtr l); > > void > xmlListPopFront (xmlListPtr l); > void > xmlListPopBack (xmlListPtr l); > int > xmlListPushFront (xmlListPtr l, > void *data); > int > xmlListPushBack (xmlListPtr l, > void *data); > > > void > xmlListReverse (xmlListPtr l); > void > xmlListSort (xmlListPtr l); > void > xmlListWalk (xmlListPtr l, > xmlListWalker walker, > const void *user); > void > xmlListReverseWalk (xmlListPtr l, > xmlListWalker walker, > const void *user); > void > xmlListMerge (xmlListPtr l1, > xmlListPtr l2); > xmlListPtr > xmlListDup (const xmlListPtr old); > int > xmlListCopy (xmlListPtr cur, > const xmlListPtr old); > > void * > xmlLinkGetData (xmlLinkPtr lk); > > > > > >} ># 18 "/usr/include/libxml2/libxml/valid.h" 2 ># 1 "/usr/include/libxml2/libxml/xmlautomata.h" 1 ># 20 "/usr/include/libxml2/libxml/xmlautomata.h" >extern "C" { > > > > > > > >typedef struct _xmlAutomata xmlAutomata; >typedef xmlAutomata *xmlAutomataPtr; > > > > > > >typedef struct _xmlAutomataState xmlAutomataState; >typedef xmlAutomataState *xmlAutomataStatePtr; > > > > > xmlAutomataPtr > xmlNewAutomata (void); > void > xmlFreeAutomata (xmlAutomataPtr am); > > xmlAutomataStatePtr > xmlAutomataGetInitState (xmlAutomataPtr am); > int > xmlAutomataSetFinalState (xmlAutomataPtr am, > xmlAutomataStatePtr state); > xmlAutomataStatePtr > xmlAutomataNewState (xmlAutomataPtr am); > xmlAutomataStatePtr > xmlAutomataNewTransition (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > void *data); > xmlAutomataStatePtr > xmlAutomataNewTransition2 (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > const xmlChar *token2, > void *data); > xmlAutomataStatePtr > xmlAutomataNewCountTrans (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > int min, > int max, > void *data); > xmlAutomataStatePtr > xmlAutomataNewCountTrans2 (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > const xmlChar *token2, > int min, > int max, > void *data); > xmlAutomataStatePtr > xmlAutomataNewOnceTrans (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > int min, > int max, > void *data); > xmlAutomataStatePtr > xmlAutomataNewOnceTrans2 (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > const xmlChar *token, > const xmlChar *token2, > int min, > int max, > void *data); > xmlAutomataStatePtr > xmlAutomataNewAllTrans (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > int lax); > xmlAutomataStatePtr > xmlAutomataNewEpsilon (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to); > xmlAutomataStatePtr > xmlAutomataNewCountedTrans (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > int counter); > xmlAutomataStatePtr > xmlAutomataNewCounterTrans (xmlAutomataPtr am, > xmlAutomataStatePtr from, > xmlAutomataStatePtr to, > int counter); > int > xmlAutomataNewCounter (xmlAutomataPtr am, > int min, > int max); > > xmlRegexpPtr > xmlAutomataCompile (xmlAutomataPtr am); > int > xmlAutomataIsDeterminist (xmlAutomataPtr am); > > >} ># 19 "/usr/include/libxml2/libxml/valid.h" 2 > > > >extern "C" { > > > > > >typedef struct _xmlValidState xmlValidState; >typedef xmlValidState *xmlValidStatePtr; ># 42 "/usr/include/libxml2/libxml/valid.h" >typedef void (*xmlValidityErrorFunc) (void *ctx, > const char *msg, > ...); ># 57 "/usr/include/libxml2/libxml/valid.h" >typedef void (*xmlValidityWarningFunc) (void *ctx, > const char *msg, > ...); > > > > > >typedef struct _xmlValidCtxt xmlValidCtxt; >typedef xmlValidCtxt *xmlValidCtxtPtr; >struct _xmlValidCtxt { > void *userData; > xmlValidityErrorFunc error; > xmlValidityWarningFunc warning; > > > xmlNodePtr node; > int nodeNr; > int nodeMax; > xmlNodePtr *nodeTab; > > int finishDtd; > xmlDocPtr doc; > int valid; > > > xmlValidState *vstate; > int vstateNr; > int vstateMax; > xmlValidState *vstateTab; > > > xmlAutomataPtr am; > xmlAutomataStatePtr state; > > > > >}; > > > > > > >typedef struct _xmlHashTable xmlNotationTable; >typedef xmlNotationTable *xmlNotationTablePtr; > > > > > > >typedef struct _xmlHashTable xmlElementTable; >typedef xmlElementTable *xmlElementTablePtr; > > > > > > >typedef struct _xmlHashTable xmlAttributeTable; >typedef xmlAttributeTable *xmlAttributeTablePtr; > > > > > > >typedef struct _xmlHashTable xmlIDTable; >typedef xmlIDTable *xmlIDTablePtr; > > > > > > >typedef struct _xmlHashTable xmlRefTable; >typedef xmlRefTable *xmlRefTablePtr; > > > xmlValidCtxtPtr > xmlNewValidCtxt(void); > void > xmlFreeValidCtxt(xmlValidCtxtPtr); > > > xmlNotationPtr > xmlAddNotationDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *name, > const xmlChar *PublicID, > const xmlChar *SystemID); > xmlNotationTablePtr > xmlCopyNotationTable (xmlNotationTablePtr table); > void > xmlFreeNotationTable (xmlNotationTablePtr table); > > void > xmlDumpNotationDecl (xmlBufferPtr buf, > xmlNotationPtr nota); > void > xmlDumpNotationTable (xmlBufferPtr buf, > xmlNotationTablePtr table); > > > > xmlElementContentPtr > xmlNewElementContent (const xmlChar *name, > xmlElementContentType type); > xmlElementContentPtr > xmlCopyElementContent (xmlElementContentPtr content); > void > xmlFreeElementContent (xmlElementContentPtr cur); > void > xmlSnprintfElementContent(char *buf, > int size, > xmlElementContentPtr content, > int glob); > > void > xmlSprintfElementContent(char *buf, > xmlElementContentPtr content, > int glob); > > > > xmlElementPtr > xmlAddElementDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *name, > xmlElementTypeVal type, > xmlElementContentPtr content); > xmlElementTablePtr > xmlCopyElementTable (xmlElementTablePtr table); > void > xmlFreeElementTable (xmlElementTablePtr table); > > void > xmlDumpElementTable (xmlBufferPtr buf, > xmlElementTablePtr table); > void > xmlDumpElementDecl (xmlBufferPtr buf, > xmlElementPtr elem); > > > > xmlEnumerationPtr > xmlCreateEnumeration (const xmlChar *name); > void > xmlFreeEnumeration (xmlEnumerationPtr cur); > xmlEnumerationPtr > xmlCopyEnumeration (xmlEnumerationPtr cur); > > > xmlAttributePtr > xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name, > const xmlChar *ns, > xmlAttributeType type, > xmlAttributeDefault def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); > xmlAttributeTablePtr > xmlCopyAttributeTable (xmlAttributeTablePtr table); > void > xmlFreeAttributeTable (xmlAttributeTablePtr table); > > void > xmlDumpAttributeTable (xmlBufferPtr buf, > xmlAttributeTablePtr table); > void > xmlDumpAttributeDecl (xmlBufferPtr buf, > xmlAttributePtr attr); > > > > xmlIDPtr > xmlAddID (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *value, > xmlAttrPtr attr); > void > xmlFreeIDTable (xmlIDTablePtr table); > xmlAttrPtr > xmlGetID (xmlDocPtr doc, > const xmlChar *ID); > int > xmlIsID (xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr); > int > xmlRemoveID (xmlDocPtr doc, > xmlAttrPtr attr); > > > xmlRefPtr > xmlAddRef (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *value, > xmlAttrPtr attr); > void > xmlFreeRefTable (xmlRefTablePtr table); > int > xmlIsRef (xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr); > int > xmlRemoveRef (xmlDocPtr doc, > xmlAttrPtr attr); > xmlListPtr > xmlGetRefs (xmlDocPtr doc, > const xmlChar *ID); > > > > > > int > xmlValidateRoot (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); > int > xmlValidateElementDecl (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlElementPtr elem); > xmlChar * > xmlValidNormalizeAttributeValue(xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *name, > const xmlChar *value); > xmlChar * > xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *name, > const xmlChar *value); > int > xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlAttributePtr attr); > int > xmlValidateAttributeValue(xmlAttributeType type, > const xmlChar *value); > int > xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNotationPtr nota); > int > xmlValidateDtd (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlDtdPtr dtd); > int > xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); > int > xmlValidateDocument (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); > int > xmlValidateElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem); > int > xmlValidateOneElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem); > int > xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr, > const xmlChar *value); > int > xmlValidateOneNamespace (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *prefix, > xmlNsPtr ns, > const xmlChar *value); > int > xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt, > xmlDocPtr doc); > int > xmlValidateNotationUse (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *notationName); > > > int > xmlIsMixedElement (xmlDocPtr doc, > const xmlChar *name); > xmlAttributePtr > xmlGetDtdAttrDesc (xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name); > xmlAttributePtr > xmlGetDtdQAttrDesc (xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name, > const xmlChar *prefix); > xmlNotationPtr > xmlGetDtdNotationDesc (xmlDtdPtr dtd, > const xmlChar *name); > xmlElementPtr > xmlGetDtdQElementDesc (xmlDtdPtr dtd, > const xmlChar *name, > const xmlChar *prefix); > xmlElementPtr > xmlGetDtdElementDesc (xmlDtdPtr dtd, > const xmlChar *name); > > int > xmlValidGetValidElements(xmlNode *prev, > xmlNode *next, > const xmlChar **names, > int max); > int > xmlValidGetPotentialChildren(xmlElementContent *ctree, > const xmlChar **list, > int *len, > int max); > > > > int > xmlValidateNameValue (const xmlChar *value); > int > xmlValidateNamesValue (const xmlChar *value); > int > xmlValidateNmtokenValue (const xmlChar *value); > int > xmlValidateNmtokensValue(const xmlChar *value); > > > > > > > int > xmlValidBuildContentModel(xmlValidCtxtPtr ctxt, > xmlElementPtr elem); > > int > xmlValidatePushElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *qname); > int > xmlValidatePushCData (xmlValidCtxtPtr ctxt, > const xmlChar *data, > int len); > int > xmlValidatePopElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *qname); > > >} ># 20 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/entities.h" 1 ># 18 "/usr/include/libxml2/libxml/entities.h" >extern "C" { > > > > > >typedef enum { > XML_INTERNAL_GENERAL_ENTITY = 1, > XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2, > XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3, > XML_INTERNAL_PARAMETER_ENTITY = 4, > XML_EXTERNAL_PARAMETER_ENTITY = 5, > XML_INTERNAL_PREDEFINED_ENTITY = 6 >} xmlEntityType; > > > > > > >struct _xmlEntity { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > xmlChar *orig; > xmlChar *content; > int length; > xmlEntityType etype; > const xmlChar *ExternalID; > const xmlChar *SystemID; > > struct _xmlEntity *nexte; > const xmlChar *URI; > int owner; >}; > > > > > > >typedef struct _xmlHashTable xmlEntitiesTable; >typedef xmlEntitiesTable *xmlEntitiesTablePtr; > > > > > > void > xmlInitializePredefinedEntities (void); > xmlEntityPtr > xmlAddDocEntity (xmlDocPtr doc, > const xmlChar *name, > int type, > const xmlChar *ExternalID, > const xmlChar *SystemID, > const xmlChar *content); > xmlEntityPtr > xmlAddDtdEntity (xmlDocPtr doc, > const xmlChar *name, > int type, > const xmlChar *ExternalID, > const xmlChar *SystemID, > const xmlChar *content); > xmlEntityPtr > xmlGetPredefinedEntity (const xmlChar *name); > xmlEntityPtr > xmlGetDocEntity (xmlDocPtr doc, > const xmlChar *name); > xmlEntityPtr > xmlGetDtdEntity (xmlDocPtr doc, > const xmlChar *name); > xmlEntityPtr > xmlGetParameterEntity (xmlDocPtr doc, > const xmlChar *name); > const xmlChar * > xmlEncodeEntities (xmlDocPtr doc, > const xmlChar *input); > xmlChar * > xmlEncodeEntitiesReentrant(xmlDocPtr doc, > const xmlChar *input); > xmlChar * > xmlEncodeSpecialChars (xmlDocPtr doc, > const xmlChar *input); > xmlEntitiesTablePtr > xmlCreateEntitiesTable (void); > xmlEntitiesTablePtr > xmlCopyEntitiesTable (xmlEntitiesTablePtr table); > void > xmlFreeEntitiesTable (xmlEntitiesTablePtr table); > > void > xmlDumpEntitiesTable (xmlBufferPtr buf, > xmlEntitiesTablePtr table); > void > xmlDumpEntityDecl (xmlBufferPtr buf, > xmlEntityPtr ent); > > void > xmlCleanupPredefinedEntities(void); > > > >} ># 21 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/xmlerror.h" 1 ># 22 "/usr/include/libxml2/libxml/parser.h" 2 > > > >extern "C" { ># 52 "/usr/include/libxml2/libxml/parser.h" >typedef void (* xmlParserInputDeallocate)(xmlChar *str); > >struct _xmlParserInput { > > xmlParserInputBufferPtr buf; > > const char *filename; > const char *directory; > const xmlChar *base; > const xmlChar *cur; > const xmlChar *end; > int length; > int line; > int col; > > > > > > unsigned long consumed; > xmlParserInputDeallocate free; > const xmlChar *encoding; > const xmlChar *version; > int standalone; > int id; >}; ># 86 "/usr/include/libxml2/libxml/parser.h" >typedef struct _xmlParserNodeInfo xmlParserNodeInfo; >typedef xmlParserNodeInfo *xmlParserNodeInfoPtr; > >struct _xmlParserNodeInfo { > const struct _xmlNode* node; > > unsigned long begin_pos; > unsigned long begin_line; > unsigned long end_pos; > unsigned long end_line; >}; > >typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq; >typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr; >struct _xmlParserNodeInfoSeq { > unsigned long maximum; > unsigned long length; > xmlParserNodeInfo* buffer; >}; > > > > > > > >typedef enum { > XML_PARSER_EOF = -1, > XML_PARSER_START = 0, > XML_PARSER_MISC, > XML_PARSER_PI, > XML_PARSER_DTD, > XML_PARSER_PROLOG, > XML_PARSER_COMMENT, > XML_PARSER_START_TAG, > XML_PARSER_CONTENT, > XML_PARSER_CDATA_SECTION, > XML_PARSER_END_TAG, > XML_PARSER_ENTITY_DECL, > XML_PARSER_ENTITY_VALUE, > XML_PARSER_ATTRIBUTE_VALUE, > XML_PARSER_SYSTEM_LITERAL, > XML_PARSER_EPILOG, > XML_PARSER_IGNORE, > XML_PARSER_PUBLIC_LITERAL >} xmlParserInputState; ># 163 "/usr/include/libxml2/libxml/parser.h" >typedef enum { > XML_PARSE_UNKNOWN = 0, > XML_PARSE_DOM = 1, > XML_PARSE_SAX = 2, > XML_PARSE_PUSH_DOM = 3, > XML_PARSE_PUSH_SAX = 4, > XML_PARSE_READER = 5 >} xmlParserMode; ># 184 "/usr/include/libxml2/libxml/parser.h" >struct _xmlParserCtxt { > struct _xmlSAXHandler *sax; > void *userData; > xmlDocPtr myDoc; > int wellFormed; > int replaceEntities; > const xmlChar *version; > const xmlChar *encoding; > int standalone; > int html; > > > xmlParserInputPtr input; > int inputNr; > int inputMax; > xmlParserInputPtr *inputTab; > > > xmlNodePtr node; > int nodeNr; > int nodeMax; > xmlNodePtr *nodeTab; > > int record_info; > xmlParserNodeInfoSeq node_seq; > > int errNo; > > int hasExternalSubset; > int hasPErefs; > int external; > > int valid; > int validate; > xmlValidCtxt vctxt; > > xmlParserInputState instate; > int token; > > char *directory; > > > const xmlChar *name; > int nameNr; > int nameMax; > const xmlChar * *nameTab; > > long nbChars; > long checkIndex; > int keepBlanks; > int disableSAX; > int inSubset; > const xmlChar * intSubName; > xmlChar * extSubURI; > xmlChar * extSubSystem; > > > int * space; > int spaceNr; > int spaceMax; > int * spaceTab; > > int depth; > xmlParserInputPtr entity; > int charset; > > int nodelen; > int nodemem; > int pedantic; > void *_private; > > int loadsubset; > int linenumbers; > void *catalogs; > int recovery; > int progressive; > xmlDictPtr dict; > const xmlChar * *atts; > int maxatts; > int docdict; > > > > > const xmlChar *str_xml; > const xmlChar *str_xmlns; > const xmlChar *str_xml_ns; > > > > > int sax2; > int nsNr; > int nsMax; > const xmlChar * *nsTab; > int *attallocs; > void * *pushTab; > xmlHashTablePtr attsDefault; > xmlHashTablePtr attsSpecial; > int nsWellFormed; > int options; > > > > > int dictNames; > int freeElemsNr; > xmlNodePtr freeElems; > int freeAttrsNr; > xmlAttrPtr freeAttrs; > > > > > xmlError lastError; > xmlParserMode parseMode; >}; > > > > > > >struct _xmlSAXLocator { > const xmlChar *(*getPublicId)(void *ctx); > const xmlChar *(*getSystemId)(void *ctx); > int (*getLineNumber)(void *ctx); > int (*getColumnNumber)(void *ctx); >}; ># 336 "/usr/include/libxml2/libxml/parser.h" >typedef xmlParserInputPtr (*resolveEntitySAXFunc) (void *ctx, > const xmlChar *publicId, > const xmlChar *systemId); ># 348 "/usr/include/libxml2/libxml/parser.h" >typedef void (*internalSubsetSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); ># 361 "/usr/include/libxml2/libxml/parser.h" >typedef void (*externalSubsetSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); ># 374 "/usr/include/libxml2/libxml/parser.h" >typedef xmlEntityPtr (*getEntitySAXFunc) (void *ctx, > const xmlChar *name); ># 385 "/usr/include/libxml2/libxml/parser.h" >typedef xmlEntityPtr (*getParameterEntitySAXFunc) (void *ctx, > const xmlChar *name); ># 398 "/usr/include/libxml2/libxml/parser.h" >typedef void (*entityDeclSAXFunc) (void *ctx, > const xmlChar *name, > int type, > const xmlChar *publicId, > const xmlChar *systemId, > xmlChar *content); ># 413 "/usr/include/libxml2/libxml/parser.h" >typedef void (*notationDeclSAXFunc)(void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId); ># 429 "/usr/include/libxml2/libxml/parser.h" >typedef void (*attributeDeclSAXFunc)(void *ctx, > const xmlChar *elem, > const xmlChar *fullname, > int type, > int def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); ># 445 "/usr/include/libxml2/libxml/parser.h" >typedef void (*elementDeclSAXFunc)(void *ctx, > const xmlChar *name, > int type, > xmlElementContentPtr content); ># 459 "/usr/include/libxml2/libxml/parser.h" >typedef void (*unparsedEntityDeclSAXFunc)(void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId, > const xmlChar *notationName); ># 472 "/usr/include/libxml2/libxml/parser.h" >typedef void (*setDocumentLocatorSAXFunc) (void *ctx, > xmlSAXLocatorPtr loc); > > > > > > >typedef void (*startDocumentSAXFunc) (void *ctx); > > > > > > >typedef void (*endDocumentSAXFunc) (void *ctx); ># 496 "/usr/include/libxml2/libxml/parser.h" >typedef void (*startElementSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar **atts); > > > > > > > >typedef void (*endElementSAXFunc) (void *ctx, > const xmlChar *name); ># 519 "/usr/include/libxml2/libxml/parser.h" >typedef void (*attributeSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *value); > > > > > > > >typedef void (*referenceSAXFunc) (void *ctx, > const xmlChar *name); ># 539 "/usr/include/libxml2/libxml/parser.h" >typedef void (*charactersSAXFunc) (void *ctx, > const xmlChar *ch, > int len); ># 551 "/usr/include/libxml2/libxml/parser.h" >typedef void (*ignorableWhitespaceSAXFunc) (void *ctx, > const xmlChar *ch, > int len); ># 562 "/usr/include/libxml2/libxml/parser.h" >typedef void (*processingInstructionSAXFunc) (void *ctx, > const xmlChar *target, > const xmlChar *data); > > > > > > > >typedef void (*commentSAXFunc) (void *ctx, > const xmlChar *value); ># 582 "/usr/include/libxml2/libxml/parser.h" >typedef void (*cdataBlockSAXFunc) ( > void *ctx, > const xmlChar *value, > int len); ># 594 "/usr/include/libxml2/libxml/parser.h" >typedef void (*warningSAXFunc) (void *ctx, > const char *msg, ...); ># 604 "/usr/include/libxml2/libxml/parser.h" >typedef void (*errorSAXFunc) (void *ctx, > const char *msg, ...); ># 616 "/usr/include/libxml2/libxml/parser.h" >typedef void (*fatalErrorSAXFunc) (void *ctx, > const char *msg, ...); ># 626 "/usr/include/libxml2/libxml/parser.h" >typedef int (*isStandaloneSAXFunc) (void *ctx); ># 635 "/usr/include/libxml2/libxml/parser.h" >typedef int (*hasInternalSubsetSAXFunc) (void *ctx); ># 645 "/usr/include/libxml2/libxml/parser.h" >typedef int (*hasExternalSubsetSAXFunc) (void *ctx); ># 678 "/usr/include/libxml2/libxml/parser.h" >typedef void (*startElementNsSAX2Func) (void *ctx, > const xmlChar *localname, > const xmlChar *prefix, > const xmlChar *URI, > int nb_namespaces, > const xmlChar **namespaces, > int nb_attributes, > int nb_defaulted, > const xmlChar **attributes); ># 699 "/usr/include/libxml2/libxml/parser.h" >typedef void (*endElementNsSAX2Func) (void *ctx, > const xmlChar *localname, > const xmlChar *prefix, > const xmlChar *URI); > > >struct _xmlSAXHandler { > internalSubsetSAXFunc internalSubset; > isStandaloneSAXFunc isStandalone; > hasInternalSubsetSAXFunc hasInternalSubset; > hasExternalSubsetSAXFunc hasExternalSubset; > resolveEntitySAXFunc resolveEntity; > getEntitySAXFunc getEntity; > entityDeclSAXFunc entityDecl; > notationDeclSAXFunc notationDecl; > attributeDeclSAXFunc attributeDecl; > elementDeclSAXFunc elementDecl; > unparsedEntityDeclSAXFunc unparsedEntityDecl; > setDocumentLocatorSAXFunc setDocumentLocator; > startDocumentSAXFunc startDocument; > endDocumentSAXFunc endDocument; > startElementSAXFunc startElement; > endElementSAXFunc endElement; > referenceSAXFunc reference; > charactersSAXFunc characters; > ignorableWhitespaceSAXFunc ignorableWhitespace; > processingInstructionSAXFunc processingInstruction; > commentSAXFunc comment; > warningSAXFunc warning; > errorSAXFunc error; > fatalErrorSAXFunc fatalError; > getParameterEntitySAXFunc getParameterEntity; > cdataBlockSAXFunc cdataBlock; > externalSubsetSAXFunc externalSubset; > unsigned int initialized; > > void *_private; > startElementNsSAX2Func startElementNs; > endElementNsSAX2Func endElementNs; > xmlStructuredErrorFunc serror; >}; > > > > >typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1; >typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr; >struct _xmlSAXHandlerV1 { > internalSubsetSAXFunc internalSubset; > isStandaloneSAXFunc isStandalone; > hasInternalSubsetSAXFunc hasInternalSubset; > hasExternalSubsetSAXFunc hasExternalSubset; > resolveEntitySAXFunc resolveEntity; > getEntitySAXFunc getEntity; > entityDeclSAXFunc entityDecl; > notationDeclSAXFunc notationDecl; > attributeDeclSAXFunc attributeDecl; > elementDeclSAXFunc elementDecl; > unparsedEntityDeclSAXFunc unparsedEntityDecl; > setDocumentLocatorSAXFunc setDocumentLocator; > startDocumentSAXFunc startDocument; > endDocumentSAXFunc endDocument; > startElementSAXFunc startElement; > endElementSAXFunc endElement; > referenceSAXFunc reference; > charactersSAXFunc characters; > ignorableWhitespaceSAXFunc ignorableWhitespace; > processingInstructionSAXFunc processingInstruction; > commentSAXFunc comment; > warningSAXFunc warning; > errorSAXFunc error; > fatalErrorSAXFunc fatalError; > getParameterEntitySAXFunc getParameterEntity; > cdataBlockSAXFunc cdataBlock; > externalSubsetSAXFunc externalSubset; > unsigned int initialized; >}; ># 788 "/usr/include/libxml2/libxml/parser.h" >typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL, > const char *ID, > xmlParserCtxtPtr context); > > >} > > ># 1 "/usr/include/libxml2/libxml/encoding.h" 1 ># 28 "/usr/include/libxml2/libxml/encoding.h" ># 1 "/usr/include/iconv.h" 1 3 4 ># 24 "/usr/include/iconv.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.4/include/stddef.h" 1 3 4 ># 25 "/usr/include/iconv.h" 2 3 4 > > >extern "C" { > > >typedef void *iconv_t; > > > > > > > >extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode); > > > > >extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > size_t *__restrict __inbytesleft, > char **__restrict __outbuf, > size_t *__restrict __outbytesleft); > > > > > >extern int iconv_close (iconv_t __cd); > >} ># 29 "/usr/include/libxml2/libxml/encoding.h" 2 > > >extern "C" { ># 55 "/usr/include/libxml2/libxml/encoding.h" >typedef enum { > XML_CHAR_ENCODING_ERROR= -1, > XML_CHAR_ENCODING_NONE= 0, > XML_CHAR_ENCODING_UTF8= 1, > XML_CHAR_ENCODING_UTF16LE= 2, > XML_CHAR_ENCODING_UTF16BE= 3, > XML_CHAR_ENCODING_UCS4LE= 4, > XML_CHAR_ENCODING_UCS4BE= 5, > XML_CHAR_ENCODING_EBCDIC= 6, > XML_CHAR_ENCODING_UCS4_2143=7, > XML_CHAR_ENCODING_UCS4_3412=8, > XML_CHAR_ENCODING_UCS2= 9, > XML_CHAR_ENCODING_8859_1= 10, > XML_CHAR_ENCODING_8859_2= 11, > XML_CHAR_ENCODING_8859_3= 12, > XML_CHAR_ENCODING_8859_4= 13, > XML_CHAR_ENCODING_8859_5= 14, > XML_CHAR_ENCODING_8859_6= 15, > XML_CHAR_ENCODING_8859_7= 16, > XML_CHAR_ENCODING_8859_8= 17, > XML_CHAR_ENCODING_8859_9= 18, > XML_CHAR_ENCODING_2022_JP= 19, > XML_CHAR_ENCODING_SHIFT_JIS=20, > XML_CHAR_ENCODING_EUC_JP= 21, > XML_CHAR_ENCODING_ASCII= 22 >} xmlCharEncoding; ># 98 "/usr/include/libxml2/libxml/encoding.h" >typedef int (* xmlCharEncodingInputFunc)(unsigned char *out, int *outlen, > const unsigned char *in, int *inlen); ># 120 "/usr/include/libxml2/libxml/encoding.h" >typedef int (* xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen, > const unsigned char *in, int *inlen); > > > > > > > >typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler; >typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr; >struct _xmlCharEncodingHandler { > char *name; > xmlCharEncodingInputFunc input; > xmlCharEncodingOutputFunc output; > > iconv_t iconv_in; > iconv_t iconv_out; > >}; > > >} > > > >extern "C" { > > > > > > void > xmlInitCharEncodingHandlers (void); > void > xmlCleanupCharEncodingHandlers (void); > void > xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler); > xmlCharEncodingHandlerPtr > xmlGetCharEncodingHandler (xmlCharEncoding enc); > xmlCharEncodingHandlerPtr > xmlFindCharEncodingHandler (const char *name); > xmlCharEncodingHandlerPtr > xmlNewCharEncodingHandler (const char *name, > xmlCharEncodingInputFunc input, > xmlCharEncodingOutputFunc output); > > > > > int > xmlAddEncodingAlias (const char *name, > const char *alias); > int > xmlDelEncodingAlias (const char *alias); > const char * > xmlGetEncodingAlias (const char *alias); > void > xmlCleanupEncodingAliases (void); > xmlCharEncoding > xmlParseCharEncoding (const char *name); > const char * > xmlGetCharEncodingName (xmlCharEncoding enc); > > > > > xmlCharEncoding > xmlDetectCharEncoding (const unsigned char *in, > int len); > > int > xmlCharEncOutFunc (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); > > int > xmlCharEncInFunc (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); > int > xmlCharEncFirstLine (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); > int > xmlCharEncCloseFunc (xmlCharEncodingHandler *handler); > > > > > int > UTF8Toisolat1 (unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen); > int > isolat1ToUTF8 (unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen); > >} ># 797 "/usr/include/libxml2/libxml/parser.h" 2 ># 1 "/usr/include/libxml2/libxml/xmlIO.h" 1 ># 17 "/usr/include/libxml2/libxml/xmlIO.h" >extern "C" { ># 34 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlInputMatchCallback) (char const *filename); ># 43 "/usr/include/libxml2/libxml/xmlIO.h" >typedef void * (*xmlInputOpenCallback) (char const *filename); ># 54 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlInputReadCallback) (void * context, char * buffer, int len); ># 63 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlInputCloseCallback) (void * context); ># 80 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlOutputMatchCallback) (char const *filename); ># 89 "/usr/include/libxml2/libxml/xmlIO.h" >typedef void * (*xmlOutputOpenCallback) (char const *filename); ># 100 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlOutputWriteCallback) (void * context, const char * buffer, > int len); ># 110 "/usr/include/libxml2/libxml/xmlIO.h" >typedef int (*xmlOutputCloseCallback) (void * context); > > > >} > > ># 1 "/usr/include/libxml2/libxml/globals.h" 1 ># 118 "/usr/include/libxml2/libxml/xmlIO.h" 2 > > > > > >extern "C" { > >struct _xmlParserInputBuffer { > void* context; > xmlInputReadCallback readcallback; > xmlInputCloseCallback closecallback; > > xmlCharEncodingHandlerPtr encoder; > > xmlBufferPtr buffer; > xmlBufferPtr raw; > int compressed; > int error; > unsigned long rawconsumed; >}; > > > >struct _xmlOutputBuffer { > void* context; > xmlOutputWriteCallback writecallback; > xmlOutputCloseCallback closecallback; > > xmlCharEncodingHandlerPtr encoder; > > xmlBufferPtr buffer; > xmlBufferPtr conv; > int written; > int error; >}; > > > > > > void > xmlCleanupInputCallbacks (void); > > int > xmlPopInputCallbacks (void); > > void > xmlRegisterDefaultInputCallbacks (void); > xmlParserInputBufferPtr > xmlAllocParserInputBuffer (xmlCharEncoding enc); > > xmlParserInputBufferPtr > xmlParserInputBufferCreateFilename (const char *URI, > xmlCharEncoding enc); > xmlParserInputBufferPtr > xmlParserInputBufferCreateFile (FILE *file, > xmlCharEncoding enc); > xmlParserInputBufferPtr > xmlParserInputBufferCreateFd (int fd, > xmlCharEncoding enc); > xmlParserInputBufferPtr > xmlParserInputBufferCreateMem (const char *mem, int size, > xmlCharEncoding enc); > xmlParserInputBufferPtr > xmlParserInputBufferCreateStatic (const char *mem, int size, > xmlCharEncoding enc); > xmlParserInputBufferPtr > xmlParserInputBufferCreateIO (xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > xmlCharEncoding enc); > int > xmlParserInputBufferRead (xmlParserInputBufferPtr in, > int len); > int > xmlParserInputBufferGrow (xmlParserInputBufferPtr in, > int len); > int > xmlParserInputBufferPush (xmlParserInputBufferPtr in, > int len, > const char *buf); > void > xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); > char * > xmlParserGetDirectory (const char *filename); > > int > xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, > xmlInputOpenCallback openFunc, > xmlInputReadCallback readFunc, > xmlInputCloseCallback closeFunc); > >xmlParserInputBufferPtr > __xmlParserInputBufferCreateFilename(const char *URI, > xmlCharEncoding enc); > > > > > > void > xmlCleanupOutputCallbacks (void); > void > xmlRegisterDefaultOutputCallbacks(void); > xmlOutputBufferPtr > xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); > > xmlOutputBufferPtr > xmlOutputBufferCreateFilename (const char *URI, > xmlCharEncodingHandlerPtr encoder, > int compression); > > xmlOutputBufferPtr > xmlOutputBufferCreateFile (FILE *file, > xmlCharEncodingHandlerPtr encoder); > > xmlOutputBufferPtr > xmlOutputBufferCreateFd (int fd, > xmlCharEncodingHandlerPtr encoder); > > xmlOutputBufferPtr > xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite, > xmlOutputCloseCallback ioclose, > void *ioctx, > xmlCharEncodingHandlerPtr encoder); > > int > xmlOutputBufferWrite (xmlOutputBufferPtr out, > int len, > const char *buf); > int > xmlOutputBufferWriteString (xmlOutputBufferPtr out, > const char *str); > int > xmlOutputBufferWriteEscape (xmlOutputBufferPtr out, > const xmlChar *str, > xmlCharEncodingOutputFunc escaping); > > int > xmlOutputBufferFlush (xmlOutputBufferPtr out); > int > xmlOutputBufferClose (xmlOutputBufferPtr out); > > int > xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc, > xmlOutputOpenCallback openFunc, > xmlOutputWriteCallback writeFunc, > xmlOutputCloseCallback closeFunc); > >xmlOutputBufferPtr > __xmlOutputBufferCreateFilename(const char *URI, > xmlCharEncodingHandlerPtr encoder, > int compression); > > > > > void * > xmlIOHTTPOpenW (const char * post_uri, > int compression ); > void > xmlRegisterHTTPPostCallbacks (void ); > > xmlParserInputPtr > xmlCheckHTTPInput (xmlParserCtxtPtr ctxt, > xmlParserInputPtr ret); > > > > > xmlParserInputPtr > xmlNoNetExternalEntityLoader (const char *URL, > const char *ID, > xmlParserCtxtPtr ctxt); > > > > > > xmlChar * > xmlNormalizeWindowsPath (const xmlChar *path); > > int > xmlCheckFilename (const char *path); > > > > int > xmlFileMatch (const char *filename); > void * > xmlFileOpen (const char *filename); > int > xmlFileRead (void * context, > char * buffer, > int len); > int > xmlFileClose (void * context); > > > > > > int > xmlIOHTTPMatch (const char *filename); > void * > xmlIOHTTPOpen (const char *filename); > int > xmlIOHTTPRead (void * context, > char * buffer, > int len); > int > xmlIOHTTPClose (void * context); > > > > > > > int > xmlIOFTPMatch (const char *filename); > void * > xmlIOFTPOpen (const char *filename); > int > xmlIOFTPRead (void * context, > char * buffer, > int len); > int > xmlIOFTPClose (void * context); > > > >} ># 798 "/usr/include/libxml2/libxml/parser.h" 2 > > > >extern "C" { > > > > > > > void > xmlInitParser (void); > void > xmlCleanupParser (void); > > > > > int > xmlParserInputRead (xmlParserInputPtr in, > int len); > int > xmlParserInputGrow (xmlParserInputPtr in, > int len); > > > > > xmlDocPtr > xmlParseDoc (xmlChar *cur); > xmlDocPtr > xmlParseMemory (const char *buffer, > int size); > xmlDocPtr > xmlParseFile (const char *filename); > int > xmlSubstituteEntitiesDefault(int val); > int > xmlKeepBlanksDefault (int val); > void > xmlStopParser (xmlParserCtxtPtr ctxt); > int > xmlPedanticParserDefault(int val); > int > xmlLineNumbersDefault (int val); > > > > > xmlDocPtr > xmlRecoverDoc (xmlChar *cur); > xmlDocPtr > xmlRecoverMemory (const char *buffer, > int size); > xmlDocPtr > xmlRecoverFile (const char *filename); > > > > > int > xmlParseDocument (xmlParserCtxtPtr ctxt); > int > xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt); > xmlDocPtr > xmlSAXParseDoc (xmlSAXHandlerPtr sax, > xmlChar *cur, > int recovery); > int > xmlSAXUserParseFile (xmlSAXHandlerPtr sax, > void *user_data, > const char *filename); > int > xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, > void *user_data, > const char *buffer, > int size); > xmlDocPtr > xmlSAXParseMemory (xmlSAXHandlerPtr sax, > const char *buffer, > int size, > int recovery); > xmlDocPtr > xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax, > const char *buffer, > int size, > int recovery, > void *data); > xmlDocPtr > xmlSAXParseFile (xmlSAXHandlerPtr sax, > const char *filename, > int recovery); > xmlDocPtr > xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, > const char *filename, > int recovery, > void *data); > xmlDocPtr > xmlSAXParseEntity (xmlSAXHandlerPtr sax, > const char *filename); > xmlDocPtr > xmlParseEntity (const char *filename); > xmlDtdPtr > xmlParseDTD (const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlDtdPtr > xmlSAXParseDTD (xmlSAXHandlerPtr sax, > const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlDtdPtr > xmlIOParseDTD (xmlSAXHandlerPtr sax, > xmlParserInputBufferPtr input, > xmlCharEncoding enc); > int > xmlParseBalancedChunkMemory(xmlDocPtr doc, > xmlSAXHandlerPtr sax, > void *user_data, > int depth, > const xmlChar *string, > xmlNodePtr *lst); > xmlParserErrors > xmlParseInNodeContext (xmlNodePtr node, > const char *data, > int datalen, > int options, > xmlNodePtr *lst); > int > xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc, > xmlSAXHandlerPtr sax, > void *user_data, > int depth, > const xmlChar *string, > xmlNodePtr *lst, > int recover); > int > xmlParseExternalEntity (xmlDocPtr doc, > xmlSAXHandlerPtr sax, > void *user_data, > int depth, > const xmlChar *URL, > const xmlChar *ID, > xmlNodePtr *lst); > int > xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, > const xmlChar *URL, > const xmlChar *ID, > xmlNodePtr *lst); > > > > > xmlParserCtxtPtr > xmlNewParserCtxt (void); > int > xmlInitParserCtxt (xmlParserCtxtPtr ctxt); > void > xmlClearParserCtxt (xmlParserCtxtPtr ctxt); > void > xmlFreeParserCtxt (xmlParserCtxtPtr ctxt); > void > xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt, > const xmlChar* buffer, > const char *filename); > xmlParserCtxtPtr > xmlCreateDocParserCtxt (const xmlChar *cur); > > > > > > int > xmlGetFeaturesList (int *len, > const char **result); > int > xmlGetFeature (xmlParserCtxtPtr ctxt, > const char *name, > void *result); > int > xmlSetFeature (xmlParserCtxtPtr ctxt, > const char *name, > void *value); > > > > > > xmlParserCtxtPtr > xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, > void *user_data, > const char *chunk, > int size, > const char *filename); > int > xmlParseChunk (xmlParserCtxtPtr ctxt, > const char *chunk, > int size, > int terminate); > > > > > > > xmlParserCtxtPtr > xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, > void *user_data, > xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > xmlCharEncoding enc); > > xmlParserInputPtr > xmlNewIOInputStream (xmlParserCtxtPtr ctxt, > xmlParserInputBufferPtr input, > xmlCharEncoding enc); > > > > > const xmlParserNodeInfo* > xmlParserFindNodeInfo (const xmlParserCtxtPtr ctxt, > const xmlNodePtr node); > void > xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); > void > xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); > unsigned long > xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq, > const xmlNodePtr node); > void > xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt, > const xmlParserNodeInfoPtr info); > > > > > > void > xmlSetExternalEntityLoader(xmlExternalEntityLoader f); > xmlExternalEntityLoader > xmlGetExternalEntityLoader(void); > xmlParserInputPtr > xmlLoadExternalEntity (const char *URL, > const char *ID, > xmlParserCtxtPtr ctxt); > > > > > long > xmlByteConsumed (xmlParserCtxtPtr ctxt); ># 1059 "/usr/include/libxml2/libxml/parser.h" >typedef enum { > XML_PARSE_RECOVER = 1<<0, > XML_PARSE_NOENT = 1<<1, > XML_PARSE_DTDLOAD = 1<<2, > XML_PARSE_DTDATTR = 1<<3, > XML_PARSE_DTDVALID = 1<<4, > XML_PARSE_NOERROR = 1<<5, > XML_PARSE_NOWARNING = 1<<6, > XML_PARSE_PEDANTIC = 1<<7, > XML_PARSE_NOBLANKS = 1<<8, > XML_PARSE_SAX1 = 1<<9, > XML_PARSE_XINCLUDE = 1<<10, > XML_PARSE_NONET = 1<<11, > XML_PARSE_NODICT = 1<<12, > XML_PARSE_NSCLEAN = 1<<13, > XML_PARSE_NOCDATA = 1<<14, > XML_PARSE_NOXINCNODE= 1<<15 >} xmlParserOption; > > void > xmlCtxtReset (xmlParserCtxtPtr ctxt); > int > xmlCtxtResetPush (xmlParserCtxtPtr ctxt, > const char *chunk, > int size, > const char *filename, > const char *encoding); > int > xmlCtxtUseOptions (xmlParserCtxtPtr ctxt, > int options); > xmlDocPtr > xmlReadDoc (const xmlChar *cur, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlReadFile (const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlReadMemory (const char *buffer, > int size, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlReadFd (int fd, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlReadIO (xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlCtxtReadDoc (xmlParserCtxtPtr ctxt, > const xmlChar *cur, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlCtxtReadFile (xmlParserCtxtPtr ctxt, > const char *filename, > const char *encoding, > int options); > xmlDocPtr > xmlCtxtReadMemory (xmlParserCtxtPtr ctxt, > const char *buffer, > int size, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlCtxtReadFd (xmlParserCtxtPtr ctxt, > int fd, > const char *URL, > const char *encoding, > int options); > xmlDocPtr > xmlCtxtReadIO (xmlParserCtxtPtr ctxt, > xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > const char *URL, > const char *encoding, > int options); > > >} ># 19 "/usr/include/libxml2/libxml/globals.h" 2 ># 1 "/usr/include/libxml2/libxml/xmlerror.h" 1 ># 20 "/usr/include/libxml2/libxml/globals.h" 2 ># 1 "/usr/include/libxml2/libxml/SAX.h" 1 ># 19 "/usr/include/libxml2/libxml/SAX.h" ># 1 "/usr/include/libxml2/libxml/xlink.h" 1 ># 17 "/usr/include/libxml2/libxml/xlink.h" >extern "C" { ># 29 "/usr/include/libxml2/libxml/xlink.h" >typedef xmlChar *xlinkHRef; >typedef xmlChar *xlinkRole; >typedef xmlChar *xlinkTitle; > >typedef enum { > XLINK_TYPE_NONE = 0, > XLINK_TYPE_SIMPLE, > XLINK_TYPE_EXTENDED, > XLINK_TYPE_EXTENDED_SET >} xlinkType; > >typedef enum { > XLINK_SHOW_NONE = 0, > XLINK_SHOW_NEW, > XLINK_SHOW_EMBED, > XLINK_SHOW_REPLACE >} xlinkShow; > >typedef enum { > XLINK_ACTUATE_NONE = 0, > XLINK_ACTUATE_AUTO, > XLINK_ACTUATE_ONREQUEST >} xlinkActuate; ># 61 "/usr/include/libxml2/libxml/xlink.h" >typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node); ># 78 "/usr/include/libxml2/libxml/xlink.h" >typedef void >(*xlinkSimpleLinkFunk) (void *ctx, > xmlNodePtr node, > const xlinkHRef href, > const xlinkRole role, > const xlinkTitle title); ># 103 "/usr/include/libxml2/libxml/xlink.h" >typedef void >(*xlinkExtendedLinkFunk)(void *ctx, > xmlNodePtr node, > int nbLocators, > const xlinkHRef *hrefs, > const xlinkRole *roles, > int nbArcs, > const xlinkRole *from, > const xlinkRole *to, > xlinkShow *show, > xlinkActuate *actuate, > int nbTitles, > const xlinkTitle *titles, > const xmlChar **langs); ># 131 "/usr/include/libxml2/libxml/xlink.h" >typedef void >(*xlinkExtendedLinkSetFunk) (void *ctx, > xmlNodePtr node, > int nbLocators, > const xlinkHRef *hrefs, > const xlinkRole *roles, > int nbTitles, > const xlinkTitle *titles, > const xmlChar **langs); > > > > > > > >typedef struct _xlinkHandler xlinkHandler; >typedef xlinkHandler *xlinkHandlerPtr; >struct _xlinkHandler { > xlinkSimpleLinkFunk simple; > xlinkExtendedLinkFunk extended; > xlinkExtendedLinkSetFunk set; >}; > > > > > > > xlinkNodeDetectFunc > xlinkGetDefaultDetect (void); > void > xlinkSetDefaultDetect (xlinkNodeDetectFunc func); > > > > > xlinkHandlerPtr > xlinkGetDefaultHandler (void); > void > xlinkSetDefaultHandler (xlinkHandlerPtr handler); > > > > > xlinkType > xlinkIsLink (xmlDocPtr doc, > xmlNodePtr node); > > >} ># 20 "/usr/include/libxml2/libxml/SAX.h" 2 > > > > >extern "C" { > > const xmlChar * > getPublicId (void *ctx); > const xmlChar * > getSystemId (void *ctx); > void > setDocumentLocator (void *ctx, > xmlSAXLocatorPtr loc); > > int > getLineNumber (void *ctx); > int > getColumnNumber (void *ctx); > > int > isStandalone (void *ctx); > int > hasInternalSubset (void *ctx); > int > hasExternalSubset (void *ctx); > > void > internalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > void > externalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlEntityPtr > getEntity (void *ctx, > const xmlChar *name); > xmlEntityPtr > getParameterEntity (void *ctx, > const xmlChar *name); > xmlParserInputPtr > resolveEntity (void *ctx, > const xmlChar *publicId, > const xmlChar *systemId); > > void > entityDecl (void *ctx, > const xmlChar *name, > int type, > const xmlChar *publicId, > const xmlChar *systemId, > xmlChar *content); > void > attributeDecl (void *ctx, > const xmlChar *elem, > const xmlChar *fullname, > int type, > int def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); > void > elementDecl (void *ctx, > const xmlChar *name, > int type, > xmlElementContentPtr content); > void > notationDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId); > void > unparsedEntityDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId, > const xmlChar *notationName); > > void > startDocument (void *ctx); > void > endDocument (void *ctx); > void > attribute (void *ctx, > const xmlChar *fullname, > const xmlChar *value); > void > startElement (void *ctx, > const xmlChar *fullname, > const xmlChar **atts); > void > endElement (void *ctx, > const xmlChar *name); > void > reference (void *ctx, > const xmlChar *name); > void > characters (void *ctx, > const xmlChar *ch, > int len); > void > ignorableWhitespace (void *ctx, > const xmlChar *ch, > int len); > void > processingInstruction (void *ctx, > const xmlChar *target, > const xmlChar *data); > void > globalNamespace (void *ctx, > const xmlChar *href, > const xmlChar *prefix); > void > setNamespace (void *ctx, > const xmlChar *name); > xmlNsPtr > getNamespace (void *ctx); > int > checkNamespace (void *ctx, > xmlChar *nameSpace); > void > namespaceDecl (void *ctx, > const xmlChar *href, > const xmlChar *prefix); > void > comment (void *ctx, > const xmlChar *value); > void > cdataBlock (void *ctx, > const xmlChar *value, > int len); > > void > initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr, > int warning); > > void > inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr); > > > void > initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr); > > >} ># 21 "/usr/include/libxml2/libxml/globals.h" 2 ># 1 "/usr/include/libxml2/libxml/SAX2.h" 1 ># 22 "/usr/include/libxml2/libxml/SAX2.h" >extern "C" { > > const xmlChar * > xmlSAX2GetPublicId (void *ctx); > const xmlChar * > xmlSAX2GetSystemId (void *ctx); > void > xmlSAX2SetDocumentLocator (void *ctx, > xmlSAXLocatorPtr loc); > > int > xmlSAX2GetLineNumber (void *ctx); > int > xmlSAX2GetColumnNumber (void *ctx); > > int > xmlSAX2IsStandalone (void *ctx); > int > xmlSAX2HasInternalSubset (void *ctx); > int > xmlSAX2HasExternalSubset (void *ctx); > > void > xmlSAX2InternalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > void > xmlSAX2ExternalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); > xmlEntityPtr > xmlSAX2GetEntity (void *ctx, > const xmlChar *name); > xmlEntityPtr > xmlSAX2GetParameterEntity (void *ctx, > const xmlChar *name); > xmlParserInputPtr > xmlSAX2ResolveEntity (void *ctx, > const xmlChar *publicId, > const xmlChar *systemId); > > void > xmlSAX2EntityDecl (void *ctx, > const xmlChar *name, > int type, > const xmlChar *publicId, > const xmlChar *systemId, > xmlChar *content); > void > xmlSAX2AttributeDecl (void *ctx, > const xmlChar *elem, > const xmlChar *fullname, > int type, > int def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); > void > xmlSAX2ElementDecl (void *ctx, > const xmlChar *name, > int type, > xmlElementContentPtr content); > void > xmlSAX2NotationDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId); > void > xmlSAX2UnparsedEntityDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId, > const xmlChar *notationName); > > void > xmlSAX2StartDocument (void *ctx); > void > xmlSAX2EndDocument (void *ctx); > void > xmlSAX2StartElement (void *ctx, > const xmlChar *fullname, > const xmlChar **atts); > void > xmlSAX2EndElement (void *ctx, > const xmlChar *name); > void > xmlSAX2StartElementNs (void *ctx, > const xmlChar *localname, > const xmlChar *prefix, > const xmlChar *URI, > int nb_namespaces, > const xmlChar **namespaces, > int nb_attributes, > int nb_defaulted, > const xmlChar **attributes); > void > xmlSAX2EndElementNs (void *ctx, > const xmlChar *localname, > const xmlChar *prefix, > const xmlChar *URI); > void > xmlSAX2Reference (void *ctx, > const xmlChar *name); > void > xmlSAX2Characters (void *ctx, > const xmlChar *ch, > int len); > void > xmlSAX2IgnorableWhitespace (void *ctx, > const xmlChar *ch, > int len); > void > xmlSAX2ProcessingInstruction (void *ctx, > const xmlChar *target, > const xmlChar *data); > void > xmlSAX2Comment (void *ctx, > const xmlChar *value); > void > xmlSAX2CDataBlock (void *ctx, > const xmlChar *value, > int len); > > int > xmlSAXDefaultVersion (int version); > > int > xmlSAXVersion (xmlSAXHandler *hdlr, > int version); > void > xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr, > int warning); > > void > xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr); > > > void > xmlSAX2InitDocbDefaultSAXHandler(xmlSAXHandler *hdlr); > > void > xmlDefaultSAXHandlerInit (void); > void > htmlDefaultSAXHandlerInit (void); > void > docbDefaultSAXHandlerInit (void); > >} ># 22 "/usr/include/libxml2/libxml/globals.h" 2 ># 1 "/usr/include/libxml2/libxml/xmlmemory.h" 1 ># 23 "/usr/include/libxml2/libxml/globals.h" 2 > > >extern "C" { > > > void xmlInitGlobals(void); > void xmlCleanupGlobals(void); > >typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc); >typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression); > xmlParserInputBufferCreateFilenameFunc > xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); > xmlOutputBufferCreateFilenameFunc > xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func); ># 76 "/usr/include/libxml2/libxml/globals.h" >typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node); >typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node); > >typedef struct _xmlGlobalState xmlGlobalState; >typedef xmlGlobalState *xmlGlobalStatePtr; >struct _xmlGlobalState >{ > const char *xmlParserVersion; > > xmlSAXLocator xmlDefaultSAXLocator; > xmlSAXHandlerV1 xmlDefaultSAXHandler; > xmlSAXHandlerV1 docbDefaultSAXHandler; > xmlSAXHandlerV1 htmlDefaultSAXHandler; > > xmlFreeFunc xmlFree; > xmlMallocFunc xmlMalloc; > xmlStrdupFunc xmlMemStrdup; > xmlReallocFunc xmlRealloc; > > xmlGenericErrorFunc xmlGenericError; > xmlStructuredErrorFunc xmlStructuredError; > void *xmlGenericErrorContext; > > int oldXMLWDcompatibility; > > xmlBufferAllocationScheme xmlBufferAllocScheme; > int xmlDefaultBufferSize; > > int xmlSubstituteEntitiesDefaultValue; > int xmlDoValidityCheckingDefaultValue; > int xmlGetWarningsDefaultValue; > int xmlKeepBlanksDefaultValue; > int xmlLineNumbersDefaultValue; > int xmlLoadExtDtdDefaultValue; > int xmlParserDebugEntities; > int xmlPedanticParserDefaultValue; > > int xmlSaveNoEmptyTags; > int xmlIndentTreeOutput; > const char *xmlTreeIndentString; > > xmlRegisterNodeFunc xmlRegisterNodeDefaultValue; > xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue; > > xmlMallocFunc xmlMallocAtomic; > xmlError xmlLastError; > > xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue; > xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue; >}; > > >} > ># 1 "/usr/include/libxml2/libxml/threads.h" 1 ># 131 "/usr/include/libxml2/libxml/globals.h" 2 > >extern "C" { > > > void xmlInitializeGlobalState(xmlGlobalStatePtr gs); > > void xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler); > > void xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler); > > xmlRegisterNodeFunc xmlRegisterNodeDefault(xmlRegisterNodeFunc func); > xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func); > xmlDeregisterNodeFunc xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func); > xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func); > > xmlOutputBufferCreateFilenameFunc > xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func); > xmlParserInputBufferCreateFilenameFunc > xmlThrDefParserInputBufferCreateFilenameDefault(xmlParserInputBufferCreateFilenameFunc func); ># 204 "/usr/include/libxml2/libxml/globals.h" >extern xmlMallocFunc xmlMalloc; >extern xmlMallocFunc xmlMallocAtomic; >extern xmlReallocFunc xmlRealloc; >extern xmlFreeFunc xmlFree; >extern xmlStrdupFunc xmlMemStrdup; > > > > xmlSAXHandlerV1 * __docbDefaultSAXHandler(void); ># 222 "/usr/include/libxml2/libxml/globals.h" > xmlSAXHandlerV1 * __htmlDefaultSAXHandler(void); ># 231 "/usr/include/libxml2/libxml/globals.h" > xmlError * __xmlLastError(void); ># 246 "/usr/include/libxml2/libxml/globals.h" > int * __oldXMLWDcompatibility(void); > > > > > > > > xmlBufferAllocationScheme * __xmlBufferAllocScheme(void); > > > > > > > xmlBufferAllocationScheme xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v); > > int * __xmlDefaultBufferSize(void); > > > > > > > int xmlThrDefDefaultBufferSize(int v); > > xmlSAXHandlerV1 * __xmlDefaultSAXHandler(void); > > > > > > > > xmlSAXLocator * __xmlDefaultSAXLocator(void); > > > > > > > > int * __xmlDoValidityCheckingDefaultValue(void); > > > > > > > int xmlThrDefDoValidityCheckingDefaultValue(int v); > > xmlGenericErrorFunc * __xmlGenericError(void); > > > > > > > > xmlStructuredErrorFunc * __xmlStructuredError(void); > > > > > > > > void * * __xmlGenericErrorContext(void); > > > > > > > > int * __xmlGetWarningsDefaultValue(void); > > > > > > > int xmlThrDefGetWarningsDefaultValue(int v); > > int * __xmlIndentTreeOutput(void); > > > > > > > int xmlThrDefIndentTreeOutput(int v); > > const char * * __xmlTreeIndentString(void); > > > > > > > const char * xmlThrDefTreeIndentString(const char * v); > > int * __xmlKeepBlanksDefaultValue(void); > > > > > > > int xmlThrDefKeepBlanksDefaultValue(int v); > > int * __xmlLineNumbersDefaultValue(void); > > > > > > > int xmlThrDefLineNumbersDefaultValue(int v); > > int * __xmlLoadExtDtdDefaultValue(void); > > > > > > > int xmlThrDefLoadExtDtdDefaultValue(int v); > > int * __xmlParserDebugEntities(void); > > > > > > > int xmlThrDefParserDebugEntities(int v); > > const char * * __xmlParserVersion(void); > > > > > > > > int * __xmlPedanticParserDefaultValue(void); > > > > > > > int xmlThrDefPedanticParserDefaultValue(int v); > > int * __xmlSaveNoEmptyTags(void); > > > > > > > int xmlThrDefSaveNoEmptyTags(int v); > > int * __xmlSubstituteEntitiesDefaultValue(void); > > > > > > > int xmlThrDefSubstituteEntitiesDefaultValue(int v); > > xmlRegisterNodeFunc * __xmlRegisterNodeDefaultValue(void); > > > > > > > > xmlDeregisterNodeFunc * __xmlDeregisterNodeDefaultValue(void); > > > > > > > > xmlParserInputBufferCreateFilenameFunc * __xmlParserInputBufferCreateFilenameValue(void); > > > > > > > > xmlOutputBufferCreateFilenameFunc * __xmlOutputBufferCreateFilenameValue(void); ># 452 "/usr/include/libxml2/libxml/globals.h" >} ># 36 "/usr/include/libxml2/libxml/threads.h" 2 > >extern "C" { > > > xmlMutexPtr > xmlNewMutex (void); > void > xmlMutexLock (xmlMutexPtr tok); > void > xmlMutexUnlock (xmlMutexPtr tok); > void > xmlFreeMutex (xmlMutexPtr tok); > > xmlRMutexPtr > xmlNewRMutex (void); > void > xmlRMutexLock (xmlRMutexPtr tok); > void > xmlRMutexUnlock (xmlRMutexPtr tok); > void > xmlFreeRMutex (xmlRMutexPtr tok); > > > > > void > xmlInitThreads (void); > void > xmlLockLibrary (void); > void > xmlUnlockLibrary(void); > int > xmlGetThreadId (void); > int > xmlIsMainThread (void); > void > xmlCleanupThreads(void); > xmlGlobalStatePtr > xmlGetGlobalState(void); > > >} ># 215 "/usr/include/libxml2/libxml/xmlmemory.h" 2 ># 33 "playlist.h" 2 > > > > >class Frame; >class FileHandler; > > > > >class PlayList >{ >public: > PlayList(); > PlayList(const PlayList&); > PlayList& operator=(const PlayList&); > ~PlayList(); > > int GetNumFrames() const; > char* GetFileNameOfFrame(int frameNum) const; > bool GetFrame(int frameNum, Frame &frame); > bool GetMediaObject(int frameNum, FileHandler **media); > int GetClipBegin(int frameNum) const; > int GetClipEnd(int frameNum) const; > bool SetClipBegin(int frameNum, const char* value); > bool SetClipEnd(int frameNum, const char* value); > int FindStartOfScene(int frameNum) const; > int FindEndOfScene(int frameNum) const; > void AutoSplit(int first, int last); > bool SplitSceneBefore(int frameNum); > bool JoinScenesAt(int frameNum); > bool GetPlayList(int first, int last, PlayList &playlist) const; > bool InsertPlayList(PlayList &playlist, int before); > bool Delete(int first, int last); > bool LoadMediaObject(char *filename); > bool LoadPlayList(char *filename); > bool SavePlayList(char *filename); > bool SavePlayListEli(char *filename, bool isPAL); > void CleanPlayList(xmlNodePtr node); > void CleanPlayList( ); > bool IsFileUsed( string filename ) const; > bool IsDirty( ) const; > void SetDirty( bool value ); > string GetDocName( ) const; > void GetLastCleanPlayList( PlayList &playlist ); > void SetDocName( string ); > string GetProjectDirectory( ); >protected: > bool dirty; >private: > void RefreshCount(); > string doc_name; > xmlDocPtr doc; > int count; >}; > > > > >class directory_utils >{ > public: > static string join_file_to_directory( const string directory, const string &file ); > static string get_directory_from_file( const string &file ); > static string get_absolute_path_to_file( const string &directory, const string &file ); > static string get_relative_path_to_file( const string &directory, const string &file ); > static string expand_directory( const string directory ); >}; > > > > >class EditorBackup { > private: > int maxUndos; > int position; > vector <PlayList *> backups; > public: > EditorBackup(); > ~EditorBackup(); > void Store( PlayList * ); > void Undo( PlayList * ); > void Redo( PlayList * ); > void SetAllDirty( ); > void Clear( ); >}; > > > > >extern EditorBackup *GetEditorBackup(); > > > > >class FileMap >{ > public: > > virtual map<string, FileHandler*> &GetMap() = 0; > > virtual void Clear() = 0; > > virtual void GetUnusedFxFiles( PlayList &list, vector< string > &unused ) = 0; >}; > > > > >extern FileMap *GetFileMap( ); ># 29 "kino_common.h" 2 ># 1 "frame.h" 1 ># 24 "frame.h" ># 1 "../config.h" 1 ># 25 "frame.h" 2 > > > > >using std::string; > > ># 1 "/usr/include/libdv/dv.h" 1 3 4 ># 41 "/usr/include/libdv/dv.h" 3 4 ># 1 "/usr/include/libdv/dv_types.h" 1 3 4 ># 30 "/usr/include/libdv/dv_types.h" 3 4 ># 1 "../config.h" 1 3 4 ># 31 "/usr/include/libdv/dv_types.h" 2 3 4 ># 137 "/usr/include/libdv/dv_types.h" 3 4 >static const int header_size = 80 * 52; >static const int frame_size_525_60 = 10 * 150 * 80; >static const int frame_size_625_50 = 12 * 150 * 80; > >typedef enum color_space_e { > e_dv_color_yuv, > e_dv_color_rgb, > e_dv_color_bgr0, >} dv_color_space_t; > >typedef enum sample_e { > e_dv_sample_none = 0, > e_dv_sample_411, > e_dv_sample_420, > e_dv_sample_422, >} dv_sample_t; > >typedef enum system_e { > e_dv_system_none = 0, > e_dv_system_525_60, > e_dv_system_625_50, >} dv_system_t; > >typedef enum std_e { > e_dv_std_none = 0, > e_dv_std_smpte_314m, > e_dv_std_iec_61834, >} dv_std_t; > >typedef int16_t dv_coeff_t; >typedef int32_t dv_248_coeff_t; > >typedef struct bitstream_s { > uint32_t current_word; > uint32_t next_word; > uint16_t bits_left; > uint16_t next_bits; > > uint8_t *buf; > uint32_t buflen; > int32_t bufoffset; > > uint32_t (*bitstream_next_buffer) (uint8_t **,void *); > void *priv; > > int32_t bitsread; >} bitstream_t; > >typedef struct { > int8_t sct; > int8_t dsn; > int fsc; > int8_t dbn; >} dv_id_t; > >typedef struct { > int dsf; > int8_t apt; > int tf1; > int8_t ap1; > int tf2; > int8_t ap2; > int tf3; > int8_t ap3; >} dv_header_t; > >typedef struct { > dv_coeff_t coeffs[64] ; > int dct_mode; > int class_no; > int8_t *reorder; > int8_t *reorder_sentinel; > int offset; > int end; > int eob; > int mark; >} dv_block_t; > >typedef struct { > int i,j; > int k; > int x, y; > dv_block_t b[6]; > int qno; > int sta; > int vlc_error; > int eob_count; >} dv_macroblock_t; > >typedef struct { > int i, k; > bitstream_t *bs; > dv_macroblock_t mb[5]; > int isPAL; >} dv_videosegment_t; > >typedef struct { > dv_videosegment_t seg[27]; >} dv_dif_sequence_t; > > >typedef struct { > int placement_done; > dv_dif_sequence_t ds[12]; >} dv_frame_t; ># 260 "/usr/include/libdv/dv_types.h" 3 4 >typedef struct { ># 269 "/usr/include/libdv/dv_types.h" 3 4 > uint8_t lf : 1; > uint8_t : 1; > uint8_t af_size : 6; > > > > >} dv_aaux_as_pc1_t; > >typedef struct { > > > > > > > uint8_t sm : 1; > uint8_t chn : 2; > uint8_t pa : 1; > uint8_t audio_mode: 4; > >} dv_aaux_as_pc2_t; > >typedef struct { > > > > > > > uint8_t :1; > uint8_t ml :1; > uint8_t system :1; > uint8_t stype :5; > >} dv_aaux_as_pc3_t; > >typedef struct { > > > > > > > uint8_t ef :1; > uint8_t tc :1; > uint8_t smp :3; > uint8_t qu :3; > >} dv_aaux_as_pc4_t; > > >typedef struct { > uint8_t pc0; > dv_aaux_as_pc1_t pc1; > dv_aaux_as_pc2_t pc2; > dv_aaux_as_pc3_t pc3; > dv_aaux_as_pc4_t pc4; >} dv_aaux_as_t; > > >typedef struct { ># 339 "/usr/include/libdv/dv_types.h" 3 4 > uint8_t cgms :2; > > uint8_t isr :2; > uint8_t cmp :2; > uint8_t ss :2; > > >} dv_aaux_asc_pc1_t; > >typedef struct { > > > > > > > uint8_t rec_st :1; > uint8_t rec_end :1; > uint8_t rec_mode :3; > uint8_t insert_ch :3; > >} dv_aaux_asc_pc2_t; > >typedef struct { > > > > > uint8_t drf :1; > uint8_t speed :7; > >} dv_aaux_asc_pc3_t; > >typedef struct { > > > > > uint8_t : 1; > uint8_t genre_category: 7; > >} dv_aaux_asc_pc4_t; > > >typedef struct { > uint8_t pc0; > dv_aaux_asc_pc1_t pc1; > dv_aaux_asc_pc2_t pc2; > dv_aaux_asc_pc3_t pc3; > dv_aaux_asc_pc4_t pc4; >} dv_aaux_asc_t; > >typedef struct dv_decoder_s *dv_decoder_tp; > >typedef struct { > dv_aaux_as_t aaux_as; > dv_aaux_asc_t aaux_asc; > int samples_this_frame; > int quantization; > int max_samples; > int frequency; > int num_channels; > int emphasis; > int arg_audio_emphasis; > int arg_audio_frequency; > int arg_audio_quantization; > > > > int correction_method, > block_failure, > sample_failure, > real_samples_this_frame, > fail_samples_this_frame; > FILE *error_log; > dv_decoder_tp dv_decoder; > > > >} dv_audio_t; > >typedef struct { > unsigned int quality; > int arg_block_quality; > int arg_monochrome; > > > > FILE *error_log; > dv_decoder_tp dv_decoder; > > > > >} dv_video_t; > >typedef struct dv_decoder_s { > unsigned int quality; > dv_system_t system; > dv_std_t std; > dv_sample_t sampling; > int num_dif_seqs; > int height, width; > size_t frame_size; > dv_header_t header; > dv_audio_t *audio; > dv_video_t *video; > int arg_video_system; > int add_ntsc_setup; > int clamp_luma; > int clamp_chroma; > int prev_frame_decoded; > > > > > uint8_t vaux_next; > uint8_t vaux_pack [256]; > uint8_t vaux_data [45][4]; > > uint8_t ssyb_next; > uint8_t ssyb_pack [256]; > uint8_t ssyb_data [45][4]; > > > > >} dv_decoder_t; > >typedef struct { > int fd; > int16_t *buffer; > uint8_t *arg_audio_file; > char *arg_audio_device; > > > >} dv_oss_t; > >typedef struct { > int isPAL; > int is16x9; > int vlc_encode_passes; > int static_qno; > int force_dct; > int rem_ntsc_setup; > int clamp_luma; > int clamp_chroma; > int frame_count; > int samples_this_frame; > > short *img_y; > short *img_cr; > short *img_cb; >} dv_encoder_t; ># 42 "/usr/include/libdv/dv.h" 2 3 4 > > > > > > >extern "C" { > > > >extern dv_decoder_t *dv_decoder_new (int add_ntsc_setup, int clamp_luma, > int clamp_chroma); >extern void dv_decoder_free (dv_decoder_t*); >extern void dv_init (int clamp_luma, int clamp_chroma); >extern void dv_reconfigure (int clamp_luma, int clamp_chroma); >extern int dv_parse_header (dv_decoder_t *dv, const uint8_t *buffer); >extern void dv_parse_packs (dv_decoder_t *dv, const uint8_t *buffer); >extern void dv_decode_full_frame(dv_decoder_t *dv, > const uint8_t *buffer, dv_color_space_t color_space, > uint8_t **pixels, int *pitches); >extern int dv_decode_full_audio(dv_decoder_t *dv, > const uint8_t *buffer, int16_t **outbufs); >extern int dv_set_audio_correction (dv_decoder_t *dv, int method); >extern FILE *dv_set_error_log (dv_decoder_t *dv, FILE *errfile); >extern void dv_report_video_error (dv_decoder_t *dv, uint8_t *data); > > >extern int dv_calculate_samples( dv_encoder_t *, int frequency, > int frame_count ); > > > > > > > >extern dv_encoder_t *dv_encoder_new (int rem_ntsc_setup, int clamp_luma, > int clamp_chroma); >extern void dv_encoder_free (dv_encoder_t* dv_enc); >extern int dv_encode_full_frame(dv_encoder_t *dv_enc, uint8_t **in, > dv_color_space_t color_space, uint8_t *out); > >extern int dv_encode_full_audio(dv_encoder_t *dv_enc, int16_t **pcm, > int channels, int frequency, uint8_t *frame); >extern void dv_encode_metadata(uint8_t *target, int isPAL, int is16x9, > time_t *datetime, int frame); >extern void dv_encode_timecode(uint8_t *target, int isPAL, int frame); ># 97 "/usr/include/libdv/dv.h" 3 4 >extern int dv_parse_video_segment(dv_videosegment_t *seg, unsigned int quality); >extern void dv_decode_video_segment(dv_decoder_t *dv, dv_videosegment_t *seg, unsigned int quality); > >extern void dv_render_video_segment_rgb(dv_decoder_t *dv, dv_videosegment_t *seg, > uint8_t **pixels, int *pitches); > >extern void dv_render_video_segment_yuv(dv_decoder_t *dv, dv_videosegment_t *seg, > uint8_t **pixels, int *pitches); > >extern int dv_encode_videosegment( dv_encoder_t *dv_enc, > dv_videosegment_t *videoseg, uint8_t *vsbuffer); > > > > > >extern int dv_frame_changed (dv_decoder_t *dv), > dv_frame_is_color (dv_decoder_t *dv), > dv_system_50_fields (dv_decoder_t *dv), > dv_format_normal (dv_decoder_t *dv), > dv_format_wide (dv_decoder_t *dv), > dv_get_vaux_pack (dv_decoder_t *dv, uint8_t pack_id, uint8_t *pack_data); > > > > > >extern int dv_get_timestamp (dv_decoder_t *dv, char *tstprt), > dv_get_recording_datetime (dv_decoder_t *dv, char *dtptr), > dv_get_timestamp_int (dv_decoder_t *dv, int *timestamp), > dv_get_recording_datetime_tm (dv_decoder_t *dv, struct tm *rec_dt) >; > > >} ># 33 "frame.h" 2 ># 45 "frame.h" >typedef struct Pack >{ > > unsigned char data[5]; >} >Pack; > >typedef struct TimeCode >{ > int hour; > int min; > int sec; > int frame; >} >TimeCode; > > >typedef struct AudioInfo >{ > int frames; > int frequency; > int samples; > int channels; > int quantization; >} >AudioInfo; > > >class VideoInfo >{ >public: > int width; > int height; > bool isPAL; > TimeCode timeCode; > struct tm recDate; > > VideoInfo(); > > > >} >; > > >class Frame >{ >public: > > unsigned char data[144000]; > > int bytesInFrame; > > > > > > > dv_decoder_t *decoder; > > int16_t *audio_buffers[4]; > >public: > Frame(); > ~Frame(); > > bool GetSSYBPack(int packNum, Pack &pack) const; > bool GetVAUXPack(int packNum, Pack &pack) const; > bool GetAAUXPack(int packNum, Pack &pack) const; > bool GetTimeCode(TimeCode &timeCode) const; > bool GetRecordingDate(struct tm &recDate) const; > string GetRecordingDate(void) const; > bool GetAudioInfo(AudioInfo &info) const; > bool GetVideoInfo(VideoInfo &info) const; > int GetFrameSize(void) const; > float GetFrameRate(void) const; > bool IsPAL(void) const; > bool IsNewRecording(void) const; > bool IsComplete(void) const; > int ExtractAudio(void *sound) const; > > void SetPreferredQuality( ); > int ExtractAudio(int16_t **channels) const; > void ExtractHeader(void); > int ExtractRGB(void *rgb); > int ExtractPreviewRGB(void *rgb); > int ExtractYUV(void *yuv); > int ExtractPreviewYUV(void *yuv); > bool IsWide(void) const; > int GetWidth(); > int GetHeight(); > void SetRecordingDate( time_t *datetime, int frame ); > void SetTimeCode( int frame ); > bool EncodeAudio( AudioInfo &info, int16_t **channels ); > > >private: > void GetUpperField( void *image, int bpp ); > void GetLowerField( void *image, int bpp ); > > static bool maps_initialized; > > static int palmap_ch1[2000]; > static int palmap_ch2[2000]; > static int palmap_2ch1[2000]; > static int palmap_2ch2[2000]; > static int ntscmap_ch1[2000]; > static int ntscmap_ch2[2000]; > static int ntscmap_2ch1[2000]; > static int ntscmap_2ch2[2000]; > static short compmap[4096]; >}; > >class AudioResample { > protected: > int output_rate; > int16_t *input; > > public: > AudioResample( int output_rate ); > virtual ~AudioResample(); > virtual void Resample( int16_t *samples, int input_rate, int channels, int samples_this_frame ) { }; > void Resample( Frame &frame ); > void SetOutputFrequency( int output_rate ) { this->output_rate = output_rate; } > int GetOutputFrequency( ) { return this->output_rate; } > > int16_t *output; > int size; >}; > >class FastAudioResample : public AudioResample { > public: > FastAudioResample( ); > FastAudioResample( int output_rate ); > virtual ~FastAudioResample(); > void Resample( int16_t *samples, int input_rate, int channels, int samples_this_frame ); >}; > >class FramePool >{ > public: > virtual Frame *GetFrame( ) = 0; > virtual void DoneWithFrame( Frame * ) = 0; >}; > >extern FramePool *GetFramePool( ); ># 30 "kino_common.h" 2 > ># 1 "filehandler.h" 1 ># 26 "filehandler.h" >using std::vector; > > >using std::string; > > > ># 1 "riff.h" 1 ># 48 "riff.h" >using std::vector; ># 62 "riff.h" >extern "C" >{ > unsigned long make_fourcc(char *s); >} > > >class RIFFDirEntry >{ >public: > unsigned long type; > unsigned long name; > off_t length; > off_t offset; > int parent; > int written; > > RIFFDirEntry(); > RIFFDirEntry(unsigned long t, unsigned long n, int l, int o, int p); >}; > > >class RIFFFile >{ >public: > RIFFFile(); > RIFFFile(const RIFFFile&); > virtual ~RIFFFile(); > RIFFFile& operator=(const RIFFFile&); > > virtual bool Open(const char *s); > virtual bool Create(const char *s); > virtual void Close(); > virtual int AddDirectoryEntry(unsigned long type, unsigned long name, off_t length, int list); > virtual void SetDirectoryEntry(int i, unsigned long type, unsigned long name, off_t length, off_t offset, int list); > virtual void SetDirectoryEntry(int i, RIFFDirEntry &entry); > virtual void GetDirectoryEntry(int i, unsigned long &type, unsigned long &name, off_t &length, off_t &offset, int &list) const; > virtual RIFFDirEntry GetDirectoryEntry(int i) const; > virtual off_t GetFileSize(void) const; > virtual void PrintDirectoryEntry(int i) const; > virtual void PrintDirectoryEntryData(const RIFFDirEntry &entry) const; > virtual void PrintDirectory(void) const; > virtual int FindDirectoryEntry(unsigned long type, int n = 0) const; > virtual void ParseChunk(int parent); > virtual void ParseList(int parent); > virtual void ParseRIFF(void); > virtual void ReadChunk(int chunk_index, void *data); > virtual void WriteChunk(int chunk_index, const void *data); > virtual void WriteRIFF(void); > >protected: > int fd; > >private: > vector<RIFFDirEntry> directory; >}; ># 34 "filehandler.h" 2 ># 1 "avi.h" 1 ># 91 "avi.h" >enum { AVI_PAL, AVI_NTSC, AVI_AUDIO_48KHZ, AVI_AUDIO_44KHZ, AVI_AUDIO_32KHZ }; > > > > > >typedef struct >{ > > signed long dwMicroSecPerFrame; > > > signed long dwMaxBytesPerSec; > > > signed long dwPaddingGranularity; > > > signed long dwFlags; > > > signed long dwTotalFrames; > signed long dwInitialFrames; > signed long dwStreams; > signed long dwSuggestedBufferSize; > > signed long dwWidth; > signed long dwHeight; > > signed long dwReserved[4]; >} >MainAVIHeader; > >typedef struct >{ > signed short top, bottom, left, right; >} >RECT; > > > > > >typedef struct >{ > unsigned long fccType; > unsigned long fccHandler; > signed long dwFlags; > signed short wPriority; > signed short wLanguage; > signed long dwInitialFrames; > signed long dwScale; > signed long dwRate; > signed long dwStart; > signed long dwLength; > signed long dwSuggestedBufferSize; > signed long dwQuality; > signed long dwSampleSize; > RECT rcFrame; >} >AVIStreamHeader; > >typedef struct >{ > signed long dwDVAAuxSrc; > signed long dwDVAAuxCtl; > signed long dwDVAAuxSrc1; > signed long dwDVAAuxCtl1; > signed long dwDVVAuxSrc; > signed long dwDVVAuxCtl; > signed long dwDVReserved[2]; >} >DVINFO; > >typedef struct >{ > signed long biSize; > unsigned long biWidth; > unsigned long biHeight; > signed short biPlanes; > signed short biBitCount; > signed long biCompression; > signed long biSizeImage; > unsigned long biXPelsPerMeter; > unsigned long biYPelsPerMeter; > signed long biClrUsed; > signed long biClrImportant; >} >BITMAPINFOHEADER; > >typedef struct >{ > signed short wFormatTag; > signed short nChannels; > signed long nSamplesPerSec; > signed long nAvgBytesPerSec; > signed short nBlockAlign; > signed short wBitsPerSample; > signed short cbSize; > signed short dummy; >} >WAVEFORMATEX; > >typedef struct >{ > signed short wLongsPerEntry; > unsigned char bIndexSubType; > unsigned char bIndexType; > signed long nEntriesInUse; > signed long dwChunkId; > signed long dwReserved[3]; > struct avisuperindex_entry > { > signed long long qwOffset; > signed long dwSize; > signed long dwDuration; > } > aIndex[2014]; >} >AVISuperIndex; > >typedef struct >{ > signed short wLongsPerEntry; > unsigned char bIndexSubType; > unsigned char bIndexType; > signed long nEntriesInUse; > signed long dwChunkId; > signed long long qwBaseOffset; > signed long dwReserved; > struct avifieldindex_entry > { > signed long dwOffset; > signed long dwSize; > } > aIndex[4028]; >} >AVIStdIndex; > >typedef struct >{ > struct avisimpleindex_entry > { > unsigned long dwChunkId; > signed long dwFlags; > signed long dwOffset; > signed long dwSize; > } > aIndex[20000]; > signed long nEntriesInUse; >} >AVISimpleIndex; > >typedef struct >{ > signed long dirEntryType; > signed long dirEntryName; > signed long dirEntryLength; > size_t dirEntryOffset; > int dirEntryWrittenFlag; > int dirEntryParentList; >} >AviDirEntry; ># 263 "avi.h" >class AVIFile : public RIFFFile >{ >public: > AVIFile(); > AVIFile(const AVIFile&); > virtual ~AVIFile(); > virtual AVIFile& operator=(const AVIFile&); > > virtual void Init(int format, int sampleFrequency, int indexType); > virtual int GetDVFrameInfo(off_t &offset, int &size, int frameNum); > virtual int GetDVFrame(Frame &frame, int frameNum); > virtual int GetTotalFrames() const; > virtual void PrintDirectoryEntryData(const RIFFDirEntry &entry) const; > virtual void WriteFrame(const Frame &frame) { }; > virtual void ParseList(int parent); > virtual void ParseRIFF(void); > virtual void ReadIndex(void); > virtual void WriteRIFF(void) { }; > virtual void FlushIndx(int stream); > virtual void UpdateIndx(int stream, int chunk, int duration); > virtual void UpdateIdx1(int chunk, int flags); > virtual bool verifyStreamFormat( unsigned long type ); > virtual bool verifyStream( unsigned long type ); > virtual bool isOpenDML(void); > virtual void setDVINFO( DVINFO& ) { }; > virtual void setFccHandler( unsigned long type, unsigned long handler ); > >protected: > MainAVIHeader mainHdr; > AVISimpleIndex *idx1; > int file_list; > int riff_list; > int hdrl_list; > int avih_chunk; > int movi_list; > int junk_chunk; > int idx1_chunk; > > AVIStreamHeader streamHdr[2]; > AVISuperIndex *indx[2]; > AVIStdIndex *ix[2]; > int indx_chunk[2]; > int ix_chunk[2]; > int strl_list[2]; > int strh_chunk[2]; > int strf_chunk[2]; > > int index_type; > int current_ix00; > > int dmlh[62]; > int odml_list; > int dmlh_chunk; > bool isUpdateIdx1; > >}; > > > > > > >class AVI1File : public AVIFile >{ >public: > AVI1File(); > virtual ~AVI1File(); > > virtual void Init(int format, int sampleFrequency, int indexType); > virtual void WriteFrame(const Frame &frame); > virtual void WriteRIFF(void); > virtual void setDVINFO( DVINFO& ); > >private: > DVINFO dvinfo; > > AVI1File(const AVI1File&); > AVI1File& operator=(const AVI1File&); >}; ># 355 "avi.h" >class AVI2File : public AVIFile >{ >public: > AVI2File(); > virtual ~AVI2File(); > > virtual void Init(int format, int sampleFrequency, int indexType); > virtual void WriteFrame(const Frame &frame); > virtual void WriteRIFF(void); > virtual void setDVINFO( DVINFO& ); > >private: > BITMAPINFOHEADER bitmapinfo; > WAVEFORMATEX waveformatex; > > AVI2File(const AVI2File&); > AVI2File& operator=(const AVI2File&); >}; ># 35 "filehandler.h" 2 > > >enum FileCaptureMode { > CAPTURE_IGNORE, > CAPTURE_FRAME_APPEND, > CAPTURE_FRAME_INSERT, > CAPTURE_MOVIE_APPEND >}; > >class FileTracker >{ >protected: > FileTracker(); > ~FileTracker(); >public: > static FileTracker &GetInstance( ); > void SetMode( FileCaptureMode ); > FileCaptureMode GetMode( ); > unsigned int Size(); > char *Get( int ); > void Add( const char * ); > void Clear( ); >private: > static FileTracker *instance; > vector <char *> list; > FileCaptureMode mode; >}; > >class FileHandler >{ >public: > > FileHandler(); > virtual ~FileHandler(); > > virtual bool GetAutoSplit() const; > virtual bool GetTimeStamp() const; > virtual string GetBaseName() const; > virtual string GetExtension() const; > virtual int GetMaxFrameCount() const; > virtual off_t GetMaxFileSize() const; > virtual off_t GetFileSize() = 0; > virtual int GetTotalFrames() = 0; > virtual string GetFilename() const; > > virtual void SetAutoSplit(bool); > virtual void SetTimeStamp(bool); > virtual void SetBaseName(const string& base); > virtual void SetMaxFrameCount(int); > virtual void SetEveryNthFrame(int); > virtual void SetMaxFileSize(off_t); > virtual void SetSampleFrame(const Frame& sample); > > virtual bool WriteFrame(const Frame& frame); > virtual bool FileIsOpen() = 0; > virtual bool Create(const string& filename) = 0; > virtual int Write(const Frame& frame) = 0; > virtual int Close() = 0; > virtual bool Done(void); > > virtual bool Open(const char *s) = 0; > virtual int GetFrame(Frame &frame, int frameNum) = 0; > >protected: > bool done; > bool autoSplit; > bool timeStamp; > int maxFrameCount; > int framesWritten; > int everyNthFrame; > int framesToSkip; > off_t maxFileSize; > string base; > string extension; > string filename; >}; > > >class RawHandler: public FileHandler >{ >public: > int fd; > > RawHandler(); > ~RawHandler(); > > bool FileIsOpen(); > bool Create(const string& filename); > int Write(const Frame& frame); > int Close(); > off_t GetFileSize(); > int GetTotalFrames(); > bool Open(const char *s); > int GetFrame(Frame &frame, int frameNum); >private: > int numBlocks; >}; > > >class AVIHandler: public FileHandler >{ >public: > AVIHandler(int format = AVI_DV1_FORMAT); > ~AVIHandler(); > > void SetSampleFrame(const Frame& sample); > bool FileIsOpen(); > bool Create(const string& filename); > int Write(const Frame& frame); > int Close(); > off_t GetFileSize(); > int GetTotalFrames(); > bool Open(const char *s); > int GetFrame(Frame &frame, int frameNum); > bool GetOpenDML() const; > void SetOpenDML(bool); > int GetFormat() const { > return aviFormat; > } > >protected: > AVIFile *avi; > int aviFormat; > AudioInfo audioInfo; > VideoInfo videoInfo; > bool isOpenDML; > DVINFO dvinfo; > unsigned long fccHandler; >}; ># 32 "kino_common.h" 2 > > > > > > >typedef enum component_enum { > EDIT_MENU = 2, > COMMAND_MENU = 4, > SCENE_LIST = 32, > VIDEO_START_OF_MOVIE = 64, > VIDEO_START_OF_SCENE = 128, > VIDEO_REWIND = 256, > VIDEO_BACK = 512, > VIDEO_PLAY = 1024, > VIDEO_PAUSE = 2048, > VIDEO_STOP = 4096, > VIDEO_FORWARD = 8192, > VIDEO_FAST_FORWARD = 16384, > VIDEO_NEXT_SCENE = 32768, > VIDEO_END_OF_MOVIE = 65536, > VIDEO_COMMAND = 131072, > INFO_FRAME = 262144, > VIDEO_SHUTTLE = 524288 >}; > > > > > > > >typedef enum page_enum { > PAGE_EDITOR, > PAGE_CAPTURE, > PAGE_TIMELINE, > PAGE_TRIM, > PAGE_EXPORT, > PAGE_MAGICK, > PAGE_BTTV >}; > > > >class Page; >class PageEditor; >class PageCapture; >class PageTimeline; >class PageBttv; >class PageExport; >class PageTrim; >class PageMagick; >class PageUndefined; ># 104 "kino_common.h" >class KinoCommon >{ > private: > > > > GtkWidget *widget; > GtkWidget *edit_menu; > GtkWidget *command_menu; > GtkWidget *view_menu; > GtkNotebook *notebook; > GnomeIconList *scenes; > GtkEntry *command; > GtkLabel *command_label; > GtkLabel *position_label; > GtkButton *video_start_movie_button; > GtkButton *video_start_scene_button; > GtkButton *video_rewind_button; > GtkButton *video_back_button; > GtkButton *video_play_button; > GtkButton *video_pause_button; > GtkButton *video_stop_button; > GtkButton *video_forward_button; > GtkButton *video_fast_forward_button; > GtkButton *video_end_scene_button; > GtkButton *video_end_movie_button; > GtkRange *video_shuttle; > GtkStatusbar *statusbar; > > > PlayList playlist; > > > int currentPage; > > > PageEditor *editor; > PageCapture *capture; > PageTimeline *timeline; > PageBttv *bttv; > PageExport *exportPage; > PageTrim *trimPage; > PageMagick *magickPage; > PageUndefined *undefined; > > > char tempFileName[ 4096 + 255 ]; > char playlistFileName[ 4096 + 255 ]; > > > > gulong component_state; > bool is_component_state_changing; > string last_directory; > bool showMoreInfo; > int currentScene; > > public: > bool showInfoFlag; > > KinoCommon( GtkWidget *widget ); > ~KinoCommon(); > > GtkWidget *getWidget( ) { > return this->widget; > } > > PlayList *getPlayList() { > return &playlist; > } > > GnomeIconList *getSceneStrip() { > return this->scenes; > } > > int getCurrentScene() { > return this->currentScene; > } > > > bool newFile(); > > > void bulkLoad( int, char *[] ); > void insertFile( ); > void appendFile( ); > void loadFile( ); > bool savePlayListAs( ); > bool savePlayList( ); > void saveFrame( ); > void savePlayListAsEli( ); > > > void changePageRequest( int page ); > void setCurrentPage( int page ); > Page *getCurrentPage(); > Page *getPage( int page ); > void activateWidgets(); > > > PageEditor *getPageEditor(); > PageCapture *getPageCapture(); > PageTimeline *getPageTimeline(); > PageBttv *getPageBttv(); > PageExport *getPageExport(); > PageTrim *getPageTrim(); > PageMagick *getPageMagick(); > PageUndefined *getPageUndefined(); > > > int moveToFrame( ); > int moveToFrame( int ); > int moveByFrames( int ); > void showFrameInfo( int ); > void showFrameMoreInfo( Frame&, FileHandler* ); > int g_currentFrame; > gboolean hasListChanged; > > > void showScenes(); > > > void keyboardFeedback( char *, char * ); > > > gboolean processKeyboard( GdkEventKey *event ); > gboolean processCommandLine( char * ); > gboolean processMenuCommand( char * ); > void selectScene( int ); > void videoStartOfMovie(); > void videoPreviousScene(); > void videoStartOfScene(); > void videoRewind(); > void videoBack(); > void videoPlay(); > void videoForward(); > void videoFastForward(); > void videoNextScene(); > void videoEndOfScene(); > void videoEndOfMovie(); > void videoPause(); > void videoStop(); > void videoShuttle( int ); > void windowChanged(); > void windowMoved(); > void visibilityChanged( gboolean ); > > > void toggleComponents( component_enum, bool ); > component_enum getComponentState(); > void commitComponentState( component_enum = (component_enum) 0 ); > > > char *getFileToSave( char * ); > void view50percent(); > void view100percent(); > void toggleShowInfo(); > void loadSplash( GtkDrawingArea * ); > void clearPreview( GtkDrawingArea * ); > void setWindowTitle( ); > void saveFrame( int, char * ); > bool loadMediaObject( char *, int ); > void packIt( const char * ); > void setStatusBar( const char *, ... ); > void setMoreInfo( bool state ) { > showMoreInfo = state; > } > void setCurrentScene( int frame ); > > > bool exitKino( ); > > protected: > > void start(); > void clean(); > > > char *getFileToOpen( char * ); > > > void setFileEditted( char * ); > void setCurrentDirectoryFromFile( char * ); > > > int checkFile( char * ); > > void saveAVI( char * ); > bool loadPlayList( char *, int ); > bool savePlayList( char * ); >}; > > >extern KinoCommon *common; ># 26 "preferences.cc" 2 > > > > > >using std::string; >using std::make_pair; > > > > > >Preferences *Preferences::instance = __null; ># 47 "preferences.cc" >Preferences &Preferences::getInstance() { > if ( instance == __null ) > instance = new Preferences; > return *instance; >} > > > > > > >Preferences::Preferences() { > gchar key[256]; > gchar *tempString; > > gnome_config_push_prefix("/kino/general/"); > > tempString = (_gnome_config_get_string_with_default (("file=capture"), __null, (0))); > if (tempString) { > strncpy( file, tempString, 511); > g_free(tempString); > } > defaultNormalisation = (_gnome_config_get_int_with_default (("defaultNormalisation=0"), __null, (0))); > defaultAudio = (_gnome_config_get_int_with_default (("defaultAudio=0"), __null, (0))); > defaultAspect = (_gnome_config_get_int_with_default (("defaultAspect=0"), __null, (0))); > g_snprintf( key, 255, "fileFormat=%d", AVI_DV1_FORMAT); > fileFormat = (_gnome_config_get_int_with_default ((key), __null, (0))); > autoSplit = (_gnome_config_get_bool_with_default (("autoSplit=true"), __null, (0))); > timeStamp = (_gnome_config_get_bool_with_default (("timeStamp=false"), __null, (0))); > frames = (_gnome_config_get_int_with_default (("frames=7000"), __null, (0))); > every = (_gnome_config_get_int_with_default (("every=1"), __null, (0))); > interface = (_gnome_config_get_int_with_default (("interface=0"), __null, (0))); > channel = (_gnome_config_get_int_with_default (("channel=63"), __null, (0))); > phyID = -1; > tempString = (_gnome_config_get_string_with_default (("avcGUID="), __null, (0))); > if (tempString) { > strncpy( avcGUID, tempString, 64); > g_free(tempString); > } > g_snprintf( key, 255, "displayMode=%d", DISPLAY_XV); > displayMode = (_gnome_config_get_int_with_default ((key), __null, (0))); > displayQuality = (_gnome_config_get_float_with_default (("displayQuality=2"), __null, (0))); > displayFixed = (_gnome_config_get_bool_with_default (("displayFixed=false"), __null, (0))); > enableAudio = (_gnome_config_get_bool_with_default (("enableAudio=true"), __null, (0))); > cip_n = (_gnome_config_get_int_with_default (("cip_increment=0"), __null, (0))); > cip_d = (_gnome_config_get_int_with_default (("cip_threshold=0"), __null, (0))); > syt_offset = (_gnome_config_get_int_with_default (("syt_offset=19000"), __null, (0))); > preview_capture = (_gnome_config_get_bool_with_default (("preview_capture=false"), __null, (0))); > dropFrame = (_gnome_config_get_bool_with_default (("dropFrame=true"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("audioDevice=/dev/dsp"), __null, (0))); > if (tempString) { > strncpy( audioDevice, tempString, 511); > g_free(tempString); > } > > > enableJogShuttle = (_gnome_config_get_bool_with_default (("enableJogShuttle=false"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("jogShuttleDevice=/dev/input/event0"), __null, (0))); > if (tempString) { > strncpy( jogShuttleDevice, tempString, 511); > g_free(tempString); > } > _isGrabbing = false; > > > int count = 0; > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "<none>", > "", > "" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, > "Toggle play", > "Toggle between play and pause", > " " ) ); ># 135 "preferences.cc" > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Forward one frame", > "Move one frame forward", > "l" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Back one frame", > "Move one frame backward", > "h" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Forward one second", > "Move one second forward", > "w" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Back one second", > "Move one second backward", > "b") ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Start of scene", > "Move to start of current scene", > "0" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "End of scene", > "Move to end of current scene", > "$" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Previous scene", > "Move to start of previous scene", > "k" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Next scene", > "Move to start of next scene", > "j" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "First frame", > "Move to beginning of movie", > "gg" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Last frame", > "Move to end of movie", > "G" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Forward 5 scenes", > "Move forward 5 scenes", > "5$" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Back 5 scene", > "Move backward 5 scenes", > "5^" ) ); > > > > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut current frame", > "Cut current frame", > "x" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut a second", > "Cut a second", > "dw" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut current scene", > "Cut current scene", > "dd" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut to end of current scene", > "Cut to end of current scene", > "d$" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut to end of movie", > "Cut to end of movie", > "dG" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut from start of current scene", > "Cut from start of current scene", > "d0" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Cut from start of movie", > "Cut from start of movie", > "dgg" ) ); > > > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Copy current scene", > "Copy current scene", > "yy" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Copy to end of scene", > "Copy to end of scene", > "y$" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Copy from start of scene", > "Cut from start of scene", > "y0" ) ); > > > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Paste after current frame", > "Paste after current frame", > "p" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Paste before current frame", > "Paste before current frame", > "P" ) ); > > > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Switch to capture mode", > "Switch to the capture interface", > "i" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Switch to trim mode", > "Switch to trim mode", > "t" ) ); > > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Repeat last command", > "Repeat last command", > "." ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Split scene", > "Split scene before current frame", > ":split" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Join scenes", > "Join this scene with the following", > "J" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Undo", > "Undo last command", > "u" ) ); > > _JogShuttleActions.push_back( > JogShuttleActions( count++, "Redo", > "Redo last command", > "ctrl+r" ) ); > > > > > > count = (_gnome_config_get_int_with_default (("jogShuttleNumMappings=0"), __null, (0))); > if ( 0 != count ) > { > for ( int i = 0; i < count ; i++ ) > { > char key[ 512 ]; > sprintf( key, "jogShuttleMappingFirstButton%i=0", i ); > unsigned int first_code > = (_gnome_config_get_int_with_default ((key), __null, (0))); > sprintf( key, "jogShuttleMappingSecondButton%i=0", i ); > unsigned int second_code > = (_gnome_config_get_int_with_default ((key), __null, (0))); > sprintf( key, "jogShuttleMappingAction%i=", i ); > > tempString = > (_gnome_config_get_string_with_default ((key), __null, (0))); > > > > string action = string( tempString ); > > > _JogShuttleMappings[ make_pair ( first_code, second_code ) ] > = JogShuttleMapping( action ); > } > } > else > { > > > _JogShuttleMappings[ make_pair ( 0x100, 0x0 ) ] > = JogShuttleMapping( "d0" ); > _JogShuttleMappings[ make_pair ( 0x101, 0x0 ) ] > = JogShuttleMapping( "d$" ); > _JogShuttleMappings[ make_pair ( 0x102, 0x0 ) ] > = JogShuttleMapping( "h" ); > _JogShuttleMappings[ make_pair ( 0x103, 0x0 ) ] > = JogShuttleMapping( "l" ); > _JogShuttleMappings[ make_pair ( 0x104, 0x0 ) ] > = JogShuttleMapping( "b" ); > _JogShuttleMappings[ make_pair ( 0x105, 0x0 ) ] > = JogShuttleMapping( "w" ); > _JogShuttleMappings[ make_pair ( 0x106, 0x0 ) ] > = JogShuttleMapping( " " ); > _JogShuttleMappings[ make_pair ( 0x107, 0x0 ) ] > = JogShuttleMapping( "k" ); > _JogShuttleMappings[ make_pair ( 0x108, 0x0 ) ] > = JogShuttleMapping( "j" ); > _JogShuttleMappings[ make_pair ( 0x109, 0x0 ) ] > = JogShuttleMapping( "gg" ); > _JogShuttleMappings[ make_pair ( 0x10a, 0x0 ) ] > = JogShuttleMapping( "G" ); > } > > > > > enableV4L = (_gnome_config_get_bool_with_default (("enableV4L=false"), __null, (0))); > disableKeyRepeat = (_gnome_config_get_bool_with_default (("disableKeyRepeat=false"), __null, (0))); > audioRendering = (_gnome_config_get_int_with_default (("audioRendering=0"), __null, (0))); > previewRendering = (_gnome_config_get_int_with_default (("previewRendering=1"), __null, (0))); > enableTimecode = (_gnome_config_get_bool_with_default (("enableTimecode=true"), __null, (0))); > maxUndos = (_gnome_config_get_int_with_default (("maxUndos=50"), __null, (0))); > > > > > > dvCaptureBuffers = (_gnome_config_get_int_with_default (("dvCaptureBuffers=50"), __null, (0))); > dvExportBuffers = (_gnome_config_get_int_with_default (("dvExportBuffers=10"), __null, (0))); > dvDecoderAddNTSCSetup = (_gnome_config_get_bool_with_default (("dvDecoderAddNTSCSetup=false"), __null, (0))); > dvDecoderClampLuma = (_gnome_config_get_bool_with_default (("dvDecoderClampLuma=false"), __null, (0))); > dvDecoderClampChroma = (_gnome_config_get_bool_with_default (("dvDecoderClampChroma=false"), __null, (0))); > maxFileSize = (_gnome_config_get_int_with_default (("maxFileSize=2000"), __null, (0))); > audioScrub = (_gnome_config_get_bool_with_default (("audioScrub=false"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("v4lVideoDevice=/dev/video0"), __null, (0))); > if (tempString) { > strncpy( v4lVideoDevice, tempString, 511); > g_free(tempString); > } > tempString = (_gnome_config_get_string_with_default (("v4lAudioDevice=/dev/dsp"), __null, (0))); > if (tempString) { > strncpy( v4lAudioDevice, tempString, 511); > g_free(tempString); > } > tempString = (_gnome_config_get_string_with_default (("v4lInput=PAL"), __null, (0))); > if (tempString) { > strncpy( v4lInput, tempString, 31); > g_free(tempString); > } > tempString = (_gnome_config_get_string_with_default (("v4lAudio=32000"), __null, (0))); > if (tempString) { > strncpy( v4lAudio, tempString, 31); > g_free(tempString); > } > isOpenDML = (_gnome_config_get_bool_with_default (("isOpenDML=false"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("defaultDirectory=~/"), __null, (0))); > if (tempString) { > strncpy( defaultDirectory, tempString, 511); > g_free(tempString); > } > deinterlacePreview = (_gnome_config_get_bool_with_default (("deinterlacePreview=false"), __null, (0))); > relativeSave = (_gnome_config_get_bool_with_default (("relativeSave=false"), __null, (0))); > > dvCaptureDriver = (_gnome_config_get_int_with_default (("dvCaptureDriver=0"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("dvCaptureDevice=/dev/raw1394"), __null, (0))); > if (tempString) { > strncpy( dvCaptureDevice, tempString, 511); > g_free(tempString); > } > dv1394Preview = (_gnome_config_get_bool_with_default (("dv1394Preview=false"), __null, (0))); > dvExportDriver = (_gnome_config_get_int_with_default (("dvExportDriver=0"), __null, (0))); > tempString = (_gnome_config_get_string_with_default (("dvExportDevice=/dev/video1394"), __null, (0))); > if (tempString) { > strncpy( dvExportDevice, tempString, 511); > g_free(tempString); > } > avcPollIntervalMs = (_gnome_config_get_int_with_default (("avcPollIntervalMs=200"), __null, (0))); > dvExportPrerollSec = (_gnome_config_get_int_with_default (("dvExportPrerollSec=4"), __null, (0))); > dvTwoPassEncoder = (_gnome_config_get_bool_with_default (("dvTwoPassEncoder=false"), __null, (0))); > > gnome_config_pop_prefix(); >} > > > > > >void >Preferences::Save() { > gnome_config_push_prefix("/kino/general/"); > > (_gnome_config_set_int(("defaultNormalisation"),(defaultNormalisation),(0))); > (_gnome_config_set_int(("defaultAudio"),(defaultAudio),(0))); > (_gnome_config_set_int(("defaultAspect"),(defaultAspect),(0))); > (_gnome_config_set_string(("file"),(file),(0))); > (_gnome_config_set_int(("fileFormat"),(fileFormat),(0))); > (_gnome_config_set_bool(("autoSplit"),(autoSplit),(0))); > (_gnome_config_set_bool(("timeStamp"),(timeStamp),(0))); > (_gnome_config_set_int(("frames"),(frames),(0))); > (_gnome_config_set_int(("every"),(every),(0))); > (_gnome_config_set_int(("interface"),(interface),(0))); > (_gnome_config_set_int(("channel"),(channel),(0))); > (_gnome_config_set_string(("avcGUID"),(avcGUID),(0))); > (_gnome_config_set_int(("displayMode"),(displayMode),(0))); > (_gnome_config_set_float(("displayQuality"),(displayQuality),(0))); > (_gnome_config_set_bool(("displayFixed"),(displayFixed),(0))); > (_gnome_config_set_bool(("enableAudio"),(enableAudio),(0))); > (_gnome_config_set_int(("cip_increment"),(cip_n),(0))); > (_gnome_config_set_int(("cip_threshold"),(cip_d),(0))); > (_gnome_config_set_int(("syt_offset"),(syt_offset),(0))); > (_gnome_config_set_bool(("preview_capture"),(preview_capture),(0))); > (_gnome_config_set_bool(("dropFrame"),(dropFrame),(0))); > (_gnome_config_set_string(("audioDevice"),(audioDevice),(0))); > > > (_gnome_config_set_bool(("enableJogShuttle"),(enableJogShuttle),(0))); > (_gnome_config_set_string(("jogShuttleDevice"),(jogShuttleDevice),(0))); > (_gnome_config_set_int(("jogShuttleNumMappings"),(_JogShuttleMappings.size()),(0))); > int count = 0; > map<pair<unsigned short, unsigned short>, JogShuttleMapping>::iterator i; > pair<unsigned short, unsigned short> map_key; > for ( i = _JogShuttleMappings.begin(); > i != _JogShuttleMappings.end() ; i++, count++ ) > { > map_key = ( *i ).first; > char key[ 512 ]; > sprintf( key, "jogShuttleMappingFirstButton%i", count ); > (_gnome_config_set_int((key),(map_key.first),(0))); > sprintf( key, "jogShuttleMappingSecondButton%i", count ); > (_gnome_config_set_int((key),(map_key.second),(0))); > sprintf( key, "jogShuttleMappingAction%i", count ); > (_gnome_config_set_string((key),(( *i ).second._action.c_str()),(0))); > } > > (_gnome_config_set_bool(("enableV4L"),(enableV4L),(0))); > (_gnome_config_set_bool(("disableKeyRepeat"),(disableKeyRepeat),(0))); > (_gnome_config_set_int(("audioRendering"),(audioRendering),(0))); > (_gnome_config_set_int(("previewRendering"),(previewRendering),(0))); > (_gnome_config_set_bool(("enableTimecode"),(enableTimecode),(0))); > (_gnome_config_set_int(("maxUndos"),(maxUndos),(0))); > (_gnome_config_set_string(("video1394Device"),(video1394Device),(0))); > (_gnome_config_set_int(("dvCaptureBuffers"),(dvCaptureBuffers),(0))); > (_gnome_config_set_int(("dvExportBuffers"),(dvExportBuffers),(0))); > (_gnome_config_set_bool(("dvDecoderAddNTSCSetup"),(dvDecoderAddNTSCSetup),(0))); > (_gnome_config_set_bool(("dvDecoderClampLuma"),(dvDecoderClampLuma),(0))); > (_gnome_config_set_bool(("dvDecoderClampChroma"),(dvDecoderClampChroma),(0))); > (_gnome_config_set_int(("maxFileSize"),(maxFileSize),(0))); > (_gnome_config_set_bool(("audioScrub"),(audioScrub),(0))); > (_gnome_config_set_string(("v4lVideoDevice"),(v4lVideoDevice),(0))); > (_gnome_config_set_string(("v4lAudioDevice"),(v4lAudioDevice),(0))); > (_gnome_config_set_string(("v4lInput"),(v4lInput),(0))); > (_gnome_config_set_string(("v4lAudio"),(v4lAudio),(0))); > (_gnome_config_set_bool(("isOpenDML"),(isOpenDML),(0))); > (_gnome_config_set_string(("defaultDirectory"),(defaultDirectory),(0))); > (_gnome_config_set_bool(("deinterlacePreview"),(deinterlacePreview),(0))); > (_gnome_config_set_bool(("relativeSave"),(relativeSave),(0))); > > (_gnome_config_set_int(("dvCaptureDriver"),(dvCaptureDriver),(0))); > (_gnome_config_set_string(("dvCaptureDevice"),(dvCaptureDevice),(0))); > (_gnome_config_set_bool(("dv1394Preview"),(dv1394Preview),(0))); > (_gnome_config_set_int(("dvExportDriver"),(dvExportDriver),(0))); > (_gnome_config_set_string(("dvExportDevice"),(dvExportDevice),(0))); > (_gnome_config_set_int(("avcPollIntervalMs"),(avcPollIntervalMs),(0))); > (_gnome_config_set_bool(("dvTwoPassEncoder"),(dvTwoPassEncoder),(0))); > > gnome_config_pop_prefix(); > > gnome_config_sync(); >} > > >gchar *Preferences_getAudioDevice(void) >{ > return Preferences::getInstance().audioDevice; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 80970
: 50524