diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-05-19 21:59:15 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-05-19 21:59:15 +0000 |
commit | dffe80889500a5e0f749cc57289091edacbc208f (patch) | |
tree | 21ccb64e3d9c78eb76a603af220fe7f23a43695f /src/mod_pubsub/pubsub.hrl | |
parent | Added API function to get current S2S connections with information (diff) |
PubSub: improve get_entity_* API
SVN Revision: 2090
Diffstat (limited to '')
-rw-r--r-- | src/mod_pubsub/pubsub.hrl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mod_pubsub/pubsub.hrl b/src/mod_pubsub/pubsub.hrl index 87088eb6a..dc95e3378 100644 --- a/src/mod_pubsub/pubsub.hrl +++ b/src/mod_pubsub/pubsub.hrl @@ -82,8 +82,8 @@ %%% @type pubsubNode() = #pubsub_node{ %%% nodeid = {Host::host(), Node::pubsubNode()}, -%%% parentid = {Host::host(), Node::pubsubNode()}, -%%% nodeidx = int(). +%%% parentid = Node::pubsubNode(), +%%% nodeidx = int(). % can be anything you want %%% type = nodeType(), %%% options = [nodeOption()]} %%% <p>This is the format of the <tt>nodes</tt> table. The type of the table @@ -98,7 +98,7 @@ }). %%% @type pubsubState() = #pubsub_state{ -%%% stateid = {ljid(), pubsubNodeId()}}, +%%% stateid = {ljid(), nodeidx()}}, %%% items = [ItemId::string()], %%% affiliation = affiliation(), %%% subscription = subscription()}. @@ -111,9 +111,9 @@ }). %%% @type pubsubItem() = #pubsub_item{ -%%% itemid = {ItemId::string(), pubsubNodeId()}}, -%%% creation = {ljid(), now()}, -%%% modification = {ljid(), now()}, +%%% itemid = {ItemId::string(), nodeidx()}}, +%%% creation = {now(), ljid()}, +%%% modification = {now(), ljid()}, %%% payload = XMLContent::string()}. %%% <p>This is the format of the <tt>published items</tt> table. The type of the %%% table is: <tt>set</tt>,<tt>disc</tt>,<tt>fragmented</tt>.</p> |