News
About us
People
Research
Grants
Publications
Download
Technology Transfer
Spread
Secure Spread
Spines
Backhand
Frugal
Share
Archipelago


SSP_GET_KEY

Section: User Manuals (3)
Updated: JULY 2001

 

NAME

SSP_get_key - returns the key of the group  

SYNOPSIS

#include <ssp.h>
int SSP_get_key( mailbox mbox, const char *group, char *key, int *key_len);  

DESCRIPTION

SSP_get_key returns the key of the group with the name passed as the string group.

The mbox of the connection upon which to join a group is the first parameter.

The group string represents the name of the group .

The key is the buffer where the key value is returned.

The key_len is a pointer to an int where the length of the key will be returned.

 

RETURN VALUES

Returns 0 on success or one of the following errors ( < 0 ):
ILLEGAL_GROUP
The group given was illegal for some reason. Usually because it was of length 0 or length > MAX_GROUP_NAME, or because the group is changing and is computing a new key, so there is no valid key.
ILLEGAL_SESSION
The session specified by mbox is illegal. Usually because it is not active.
 

BUGS

None.  

AUTHOR

Cristina Nita-Rotaru <crisn@cnds.jhu.edu>


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
BUGS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 19:21:32 GMT, July 07, 2001
Questions or comments to:
webmaster (at) dsn.jhu.edu
TEL: (410) 516-5562
FAX: (410) 516-6134
Distributed Systems and Networks Lab
Computer Science Department
Johns Hopkins University
3400 N. Charles Street Baltimore, MD 21218-2686