summaryrefslogtreecommitdiff
path: root/src/analysis/scan/items
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-06 11:41:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-06 11:41:46 (GMT)
commitedb4cc9c11c417d81b1948d93dfd171f0696217a (patch)
treef4d4d121f6a7428c06cf9e6610113a9d3755a461 /src/analysis/scan/items
parent2553a987f2d8ba35d839152a35392ca29b409841 (diff)
Rename the registered items for ROST to make their name more expressive.
Diffstat (limited to 'src/analysis/scan/items')
-rw-r--r--src/analysis/scan/items/console/log.c6
-rw-r--r--src/analysis/scan/items/console/log.h4
-rw-r--r--src/analysis/scan/items/count.c10
-rw-r--r--src/analysis/scan/items/count.h6
-rw-r--r--src/analysis/scan/items/datasize.c10
-rw-r--r--src/analysis/scan/items/datasize.h6
-rw-r--r--src/analysis/scan/items/magic/mime-encoding.c10
-rw-r--r--src/analysis/scan/items/magic/mime-encoding.h6
-rw-r--r--src/analysis/scan/items/magic/mime-type.c10
-rw-r--r--src/analysis/scan/items/magic/mime-type.h6
-rw-r--r--src/analysis/scan/items/magic/type.c10
-rw-r--r--src/analysis/scan/items/magic/type.h6
-rw-r--r--src/analysis/scan/items/math/to_string.c10
-rw-r--r--src/analysis/scan/items/math/to_string.h6
-rw-r--r--src/analysis/scan/items/string/lower.c10
-rw-r--r--src/analysis/scan/items/string/lower.h6
-rw-r--r--src/analysis/scan/items/string/to_int.c10
-rw-r--r--src/analysis/scan/items/string/to_int.h6
-rw-r--r--src/analysis/scan/items/string/upper.c10
-rw-r--r--src/analysis/scan/items/string/upper.h6
-rw-r--r--src/analysis/scan/items/time/make.c10
-rw-r--r--src/analysis/scan/items/time/make.h6
-rw-r--r--src/analysis/scan/items/time/now.c10
-rw-r--r--src/analysis/scan/items/time/now.h6
-rw-r--r--src/analysis/scan/items/uint-int.h4
-rw-r--r--src/analysis/scan/items/uint.c10
-rw-r--r--src/analysis/scan/items/uint.h2
27 files changed, 101 insertions, 101 deletions
diff --git a/src/analysis/scan/items/console/log.c b/src/analysis/scan/items/console/log.c
index 02b6207..90e8f03 100644
--- a/src/analysis/scan/items/console/log.c
+++ b/src/analysis/scan/items/console/log.c
@@ -66,7 +66,7 @@ static bool g_scan_console_log_function_run_call(GScanConsoleLogFunction *, GSca
/* Indique le type défini pour un afficheur de messages arbitraires. */
-G_DEFINE_TYPE(GScanConsoleLogFunction, g_scan_console_log_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanConsoleLogFunction, g_scan_console_log_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanConsoleLogFunction, g_scan_console_log_function, G_TYPE_REGIS
static void g_scan_console_log_function_class_init(GScanConsoleLogFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_console_log_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_console_log_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_console_log_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_console_log_function_run_call;
diff --git a/src/analysis/scan/items/console/log.h b/src/analysis/scan/items/console/log.h
index 3e72ad8..95fc55f 100644
--- a/src/analysis/scan/items/console/log.h
+++ b/src/analysis/scan/items/console/log.h
@@ -41,10 +41,10 @@
/* Mesure de la quantité de données scannées (instance) */
-typedef GRegisteredItem GScanConsoleLogFunction;
+typedef GScanRegisteredItem GScanConsoleLogFunction;
/* Mesure de la quantité de données scannées (classe) */
-typedef GRegisteredItemClass GScanConsoleLogFunctionClass;
+typedef GScanRegisteredItemClass GScanConsoleLogFunctionClass;
/* Indique le type défini pour un afficheur de messages arbitraires. */
diff --git a/src/analysis/scan/items/count.c b/src/analysis/scan/items/count.c
index 9040ec4..339c490 100644
--- a/src/analysis/scan/items/count.c
+++ b/src/analysis/scan/items/count.c
@@ -64,7 +64,7 @@ static bool g_scan_count_function_run_call(GScanCountFunction *, GScanExpression
/* Indique le type défini pour un décompte d'ensemble. */
-G_DEFINE_TYPE(GScanCountFunction, g_scan_count_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanCountFunction, g_scan_count_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -82,14 +82,14 @@ G_DEFINE_TYPE(GScanCountFunction, g_scan_count_function, G_TYPE_REGISTERED_ITEM)
static void g_scan_count_function_class_init(GScanCountFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_count_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_count_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_count_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_count_function_run_call;
@@ -165,9 +165,9 @@ static void g_scan_count_function_finalize(GScanCountFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_count_function_new(void)
+GScanRegisteredItem *g_scan_count_function_new(void)
{
- GScanCountFunction *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_COUNT_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/count.h b/src/analysis/scan/items/count.h
index 2429e40..d83714e 100644
--- a/src/analysis/scan/items/count.h
+++ b/src/analysis/scan/items/count.h
@@ -41,17 +41,17 @@
/* Mesure de la quantité de données scannées (instance) */
-typedef GRegisteredItem GScanCountFunction;
+typedef GScanRegisteredItem GScanCountFunction;
/* Mesure de la quantité de données scannées (classe) */
-typedef GRegisteredItemClass GScanCountFunctionClass;
+typedef GScanRegisteredItemClass GScanCountFunctionClass;
/* Indique le type défini pour un décompte d'ensemble. */
GType g_scan_count_function_get_type(void);
/* Constitue une fonction de décompte d'éléments d'un ensemble. */
-GRegisteredItem *g_scan_count_function_new(void);
+GScanRegisteredItem *g_scan_count_function_new(void);
diff --git a/src/analysis/scan/items/datasize.c b/src/analysis/scan/items/datasize.c
index 55e2d3b..11fe649 100644
--- a/src/analysis/scan/items/datasize.c
+++ b/src/analysis/scan/items/datasize.c
@@ -66,7 +66,7 @@ static bool g_scan_datasize_function_run_call(GScanDatasizeFunction *, GScanExpr
/* Indique le type défini pour une mesure de quantité de données scannées. */
-G_DEFINE_TYPE(GScanDatasizeFunction, g_scan_datasize_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanDatasizeFunction, g_scan_datasize_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanDatasizeFunction, g_scan_datasize_function, G_TYPE_REGISTERED
static void g_scan_datasize_function_class_init(GScanDatasizeFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_datasize_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_datasize_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_datasize_function_get_name;
registered->reduce = (reduce_registered_item_fc)g_scan_datasize_function_reduce;
@@ -168,9 +168,9 @@ static void g_scan_datasize_function_finalize(GScanDatasizeFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_datasize_function_new(void)
+GScanRegisteredItem *g_scan_datasize_function_new(void)
{
- GScanDatasizeFunction *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_DATASIZE_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/datasize.h b/src/analysis/scan/items/datasize.h
index 476df2d..daa71d1 100644
--- a/src/analysis/scan/items/datasize.h
+++ b/src/analysis/scan/items/datasize.h
@@ -41,17 +41,17 @@
/* Mesure de la quantité de données scannées (instance) */
-typedef GRegisteredItem GScanDatasizeFunction;
+typedef GScanRegisteredItem GScanDatasizeFunction;
/* Mesure de la quantité de données scannées (classe) */
-typedef GRegisteredItemClass GScanDatasizeFunctionClass;
+typedef GScanRegisteredItemClass GScanDatasizeFunctionClass;
/* Indique le type défini pour une mesure de quantité de données scannées. */
GType g_scan_datasize_function_get_type(void);
/* Constitue une fonction de récupération de taille de données. */
-GRegisteredItem *g_scan_datasize_function_new(void);
+GScanRegisteredItem *g_scan_datasize_function_new(void);
diff --git a/src/analysis/scan/items/magic/mime-encoding.c b/src/analysis/scan/items/magic/mime-encoding.c
index 935515d..aee23ff 100644
--- a/src/analysis/scan/items/magic/mime-encoding.c
+++ b/src/analysis/scan/items/magic/mime-encoding.c
@@ -64,7 +64,7 @@ static bool g_scan_mime_encoding_function_run_call(GScanMimeEncodingFunction *,
/* Indique le type défini pour une reconnaissance d'encodages de contenus. */
-G_DEFINE_TYPE(GScanMimeEncodingFunction, g_scan_mime_encoding_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanMimeEncodingFunction, g_scan_mime_encoding_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -82,14 +82,14 @@ G_DEFINE_TYPE(GScanMimeEncodingFunction, g_scan_mime_encoding_function, G_TYPE_R
static void g_scan_mime_encoding_function_class_init(GScanMimeEncodingFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_mime_encoding_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_mime_encoding_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_mime_encoding_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_mime_encoding_function_run_call;
@@ -165,9 +165,9 @@ static void g_scan_mime_encoding_function_finalize(GScanMimeEncodingFunction *fu
* *
******************************************************************************/
-GRegisteredItem *g_scan_mime_encoding_function_new(void)
+GScanRegisteredItem *g_scan_mime_encoding_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_MIME_ENCODING_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/magic/mime-encoding.h b/src/analysis/scan/items/magic/mime-encoding.h
index 9349d55..45ac241 100644
--- a/src/analysis/scan/items/magic/mime-encoding.h
+++ b/src/analysis/scan/items/magic/mime-encoding.h
@@ -41,17 +41,17 @@
/* Reconnaissance d'encodages de contenus (instance) */
-typedef GRegisteredItem GScanMimeEncodingFunction;
+typedef GScanRegisteredItem GScanMimeEncodingFunction;
/* Reconnaissance d'encodages de contenus (classe) */
-typedef GRegisteredItemClass GScanMimeEncodingFunctionClass;
+typedef GScanRegisteredItemClass GScanMimeEncodingFunctionClass;
/* Indique le type défini pour une reconnaissance d'encodages de contenus. */
GType g_scan_mime_encoding_function_get_type(void);
/* Constitue une fonction de cernement d'encodages de contenus. */
-GRegisteredItem *g_scan_mime_encoding_function_new(void);
+GScanRegisteredItem *g_scan_mime_encoding_function_new(void);
diff --git a/src/analysis/scan/items/magic/mime-type.c b/src/analysis/scan/items/magic/mime-type.c
index 95e441d..0635a33 100644
--- a/src/analysis/scan/items/magic/mime-type.c
+++ b/src/analysis/scan/items/magic/mime-type.c
@@ -64,7 +64,7 @@ static bool g_scan_mime_type_function_run_call(GScanMimeTypeFunction *, GScanExp
/* Indique le type défini pour une reconnaissance de types de contenus. */
-G_DEFINE_TYPE(GScanMimeTypeFunction, g_scan_mime_type_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanMimeTypeFunction, g_scan_mime_type_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -82,14 +82,14 @@ G_DEFINE_TYPE(GScanMimeTypeFunction, g_scan_mime_type_function, G_TYPE_REGISTERE
static void g_scan_mime_type_function_class_init(GScanMimeTypeFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_mime_type_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_mime_type_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_mime_type_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_mime_type_function_run_call;
@@ -165,9 +165,9 @@ static void g_scan_mime_type_function_finalize(GScanMimeTypeFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_mime_type_function_new(void)
+GScanRegisteredItem *g_scan_mime_type_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_MIME_TYPE_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/magic/mime-type.h b/src/analysis/scan/items/magic/mime-type.h
index e02ce0f..f46cd15 100644
--- a/src/analysis/scan/items/magic/mime-type.h
+++ b/src/analysis/scan/items/magic/mime-type.h
@@ -41,17 +41,17 @@
/* Reconnaissance de types de contenus (instance) */
-typedef GRegisteredItem GScanMimeTypeFunction;
+typedef GScanRegisteredItem GScanMimeTypeFunction;
/* Reconnaissance de types de contenus (classe) */
-typedef GRegisteredItemClass GScanMimeTypeFunctionClass;
+typedef GScanRegisteredItemClass GScanMimeTypeFunctionClass;
/* Indique le type défini pour une reconnaissance de types de contenus. */
GType g_scan_mime_type_function_get_type(void);
/* Constitue une fonction d'identification de types de contenus. */
-GRegisteredItem *g_scan_mime_type_function_new(void);
+GScanRegisteredItem *g_scan_mime_type_function_new(void);
diff --git a/src/analysis/scan/items/magic/type.c b/src/analysis/scan/items/magic/type.c
index f87c34a..43b16ff 100644
--- a/src/analysis/scan/items/magic/type.c
+++ b/src/analysis/scan/items/magic/type.c
@@ -64,7 +64,7 @@ static bool g_scan_magic_type_function_run_call(GScanMagicTypeFunction *, GScanE
/* Indique le type défini pour une reconnaissance de types de contenus. */
-G_DEFINE_TYPE(GScanMagicTypeFunction, g_scan_magic_type_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanMagicTypeFunction, g_scan_magic_type_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -82,14 +82,14 @@ G_DEFINE_TYPE(GScanMagicTypeFunction, g_scan_magic_type_function, G_TYPE_REGISTE
static void g_scan_magic_type_function_class_init(GScanMagicTypeFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_magic_type_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_magic_type_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_magic_type_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_magic_type_function_run_call;
@@ -165,9 +165,9 @@ static void g_scan_magic_type_function_finalize(GScanMagicTypeFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_magic_type_function_new(void)
+GScanRegisteredItem *g_scan_magic_type_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_MAGIC_TYPE_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/magic/type.h b/src/analysis/scan/items/magic/type.h
index bfad213..7a26da3 100644
--- a/src/analysis/scan/items/magic/type.h
+++ b/src/analysis/scan/items/magic/type.h
@@ -41,17 +41,17 @@
/* Reconnaissance de types de contenus (instance) */
-typedef GRegisteredItem GScanMagicTypeFunction;
+typedef GScanRegisteredItem GScanMagicTypeFunction;
/* Reconnaissance de types de contenus (classe) */
-typedef GRegisteredItemClass GScanMagicTypeFunctionClass;
+typedef GScanRegisteredItemClass GScanMagicTypeFunctionClass;
/* Indique le type défini pour une reconnaissance de types de contenus. */
GType g_scan_magic_type_function_get_type(void);
/* Constitue une fonction d'identification de types de contenus. */
-GRegisteredItem *g_scan_magic_type_function_new(void);
+GScanRegisteredItem *g_scan_magic_type_function_new(void);
diff --git a/src/analysis/scan/items/math/to_string.c b/src/analysis/scan/items/math/to_string.c
index 4bb8363..5debb61 100644
--- a/src/analysis/scan/items/math/to_string.c
+++ b/src/analysis/scan/items/math/to_string.c
@@ -70,7 +70,7 @@ static bool g_scan_math_to_string_function_run_call(GScanMathToStringFunction *,
/* Indique le type défini pour une conversion d'entier en texte. */
-G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -88,14 +88,14 @@ G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_
static void g_scan_math_to_string_function_class_init(GScanMathToStringFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_math_to_string_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_math_to_string_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_math_to_string_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_math_to_string_function_run_call;
@@ -171,9 +171,9 @@ static void g_scan_math_to_string_function_finalize(GScanMathToStringFunction *f
* *
******************************************************************************/
-GRegisteredItem *g_scan_math_to_string_function_new(void)
+GScanRegisteredItem *g_scan_math_to_string_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_MATH_TO_STRING_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/math/to_string.h b/src/analysis/scan/items/math/to_string.h
index 19f0020..b9213a9 100644
--- a/src/analysis/scan/items/math/to_string.h
+++ b/src/analysis/scan/items/math/to_string.h
@@ -41,17 +41,17 @@
/* Conversion d'une valeur entière en valeur textuelle (instance) */
-typedef GRegisteredItem GScanMathToStringFunction;
+typedef GScanRegisteredItem GScanMathToStringFunction;
/* Conversion d'une valeur entière en valeur textuelle (classe) */
-typedef GRegisteredItemClass GScanMathToStringFunctionClass;
+typedef GScanRegisteredItemClass GScanMathToStringFunctionClass;
/* Indique le type défini pour une conversion d'entier en texte. */
GType g_scan_math_to_string_function_get_type(void);
/* Crée une fonction de conversion de valeur entière en texte. */
-GRegisteredItem *g_scan_math_to_string_function_new(void);
+GScanRegisteredItem *g_scan_math_to_string_function_new(void);
diff --git a/src/analysis/scan/items/string/lower.c b/src/analysis/scan/items/string/lower.c
index be8b133..241d87a 100644
--- a/src/analysis/scan/items/string/lower.c
+++ b/src/analysis/scan/items/string/lower.c
@@ -66,7 +66,7 @@ static bool g_scan_string_lower_function_run_call(GScanStringLowerFunction *, GS
/* Indique le type défini pour une bascule de la casse d'une suite de caractères. */
-G_DEFINE_TYPE(GScanStringLowerFunction, g_scan_string_lower_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanStringLowerFunction, g_scan_string_lower_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanStringLowerFunction, g_scan_string_lower_function, G_TYPE_REG
static void g_scan_string_lower_function_class_init(GScanStringLowerFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_string_lower_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_string_lower_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_string_lower_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_string_lower_function_run_call;
@@ -167,9 +167,9 @@ static void g_scan_string_lower_function_finalize(GScanStringLowerFunction *func
* *
******************************************************************************/
-GRegisteredItem *g_scan_string_lower_function_new(void)
+GScanRegisteredItem *g_scan_string_lower_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_STRING_LOWER_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/string/lower.h b/src/analysis/scan/items/string/lower.h
index f844a65..b9eb00a 100644
--- a/src/analysis/scan/items/string/lower.h
+++ b/src/analysis/scan/items/string/lower.h
@@ -41,17 +41,17 @@
/* Bascule d'une suite de caractères en minuscules (instance) */
-typedef GRegisteredItem GScanStringLowerFunction;
+typedef GScanRegisteredItem GScanStringLowerFunction;
/* Bascule d'une suite de caractères en minuscules (classe) */
-typedef GRegisteredItemClass GScanStringLowerFunctionClass;
+typedef GScanRegisteredItemClass GScanStringLowerFunctionClass;
/* Indique le type défini pour une bascule de la casse d'une suite de caractères. */
GType g_scan_string_lower_function_get_type(void);
/* Constitue une fonction de bascule de lettres en minuscules. */
-GRegisteredItem *g_scan_string_lower_function_new(void);
+GScanRegisteredItem *g_scan_string_lower_function_new(void);
diff --git a/src/analysis/scan/items/string/to_int.c b/src/analysis/scan/items/string/to_int.c
index 8031d4d..150fd06 100644
--- a/src/analysis/scan/items/string/to_int.c
+++ b/src/analysis/scan/items/string/to_int.c
@@ -66,7 +66,7 @@ static bool g_scan_string_to_int_function_run_call(GScanStringToIntFunction *, G
/* Indique le type défini pour une conversion de texte en entier. */
-G_DEFINE_TYPE(GScanStringToIntFunction, g_scan_string_to_int_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanStringToIntFunction, g_scan_string_to_int_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanStringToIntFunction, g_scan_string_to_int_function, G_TYPE_RE
static void g_scan_string_to_int_function_class_init(GScanStringToIntFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_string_to_int_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_string_to_int_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_string_to_int_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_string_to_int_function_run_call;
@@ -167,9 +167,9 @@ static void g_scan_string_to_int_function_finalize(GScanStringToIntFunction *fun
* *
******************************************************************************/
-GRegisteredItem *g_scan_string_to_int_function_new(void)
+GScanRegisteredItem *g_scan_string_to_int_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_STRING_TO_INT_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/string/to_int.h b/src/analysis/scan/items/string/to_int.h
index 143da44..ffd971b 100644
--- a/src/analysis/scan/items/string/to_int.h
+++ b/src/analysis/scan/items/string/to_int.h
@@ -41,17 +41,17 @@
/* Conversion d'une valeur textuelle en valeur entière (instance) */
-typedef GRegisteredItem GScanStringToIntFunction;
+typedef GScanRegisteredItem GScanStringToIntFunction;
/* Conversion d'une valeur textuelle en valeur entière (classe) */
-typedef GRegisteredItemClass GScanStringToIntFunctionClass;
+typedef GScanRegisteredItemClass GScanStringToIntFunctionClass;
/* Indique le type défini pour une conversion de texte en entier. */
GType g_scan_string_to_int_function_get_type(void);
/* Crée une fonction de conversion de texte en valeur entière. */
-GRegisteredItem *g_scan_string_to_int_function_new(void);
+GScanRegisteredItem *g_scan_string_to_int_function_new(void);
diff --git a/src/analysis/scan/items/string/upper.c b/src/analysis/scan/items/string/upper.c
index 2ddd0dc..d09ae00 100644
--- a/src/analysis/scan/items/string/upper.c
+++ b/src/analysis/scan/items/string/upper.c
@@ -66,7 +66,7 @@ static bool g_scan_string_upper_function_run_call(GScanStringUpperFunction *, GS
/* Indique le type défini pour une bascule de la casse d'une suite de caractères. */
-G_DEFINE_TYPE(GScanStringUpperFunction, g_scan_string_upper_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanStringUpperFunction, g_scan_string_upper_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanStringUpperFunction, g_scan_string_upper_function, G_TYPE_REG
static void g_scan_string_upper_function_class_init(GScanStringUpperFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_string_upper_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_string_upper_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_string_upper_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_string_upper_function_run_call;
@@ -167,9 +167,9 @@ static void g_scan_string_upper_function_finalize(GScanStringUpperFunction *func
* *
******************************************************************************/
-GRegisteredItem *g_scan_string_upper_function_new(void)
+GScanRegisteredItem *g_scan_string_upper_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_STRING_UPPER_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/string/upper.h b/src/analysis/scan/items/string/upper.h
index 4f6e4bc..4fdeb09 100644
--- a/src/analysis/scan/items/string/upper.h
+++ b/src/analysis/scan/items/string/upper.h
@@ -41,17 +41,17 @@
/* Bascule d'une suite de caractères en majuscules (instance) */
-typedef GRegisteredItem GScanStringUpperFunction;
+typedef GScanRegisteredItem GScanStringUpperFunction;
/* Bascule d'une suite de caractères en majuscules (classe) */
-typedef GRegisteredItemClass GScanStringUpperFunctionClass;
+typedef GScanRegisteredItemClass GScanStringUpperFunctionClass;
/* Indique le type défini pour une bascule de la casse d'une suite de caractères. */
GType g_scan_string_upper_function_get_type(void);
/* Constitue une fonction de bascule de lettres en majuscules. */
-GRegisteredItem *g_scan_string_upper_function_new(void);
+GScanRegisteredItem *g_scan_string_upper_function_new(void);
diff --git a/src/analysis/scan/items/time/make.c b/src/analysis/scan/items/time/make.c
index 477a77c..e7330a3 100644
--- a/src/analysis/scan/items/time/make.c
+++ b/src/analysis/scan/items/time/make.c
@@ -67,7 +67,7 @@ static bool g_scan_time_make_function_run_call(GScanTimeMakeFunction *, GScanExp
/* Indique le type défini pour une conversion de date en nombre de secondes. */
-G_DEFINE_TYPE(GScanTimeMakeFunction, g_scan_time_make_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanTimeMakeFunction, g_scan_time_make_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -85,14 +85,14 @@ G_DEFINE_TYPE(GScanTimeMakeFunction, g_scan_time_make_function, G_TYPE_REGISTERE
static void g_scan_time_make_function_class_init(GScanTimeMakeFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_time_make_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_time_make_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_time_make_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_time_make_function_run_call;
@@ -168,9 +168,9 @@ static void g_scan_time_make_function_finalize(GScanTimeMakeFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_time_make_function_new(void)
+GScanRegisteredItem *g_scan_time_make_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_TIME_MAKE_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/time/make.h b/src/analysis/scan/items/time/make.h
index 958a392..f4be276 100644
--- a/src/analysis/scan/items/time/make.h
+++ b/src/analysis/scan/items/time/make.h
@@ -41,17 +41,17 @@
/* Convertisseur de date en nombre de secondes depuis le 01/01/1970 (instance) */
-typedef GRegisteredItem GScanTimeMakeFunction;
+typedef GScanRegisteredItem GScanTimeMakeFunction;
/* Convertisseur de date en nombre de secondes depuis le 01/01/1970 (classe) */
-typedef GRegisteredItemClass GScanTimeMakeFunctionClass;
+typedef GScanRegisteredItemClass GScanTimeMakeFunctionClass;
/* Indique le type défini pour une conversion de date en nombre de secondes. */
GType g_scan_time_make_function_get_type(void);
/* Constitue une fonction de décompte du temps écoulé. */
-GRegisteredItem *g_scan_time_make_function_new(void);
+GScanRegisteredItem *g_scan_time_make_function_new(void);
diff --git a/src/analysis/scan/items/time/now.c b/src/analysis/scan/items/time/now.c
index 16c4aef..7f8b627 100644
--- a/src/analysis/scan/items/time/now.c
+++ b/src/analysis/scan/items/time/now.c
@@ -66,7 +66,7 @@ static bool g_scan_time_now_function_run_call(GScanTimeNowFunction *, GScanExpre
/* Indique le type défini pour un décompte de secondes écoulées depuis le 01/01/1970. */
-G_DEFINE_TYPE(GScanTimeNowFunction, g_scan_time_now_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanTimeNowFunction, g_scan_time_now_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -84,14 +84,14 @@ G_DEFINE_TYPE(GScanTimeNowFunction, g_scan_time_now_function, G_TYPE_REGISTERED_
static void g_scan_time_now_function_class_init(GScanTimeNowFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_time_now_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_time_now_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_time_now_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_time_now_function_run_call;
@@ -167,9 +167,9 @@ static void g_scan_time_now_function_finalize(GScanTimeNowFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_time_now_function_new(void)
+GScanRegisteredItem *g_scan_time_now_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_TIME_NOW_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/time/now.h b/src/analysis/scan/items/time/now.h
index 6b3faa2..73ed52a 100644
--- a/src/analysis/scan/items/time/now.h
+++ b/src/analysis/scan/items/time/now.h
@@ -41,17 +41,17 @@
/* Décompte du nombre de seccondes écoulées depuis le 01/01/1970 (instance) */
-typedef GRegisteredItem GScanTimeNowFunction;
+typedef GScanRegisteredItem GScanTimeNowFunction;
/* Décompte du nombre de seccondes écoulées depuis le 01/01/1970 (classe) */
-typedef GRegisteredItemClass GScanTimeNowFunctionClass;
+typedef GScanRegisteredItemClass GScanTimeNowFunctionClass;
/* Indique le type défini pour un décompte de secondes écoulées depuis le 01/01/1970. */
GType g_scan_time_now_function_get_type(void);
/* Constitue une fonction de décompte du temps écoulé. */
-GRegisteredItem *g_scan_time_now_function_new(void);
+GScanRegisteredItem *g_scan_time_now_function_new(void);
diff --git a/src/analysis/scan/items/uint-int.h b/src/analysis/scan/items/uint-int.h
index 972d7a0..49050e6 100644
--- a/src/analysis/scan/items/uint-int.h
+++ b/src/analysis/scan/items/uint-int.h
@@ -35,7 +35,7 @@
/* Fonction conduisant à la lecture d'un mot (instance) */
struct _GScanUintFunction
{
- GRegisteredItem parent; /* A laisser en premier */
+ GScanRegisteredItem parent; /* A laisser en premier */
MemoryDataSize size; /* Taille du mot à lire */
SourceEndian endian; /* Boutisme à respecter */
@@ -45,7 +45,7 @@ struct _GScanUintFunction
/* Fonction conduisant à la lecture d'un mot (classe) */
struct _GScanUintFunctionClass
{
- GRegisteredItemClass parent; /* A laisser en premier */
+ GScanRegisteredItemClass parent; /* A laisser en premier */
};
diff --git a/src/analysis/scan/items/uint.c b/src/analysis/scan/items/uint.c
index 66c7fa9..8060aca 100644
--- a/src/analysis/scan/items/uint.c
+++ b/src/analysis/scan/items/uint.c
@@ -67,7 +67,7 @@ static bool g_scan_uint_function_run_call(GScanUintFunction *, GScanExpression *
/* Indique le type défini pour une lecture de mot à partir de données binaires. */
-G_DEFINE_TYPE(GScanUintFunction, g_scan_uint_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanUintFunction, g_scan_uint_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -85,14 +85,14 @@ G_DEFINE_TYPE(GScanUintFunction, g_scan_uint_function, G_TYPE_REGISTERED_ITEM);
static void g_scan_uint_function_class_init(GScanUintFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_uint_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_uint_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_uint_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_uint_function_run_call;
@@ -170,9 +170,9 @@ static void g_scan_uint_function_finalize(GScanUintFunction *func)
* *
******************************************************************************/
-GRegisteredItem *g_scan_uint_function_new(MemoryDataSize size, SourceEndian endian)
+GScanRegisteredItem *g_scan_uint_function_new(MemoryDataSize size, SourceEndian endian)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_UINT_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/uint.h b/src/analysis/scan/items/uint.h
index abc2231..d3dd3cb 100644
--- a/src/analysis/scan/items/uint.h
+++ b/src/analysis/scan/items/uint.h
@@ -52,7 +52,7 @@ typedef struct _GScanUintFunctionClass GScanUintFunctionClass;
GType g_scan_uint_function_get_type(void);
/* Constitue une fonction de lecture de valeur entière. */
-GRegisteredItem *g_scan_uint_function_new(MemoryDataSize, SourceEndian);
+GScanRegisteredItem *g_scan_uint_function_new(MemoryDataSize, SourceEndian);