logger_get_logged_devices_c
status.i4.v = logger_get_logged_devices_c(node.i4.v, list.i4.v,
num_devices.u4.r,
devices.sp.r)
This routine returns which devices are being datalogged.
node requested Lumberjack node
(Passing a value of LOGGER_ANY_NODE results in
returning devices from all nodes.)
list requested list number (Passing a value of
LOGGER_ALL_LISTS results in returning data for
all lists.)
num_devices returned number of devices found
devices returned device information
(array of ARRAY_DEVICE_DATA_EXT structures)
(Note: This is a pointer to a buffer allocated by
this routine. The caller should neither allocate
nor free this buffer.)
This function returns ACNET status values as follows:
OK success
LJ_MEMFAIL dynamic memory allocation failure
SQL_xxx error in communicating with Database
This function requires the following include files:
cnsparam_h, cns_data_structs_h, clib_h, acnet_errors_h
Related functions:
logger_devices_from_node_c, logger_find_device_c, logger_get_device_c,
logger_get_device_by_name_c, logger_get_device_list_c,
logger_return_data, logger_setnode, logger_return_names,
logger_check_alive, logger_restart_lists, logger_shutdown,
logger_name_to_node, logger_available_device_dates_c,
logger_available_device_data_entries_c, logger_get_list_data_events_c,
logger_find_lists_by_data_event_c, logger_find_devices_by_data_event_c
C/C++ usage:
int status;
int node = 0;
int list = 0;
unsigned int num_devices;
ARRAY_DEVICE_DATA_EXT *devices;
status = logger_get_logged_devices_c(node,list,&num_devices,
&devices);