summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-test.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-02-01 04:58:16 +0000
committerHavoc Pennington <hp@redhat.com>2003-02-01 04:58:16 +0000
commite0ffb6eb1472e6766d79346e1fae418c129ef536 (patch)
tree4fddaa6743cfcae6ef5ccac4105d4242d2408773 /dbus/dbus-test.h
parentd8f9c46bf873fe03dbb1db100f3c6d02b2d6c847 (diff)
2003-02-01 Havoc Pennington <hp@pobox.com>
* dbus/dbus-break-loader.c (main): new program to find messages that break the loader. * dbus/dbus-sysdeps.c (_dbus_string_append_uint): new function * dbus/dbus-sysdeps.c (_dbus_string_save_to_file): new function * dbus/dbus-string.c (_dbus_string_set_byte): new
Diffstat (limited to 'dbus/dbus-test.h')
-rw-r--r--dbus/dbus-test.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/dbus/dbus-test.h b/dbus/dbus-test.h
index 28a84447..31753ac0 100644
--- a/dbus/dbus-test.h
+++ b/dbus/dbus-test.h
@@ -43,10 +43,16 @@ dbus_bool_t _dbus_string_test (void);
dbus_bool_t _dbus_address_test (void);
dbus_bool_t _dbus_message_test (const char *test_data_dir);
-void dbus_internal_do_not_use_run_tests (const char *test_data_dir);
-dbus_bool_t dbus_internal_do_not_use_try_message_file (const DBusString *filename,
- dbus_bool_t is_raw,
- DBusMessageValidity expected_validity);
+void dbus_internal_do_not_use_run_tests (const char *test_data_dir);
+dbus_bool_t dbus_internal_do_not_use_try_message_file (const DBusString *filename,
+ dbus_bool_t is_raw,
+ DBusMessageValidity expected_validity);
+dbus_bool_t dbus_internal_do_not_use_try_message_data (const DBusString *data,
+ DBusMessageValidity expected_validity);
+dbus_bool_t dbus_internal_do_not_use_load_message_file (const DBusString *filename,
+ dbus_bool_t is_raw,
+ DBusString *data);
+
/* returns FALSE on fatal failure */
typedef dbus_bool_t (* DBusForeachMessageFileFunc) (const DBusString *filename,
@@ -55,8 +61,8 @@ typedef dbus_bool_t (* DBusForeachMessageFileFunc) (const DBusString *filename
void *data);
dbus_bool_t dbus_internal_do_not_use_foreach_message_file (const char *test_data_dir,
- DBusForeachMessageFileFunc func,
- void *user_data);
+ DBusForeachMessageFileFunc func,
+ void *user_data);