projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for show communities monitoring request
[trust_router.git]
/
common
/
tr_rp.c
diff --git
a/common/tr_rp.c
b/common/tr_rp.c
index
6d0880a
..
a8988f6
100644
(file)
--- a/
common/tr_rp.c
+++ b/
common/tr_rp.c
@@
-330,3
+330,8
@@
char *tr_rp_realm_to_str(TALLOC_CTX *mem_ctx, TR_RP_REALM *rp)
"RP realm: \"%.*s\"\n",
rp->realm_id->len, rp->realm_id->buf);
}
+
+json_t *tr_rp_realm_to_json(TR_RP_REALM *rp)
+{
+ return tr_name_to_json_string(tr_rp_realm_get_id(rp));
+}
\ No newline at end of file