Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/gdict/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
Synopsis#define GDICT_TYPE_DATABASE #define GDICT_TYPE_STRATEGY #define GDICT_TYPE_MATCH #define GDICT_TYPE_DEFINITION GdictDatabase; GdictStrategy; GdictMatch; GdictDefinition; GdictContext; GdictContextIface; #define GDICT_CONTEXT_ERROR enum GdictContextError; GQuark gdict_context_error_quark (void); GdictDatabase* gdict_database_ref (GdictDatabase *db); void gdict_database_unref (GdictDatabase *db); const gchar* gdict_database_get_name (GdictDatabase *db); const gchar* gdict_database_get_full_name (GdictDatabase *db); GType gdict_strategy_get_type (void); GdictStrategy* gdict_strategy_ref (GdictStrategy *strat); void gdict_strategy_unref (GdictStrategy *strat); const gchar* gdict_strategy_get_name (GdictStrategy *strat); const gchar* gdict_strategy_get_description (GdictStrategy *strat); GType gdict_match_get_type (void); GdictMatch* gdict_match_ref (GdictMatch *match); void gdict_match_unref (GdictMatch *match); const gchar* gdict_match_get_word (GdictMatch *match); const gchar* gdict_match_get_database (GdictMatch *match); GType gdict_definition_get_type (void); GdictDefinition* gdict_definition_ref (GdictDefinition *def); void gdict_definition_unref (GdictDefinition *def); gint gdict_definition_get_total (GdictDefinition *def); const gchar* gdict_definition_get_word (GdictDefinition *def); const gchar* gdict_definition_get_database (GdictDefinition *def); const gchar* gdict_definition_get_text (GdictDefinition *def); GType gdict_context_get_type (void); void gdict_context_set_local_only (GdictContext *context, gboolean local_only); gboolean gdict_context_get_local_only (GdictContext *context); gboolean gdict_context_lookup_databases (GdictContext *context, GError **error); gboolean gdict_context_lookup_strategies (GdictContext *context, GError **error); gboolean gdict_context_match_word (GdictContext *context, const gchar *database, const gchar *strategy, const gchar *word, GError **error); gboolean gdict_context_define_word (GdictContext *context, const gchar *database, const gchar *word, GError **error); DescriptionGdictContext is an abstract interface used to uniformly access dictionary transport objects. Each implementation of GdictContext must provide functions for accessing the list of databases available on a dictionary source and the available matching strategies; a function for retrieving all words matching to a string, inside one (or more) of those databases and using one of those strategies; a function for querying one (or more) of those databases for a definition of a word. Implementations of the GdictContext interface should query their dictionary sources asynchronously; methods of the GdictContext interface should return immediately, and each time a new database, strategy, match or definition is found, a signal should be fired by those implementations. DetailsGdictDatabasetypedef struct _GdictDatabase GdictDatabase; A GdictDatabase represents a database inside a dictionary source. GdictStrategytypedef struct _GdictStrategy GdictStrategy; A GdictStrategy represents a matching strategy inside a dictionary source. GdictMatchtypedef struct _GdictMatch GdictMatch; A GdictMatch represents a single match for a word inside a dictionary source. GdictDefinitiontypedef struct _GdictDefinition GdictDefinition; A GdictDefinition represents a single definition for a word inside a dictionary source. GdictContexttypedef struct _GdictContext GdictContext; The GdictClientContext struct contains private data only. GdictContextIfacetypedef struct {
GTypeInterface base_iface;
/* methods, not signals */
gboolean (*get_databases) (GdictContext *context,
GError **error);
gboolean (*get_strategies) (GdictContext *context,
GError **error);
gboolean (*match_word) (GdictContext *context,
const gchar *database,
const gchar *strategy,
const gchar *word,
GError **error);
gboolean (*define_word) (GdictContext *context,
const gchar *database,
const gchar *word,
GError **error);
/* signals */
void (*lookup_start) (GdictContext *context);
void (*lookup_end) (GdictContext *context);
void (*database_found) (GdictContext *context,
GdictDatabase *database);
void (*strategy_found) (GdictContext *context,
GdictStrategy *strategy);
void (*match_found) (GdictContext *context,
GdictMatch *match);
void (*definition_found) (GdictContext *context,
GdictDefinition *definition);
/* fired each time there's an error; the GError is owned
* by the context, and should never be modified or freed
*/
void (*error) (GdictContext *context,
const GError *error);
/* padding for future expansion */
void (*_gdict_context_1) (void);
void (*_gdict_context_2) (void);
void (*_gdict_context_3) (void);
void (*_gdict_context_4) (void);
} GdictContextIface;
enum GdictContextErrortypedef enum {
GDICT_CONTEXT_ERROR_PARSE,
GDICT_CONTEXT_ERROR_NOT_IMPLEMENTED,
GDICT_CONTEXT_ERROR_INVALID_DATABASE,
GDICT_CONTEXT_ERROR_INVALID_STRATEGY,
GDICT_CONTEXT_ERROR_INVALID_COMMAND,
GDICT_CONTEXT_ERROR_NO_MATCH,
GDICT_CONTEXT_ERROR_NO_DATABASES,
GDICT_CONTEXT_ERROR_NO_STRATEGIES
} GdictContextError;
These identify the various errors that can occur while calling GdictContext functions. Implementations should use these general error codes, but might provide other errors. gdict_database_ref ()GdictDatabase* gdict_database_ref (GdictDatabase *db);
Increases the reference count of
Since 1.0 gdict_database_unref ()void gdict_database_unref (GdictDatabase *db);
Decreases the reference count of
Since 1.0 gdict_database_get_name ()const gchar* gdict_database_get_name (GdictDatabase *db);
Gets the short name of the database, to be used with functions like
Since 1.0 gdict_database_get_full_name ()const gchar* gdict_database_get_full_name (GdictDatabase *db); Gets the full name of the database, suitable for display.
Since 1.0 gdict_strategy_ref ()GdictStrategy* gdict_strategy_ref (GdictStrategy *strat);
Increases the reference count of
Since 1.0 gdict_strategy_unref ()void gdict_strategy_unref (GdictStrategy *strat);
Decreases the reference count of
Since 1.0 gdict_strategy_get_name ()const gchar* gdict_strategy_get_name (GdictStrategy *strat); FIXME
Since 1.0 gdict_strategy_get_description ()const gchar* gdict_strategy_get_description (GdictStrategy *strat); FIXME
Since 1.0 gdict_match_ref ()GdictMatch* gdict_match_ref (GdictMatch *match); FIXME
Since 1.0 gdict_match_unref ()void gdict_match_unref (GdictMatch *match); FIXME
Since 1.0 gdict_match_get_word ()const gchar* gdict_match_get_word (GdictMatch *match); FIXME
Since 1.0 gdict_match_get_database ()const gchar* gdict_match_get_database (GdictMatch *match); FIXME
Since 1.0 gdict_definition_ref ()GdictDefinition* gdict_definition_ref (GdictDefinition *def);
Increases the reference count of
Since 1.0 gdict_definition_unref ()void gdict_definition_unref (GdictDefinition *def);
Decreases the reference count of
Since 1.0 gdict_definition_get_total ()gint gdict_definition_get_total (GdictDefinition *def); Retrieves the total number of definitions that were found on a dictionary.
Since 1.0 gdict_definition_get_word ()const gchar* gdict_definition_get_word (GdictDefinition *def); Retrieves the word used by the dictionary database to store the definition.
Since 1.0 gdict_definition_get_database ()const gchar* gdict_definition_get_database (GdictDefinition *def); Retrieves the full name of the dictionary database where the definition is stored.
Since 1.0 gdict_definition_get_text ()const gchar* gdict_definition_get_text (GdictDefinition *def); Retrieves the text of the definition.
Since 1.0 gdict_context_set_local_only ()void gdict_context_set_local_only (GdictContext *context, gboolean local_only); Sets whether only local resources will be used when querying for databases, strategies, matches or definitions.
Since 1.0 gdict_context_get_local_only ()gboolean gdict_context_get_local_only (GdictContext *context); Gets whether only local resources will be used when querying.
Since 1.0 gdict_context_lookup_databases ()gboolean gdict_context_lookup_databases (GdictContext *context, GError **error);
Query
Since 1.0 gdict_context_lookup_strategies ()gboolean gdict_context_lookup_strategies (GdictContext *context, GError **error);
Query
Since 1.0 gdict_context_match_word ()gboolean gdict_context_match_word (GdictContext *context, const gchar *database, const gchar *strategy, const gchar *word, GError **error);
Query
Since 1.0 gdict_context_define_word ()gboolean gdict_context_define_word (GdictContext *context, const gchar *database, const gchar *word, GError **error);
Query
Since 1.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0091 ]-- |