summaryrefslogtreecommitdiffabout
path: root/include/opkele
authorMichael Krelin <hacker@klever.net>2007-12-30 21:08:55 (UTC)
committer Michael Krelin <hacker@klever.net>2008-01-04 18:22:43 (UTC)
commitb7cec6ccef5d4178cf02c4cc240fd39ab7c8fe97 (patch) (side-by-side diff)
treec898f449b4238a239f491a62bd77ac7c75663bb1 /include/opkele
parent4b75ac58aa9baaf611df8ef694fd585529823c66 (diff)
downloadlibopkele-b7cec6ccef5d4178cf02c4cc240fd39ab7c8fe97.zip
libopkele-b7cec6ccef5d4178cf02c4cc240fd39ab7c8fe97.tar.gz
libopkele-b7cec6ccef5d4178cf02c4cc240fd39ab7c8fe97.tar.bz2
parse ProviderID while doing discovery
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'include/opkele') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/opkele/types.h b/include/opkele/types.h
index d959021..4e1415f 100644
--- a/include/opkele/types.h
+++ b/include/opkele/types.h
@@ -205,10 +205,12 @@ namespace opkele {
types_t types;
uris_t uris;
local_ids_t local_ids;
+ string provider_id;
void clear() {
types.clear();
uris.clear(); local_ids.clear();
+ provider_id.clear();
}
};
typedef priority_map<service_t> services_t;
@@ -220,11 +222,13 @@ namespace opkele {
canonical_ids_t canonical_ids;
local_ids_t local_ids;
services_t services;
+ string provider_id;
void clear() {
expires = 0;
canonical_ids.clear(); local_ids.clear();
services.clear();
+ provider_id.clear();
}
bool empty() const {
return