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