LM_FEAT_LIST(3)

NAME
lm_feat_list - returns the list of features from the license file

SYNOPSIS
#include <lm_client.h>

char **lm_feat_list(floating, dupaction)
int floating;
void (*dupaction)();

DESCRIPTION
lm_feat_list() reads the license file and returns a list of all of the feature names. All of the memory belongs to lm_feat_list() and should not be freed or modified by the caller. This memory will be reused on the next call to lm_feat_list(). If floating is set to a non-zero value, only floating licensed features will be listed. The dupaction routine will be called whenever a duplicate feature is found. dupaction will be passed a single char * parameter, which is the name of the feature.

RETURN VALUE
lm_feat_list() returns a null-terminated array of string pointers to feature names.

SEE ALSO
lm_get_config(3), lm_next_config(3), lm_userlist(3).