SYNOPSIS

int MGOshowsubscription (char **out, char *uwn, int sub, char *dat)

DESCRIPTION

The MGOshowsubscription() function shows the status of the given uwnetid uwn and subscription reference code sub.

A particular subscription may require a helper process, which is invoked as required. All text from the helper process is returned through out. If the helper process needs additional information, pass it through dat, using the following format:

      MGO_DAT_xxx1=(yyy1) [MGO_DAT_xxx2=(yyy2) ...]

These will be set as environmental values for the helper process. Note: The "MGO_DAT_" prefix is required syntax. The following values are passed to the helper process by default:

RETURN VALUE

Returns the subscription status reference code upon success, or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

rmango

SEE ALSO

MGOfreechar(), MGOselrsubscription(), MGOselrsubstatus(), MGOsetsubscription(), MGOzero()