diff options
author | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-05 21:03:51 +0000 |
---|---|---|
committer | doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-05-05 21:03:51 +0000 |
commit | 3d4dc1f20185e0689f3b569d4d22259b5835e78f (patch) | |
tree | 89eb90823d40876e48b9e451726cbf6269eb1845 /src/client | |
parent | Add a way for the client apps to specify custom information in case of out-of... (diff) | |
download | breakpad-3d4dc1f20185e0689f3b569d4d22259b5835e78f.tar.xz |
Add a convenience method to CustomClientInfo struct to set both name and value in one call.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@268 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/windows/common/ipc_protocol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/windows/common/ipc_protocol.h b/src/client/windows/common/ipc_protocol.h index 35b99016..e0a27a88 100644 --- a/src/client/windows/common/ipc_protocol.h +++ b/src/client/windows/common/ipc_protocol.h @@ -71,6 +71,11 @@ struct CustomInfoEntry { wcscpy_s(value, kValueMaxLength, value_arg); } + void set(const wchar_t* name_arg, const wchar_t* value_arg) { + set_name(name_arg); + set_value(value_arg); + } + wchar_t name[kNameMaxLength]; wchar_t value[kValueMaxLength]; }; |