The configuration structure for FTPD is as follows:
struct rtems_ftpd_configuration { rtems_task_priority priority; /* FTPD task priority */ unsigned long max_hook_filesize; /* Maximum buffersize */ /* for hooks */ int port; /* Well-known port */ struct rtems_ftpd_hook *hooks; /* List of hooks */ };
The FTPD task priority is specified with priority
. Because
hooks are not saved as files, the received data is placed in an
allocated buffer. max_hook_filesize
specifies the maximum
size of this buffer. Finally, hooks
is a pointer to the
configured hooks structure.
Copyright © 1988-2008 OAR Corporation