summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/omb.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 9d4a327a9..c75fb7903 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -66,6 +66,10 @@ function omb_hmac_sha1() {
return $hmac_method;
}
+function omb_get_services($xrd, $type) {
+ return $xrd->services(array(omb_service_filter($type)));
+}
+
function omb_service_filter($type) {
return create_function('$s',
'return omb_match_service($s, \''.$type.'\');');