From 2a116bce75236e46946bb9564790c26c6a59b9a4 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 21 Jan 2008 19:51:23 +0000 Subject: Implement URI construction handling append='qxri' xrd:URI attribute. This is the right thing to do and may come in handy assisting OPs in improving UI. Signed-off-by: Michael Krelin --- (limited to 'include') diff --git a/include/opkele/discovery.h b/include/opkele/discovery.h index ab4b9d9..677d7bb 100644 --- a/include/opkele/discovery.h +++ b/include/opkele/discovery.h @@ -35,7 +35,15 @@ namespace opkele { typedef priority_map canonical_ids_t; typedef priority_map local_ids_t; typedef set types_t; - typedef priority_map uris_t; + struct uri_t { + string uri; + string append; + + uri_t() { } + uri_t(const string& u) : uri(u) { } + uri_t(const string& u,const string& a) : uri(u), append(a) { } + }; + typedef priority_map uris_t; class service_t { public: -- cgit v0.9.0.2