[Spread-cvs] commit: r324 - in trunk: docs include
jonathan at spread.org
jonathan at spread.org
Thu Mar 2 12:22:01 EST 2006
Author: jonathan
Date: 2006-03-02 12:22:01 -0500 (Thu, 02 Mar 2006)
New Revision: 324
Modified:
trunk/docs/SP_get_vs_sets_info.3
trunk/include/sp.h
Log:
Fix error showing a char array instead of int in man page.
Remove unneeded comment from header.
Modified: trunk/docs/SP_get_vs_sets_info.3
===================================================================
--- trunk/docs/SP_get_vs_sets_info.3 2006-03-02 06:01:41 UTC (rev 323)
+++ trunk/docs/SP_get_vs_sets_info.3 2006-03-02 17:22:01 UTC (rev 324)
@@ -37,9 +37,12 @@
.I unsigned int num_members
.br
.TP
-.I char members[][MAX_GROUP_NAME]
+.I unsigned int member_offset
.RE
+The
+.I member_offset
+field is the byte offset into the membership message body where this VS set's member list begins.
For each of the vs_set_info records in the array, the function
.B SP_get_vs_set_members
will grab the actual array of member names for the specified VS set.
Modified: trunk/include/sp.h
===================================================================
--- trunk/include/sp.h 2006-03-02 06:01:41 UTC (rev 323)
+++ trunk/include/sp.h 2006-03-02 17:22:01 UTC (rev 324)
@@ -155,7 +155,7 @@
typedef struct dummy_membership_info {
group_id gid;
- char changed_member[MAX_GROUP_NAME]; /* filled in on CAUSED_BY_JOIN, CAUSED_BY_LEAVE or CAUSED_BY_DISCONNECT only */
+ char changed_member[MAX_GROUP_NAME];
unsigned int num_vs_sets;
vs_set_info my_vs_set;
} membership_info;
More information about the Spread-cvs
mailing list