On 12/12/2019 11:30, Matthew J Fletcher wrote:
Hi,
What is the correct return type for the
'rtems_telnetd_config.login_check' and 'rtems_ftpd_configuration.login'
functions ?
It looks like a bool, but that gives me a compiler warning, do i have to
cast the bool to a rtems_shell_login_check_t
The return type is bool. For an example see:
https://git.rtems.org/rtems/tree/testsuites/libtests/ftp01/init.c#n41
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users