aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/common
diff options
context:
space:
mode:
authordoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-05-05 21:03:51 +0000
committerdoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-05-05 21:03:51 +0000
commit3d4dc1f20185e0689f3b569d4d22259b5835e78f (patch)
tree89eb90823d40876e48b9e451726cbf6269eb1845 /src/client/windows/common
parentAdd a way for the client apps to specify custom information in case of out-of... (diff)
downloadbreakpad-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/windows/common')
-rw-r--r--src/client/windows/common/ipc_protocol.h5
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];
};