diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-21 06:18:04 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-21 06:18:04 +0000 |
commit | 606eb2106b3d7f5cd36a4f1786d281b771bb1bf7 (patch) | |
tree | d4fe3c88571d0f683f8dadbef43fd5c0dea18ffa /dbus/dbus-marshal-header.h | |
parent | cda2389089ef180ac2f3c880cb03427e9baf884b (diff) |
2005-01-21 Havoc Pennington <hp@redhat.com>
* dbus/dbus-bus.c: add more return_if_fail checks
* dbus/dbus-message.c (load_message): have the "no validation"
mode (have to edit the code to toggle the mode for now though)
* dbus/dbus-marshal-header.c (_dbus_header_load): have a mode that
skips all validation; I want to use this at least for benchmark
baseline, I'm not sure if it should be a publicly-available switch.
Diffstat (limited to 'dbus/dbus-marshal-header.h')
-rw-r--r-- | dbus/dbus-marshal-header.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/dbus-marshal-header.h b/dbus/dbus-marshal-header.h index 61e9246a..fed2888b 100644 --- a/dbus/dbus-marshal-header.h +++ b/dbus/dbus-marshal-header.h @@ -115,7 +115,8 @@ dbus_bool_t _dbus_header_have_message_untrusted (int max_messag const DBusString *str, int start, int len); -dbus_bool_t _dbus_header_load_untrusted (DBusHeader *header, +dbus_bool_t _dbus_header_load (DBusHeader *header, + DBusValidationMode mode, DBusValidity *validity, int byte_order, int fields_array_len, |