summaryrefslogtreecommitdiff
path: root/tests/scanner/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/utility.h')
-rw-r--r--tests/scanner/utility.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/utility.h b/tests/scanner/utility.h
index cad93ff5..a3eb3ef8 100644
--- a/tests/scanner/utility.h
+++ b/tests/scanner/utility.h
@@ -44,6 +44,13 @@ typedef union
};
} UtilityByte;
+/* This one is similiar to Soup.Buffer */
+typedef struct
+{
+ const char *data;
+ gsize length;
+} UtilityBuffer;
+
typedef void (*UtilityFileFunc)(const char *path, gpointer user_data);
GType utility_object_get_type (void) G_GNUC_CONST;