LM_GET_DLIST(3)

NAME
lm_get_dlist - get the path names of all FLEXlm daemons
lm_free_daemon_list - free the DAEMON list

SYNOPSIS
#include "ls_master.h"

DAEMON *lm_get_dlist()

void lm_free_daemon_list(ptr)
DAEMON *ptr;

typedef struct _daemon {
		char name[MAX_DAEMON_NAME + 1];
		char *path;     /* Path to this DAEMON executable */
		int port;       /* Internet Port number */
		int m_port;     /* Internet Port number (on master) */
		int pid;        /* pid of this daemon */
		struct _daemon *next;
	  } DAEMON;

DESCRIPTION
lm_get_dlist() reads the license file and returns the information about all the vendor daemons in that file.

lm_free_daemon_list() frees the structures that lm_get_dlist() returns.

NOTES
The port, m_port, and pid fields in the DAEMON structure will not contain valid data as a result of this call.

SEE ALSO
lm_get_config(3) lm_next_config(3).