From 66b14d4368d661daf2248e36ac4f9a3f69f6a75a Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 30 Jan 2008 00:01:32 +0000 Subject: a few changes to the infrastructure * added mode_unknown to the mode_t enumeration * add to_keyvalues(ostream&) to openid message class * fixed openid_message_t::set_field for the case of overwriting Signed-off-by: Michael Krelin --- (limited to 'include') diff --git a/include/opkele/types.h b/include/opkele/types.h index d5ad258..842a722 100644 --- a/include/opkele/types.h +++ b/include/opkele/types.h @@ -30,6 +30,7 @@ namespace opkele { * the OpenID operation mode */ typedef enum _mode_t { + mode_unknown = 0, mode_associate, mode_checkid_immediate, mode_checkid_setup, @@ -145,6 +146,7 @@ namespace opkele { virtual void reset_field(const string& n); virtual void from_keyvalues(const string& kv); + virtual void to_keyvalues(ostream& o) const; void add_to_signed(const string& fields); string find_ns(const string& uri,const char *pfx) const; -- cgit v0.9.0.2