Changeset 09647b7 in rtems


Ignore:
Timestamp:
Oct 26, 2011, 10:32:09 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ad0e103
Parents:
eef45d1
Message:

2011-10-26 Sebastian Huber <sebastian.huber@…>

  • ftpd/ftpd.h, ftpd/ftpd.c: Moved buffer and stack size constants into header file.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    reef45d1 r09647b7  
     12011-10-26      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * ftpd/ftpd.h, ftpd/ftpd.c: Moved buffer and stack size constants into
     4        header file.
     5
    162011-10-26      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • cpukit/ftpd/ftpd.c

    reef45d1 r09647b7  
    236236   "Login accepted.\n"
    237237#endif
    238 
    239 /* Various buffer sizes */
    240 enum
    241 {
    242   FTPD_BUFSIZE  = 256,       /* Size for temporary buffers */
    243   FTPD_DATASIZE = 4 * 1024,      /* Size for file transfer buffers */
    244   FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
    245 };
    246238
    247239/* Event to be used by session tasks for waiting */
  • cpukit/ftpd/ftpd.h

    reef45d1 r09647b7  
    1515
    1616#define FTPD_CONTROL_PORT   21
     17
     18/* Various buffer sizes */
     19enum {
     20  FTPD_BUFSIZE  = 256,       /* Size for temporary buffers */
     21  FTPD_DATASIZE = 4 * 1024,      /* Size for file transfer buffers */
     22  FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
     23};
    1724
    1825/* FTPD access control flags */
Note: See TracChangeset for help on using the changeset viewer.