VirtualBox

Changeset 82665 in vbox


Ignore:
Timestamp:
Jan 8, 2020 9:32:19 AM (5 years ago)
Author:
vboxsync
Message:

IPRT: First commit of FTP server code, along with a tool to run a standalone server. Work in progress. bugref:9437

Location:
trunk
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/err.h

    r81404 r82665  
    27102710/** @} */
    27112711
     2712/** @name FTP status codes
     2713 * @{ */
     2714/** FTP Internal Server Error. */
     2715#define VERR_FTP_STATUS_SERVER_ERROR                            (-26400)
     2716/** FTP initialization failed. */
     2717#define VERR_FTP_INIT_FAILED                                    (-26401)
     2718/** @} */
     2719
    27122720/* SED-END */
    27132721
  • trunk/include/iprt/log.h

    r81549 r82665  
    44
    55/*
    6  * Copyright (C) 2006-2019 Oracle Corporation
     6 * Copyright (C) 2006-2020 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    6262    RTLOGGROUP_FILE,
    6363    RTLOGGROUP_FS,
     64    RTLOGGROUP_FTP,
    6465    RTLOGGROUP_HTTP,
    6566    RTLOGGROUP_IOQUEUE,
     
    9091 *         If anyone might be wondering what the alphabet looks like:
    9192 *              a b c d e f g h i j k l m n o p q r s t u v w x y z
     93 *
     94 * The RT_XX log group names are placeholders for new modules being added,
     95 * to make sure that there always is a total of 32 log group entries.
    9296 */
    9397#define RT_LOGGROUP_NAMES \
     
    99103    "RT_FILE", \
    100104    "RT_FS", \
     105    "RT_FTP", \
    101106    "RT_HTTP", \
    102107    "RT_IOQUEUE", \
     
    111116    "RT_TIMER", \
    112117    "RT_VFS", \
    113     "RT_19", \
    114118    "RT_20", \
    115119    "RT_21", \
     
    123127    "RT_29", \
    124128    "RT_30", \
    125     "RT_ZIP"  \
     129    "RT_ZIP"
    126130
    127131
  • trunk/include/iprt/mangling.h

    r81928 r82665  
    1111
    1212/*
    13  * Copyright (C) 2011-2019 Oracle Corporation
     13 * Copyright (C) 2011-2020 Oracle Corporation
    1414 *
    1515 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    10351035# define RTFsIsoMakerCmdEx                              RT_MANGLER(RTFsIsoMakerCmdEx)
    10361036# define RTFsNtfsVolOpen                                RT_MANGLER(RTFsNtfsVolOpen)
     1037# define RTFTPServerCreate                              RT_MANGLER(RTFTPServerCreate)
     1038# define RTFTPServerDestroy                             RT_MANGLER(RTFTPServerDestroy)
    10371039# define RTFuzzCmdMaster                                RT_MANGLER(RTFuzzCmdMaster)
    10381040# define RTFuzzCtxCfgGetBehavioralFlags                 RT_MANGLER(RTFuzzCtxCfgGetBehavioralFlags)
  • trunk/src/VBox/Runtime/Makefile.kmk

    r82601 r82665  
    55
    66#
    7 # Copyright (C) 2006-2019 Oracle Corporation
     7# Copyright (C) 2006-2020 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    674674        generic/critsectrw-generic.cpp \
    675675        generic/env-generic.cpp \
     676        generic/ftp-server.cpp \
    676677        generic/RTDirCreateUniqueNumbered-generic.cpp \
    677678        generic/RTEnvDupEx-generic.cpp \
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r76585 r82665  
    55
    66/*
    7  * Copyright (C) 2007-2019 Oracle Corporation
     7 * Copyright (C) 2007-2020 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    8484/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King)  */
    8585#define RTFILEAIOREQ_MAGIC              UINT32_C(0x19470921)
     86/** The magic value for RTFTPSERVERINTERNAL::u32Magic. */
     87#define RTFTPSERVER_MAGIC               UINT32_C(0xfeed0004) /**< @todo find a value */
     88/** The value of RTFTPSERVERINTERNAL::u32Magic after close. */
     89#define RTFTPSERVER_MAGIC_DEAD          (~RTFTPSERVER_MAGIC)
    8690/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
    8791#define RTENV_MAGIC                     UINT32_C(0x19571010)
  • trunk/src/VBox/Runtime/tools/Makefile.kmk

    r81775 r82665  
    55
    66#
    7 # Copyright (C) 2006-2019 Oracle Corporation
     7# Copyright (C) 2006-2020 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    131131 RTLdrFlt_SOURCES = RTLdrFlt.cpp
    132132
     133 # RTFTPServer implements a simple FTP server.
     134 PROGRAMS += RTFTPServer
     135 RTFTPServer_TEMPLATE = VBoxR3Tool
     136 RTFTPServer_SOURCES = RTFTPServer.cpp
     137
    133138 # RTGzip - our gzip clone (for testing the gzip/gunzip streaming code)
    134139 PROGRAMS += RTGzip
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette