AUchecklicense(3dm) AUchecklicense(3dm)
AUchecklicense - checks for a given audio compression license
#include <dmedia/dm_audioutil.h>
-ldmedia
int AUchecklicense(int product, int *errorval, char **message)
product is a constant symbol for the product license of interest.
Currently defined licenses are:
AU_LICENSE_AWARE_MULTIRATE_ENCODER
AU_LICENSE_AWARE_MULTIRATE_DECODER
errorval is a pointer to an integer which will be set only if the
return value is AU_LICENSE_ERR. The value is the NetLS error
which occurred.
message is a pointer to a character pointer, which is changed to point
to an informative string only if the return value is
AU_LICENSE_ERR. The string will contain the NetLS error that
occurred and contact information on how to obtain support or a
license.
AUchecklicense(3dm) finds out whether a license for a particular audio
product is available.
On successful completion, AUchecklicense(3dm) returns AU_LICENSE_OK. If
product is unknown, then AU_BAD_PRODUCT is returned. If a NetLS error
occurs, then AU_LICENSE_ERR is returned and *errorval and *message are
set describing the error.
AwareIntro(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|