nutscan_new_device(3) Create a new nutscan_device_t structure.

SYNOPSIS


#include <nut-scan.h>

nutscan_device_t * nutscan_new_device();

DESCRIPTION

The nutscan_new_device() function allocates a new nutscan_device_type_t structure.

RETURN VALUE

The nutscan_new_device() function returns the newly allocated nutscan_device_type_t structure