⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spicom.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
📖 第 1 页 / 共 2 页
字号:
 *    Respond to PASV command from client. * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spipasv        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spiport * * Description: *    Process a data port (PORT) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the address to be used for the data *    connection. *-----------------------------------------------*/void spiport        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spipwd * * Description: *    Process a print working directory (PWD) command. * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spipwd        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spiquit * * Description: *    Process a logout (QUIT) command * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spiquit        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spirein * * Description: *    Process reinitialize (REIN) command * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spirein        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spirest * * Description: *    Process restart (REST) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the restart marker at which to initiate the *    transfer. *-----------------------------------------------*/void spirest        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spiretr * * Description: *    Process a retrieve (RETR) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the pathname of the file to be retrieved. *-----------------------------------------------*/void spiretr        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spirmd * * Description: *    Process a remove directory (RMD) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the pathname of the directory to be removed. *-----------------------------------------------*/void spirmd        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spirnfr * * Description: *    Process a rename from (RNFR) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the pathname of the existing file to be * renamed. *-----------------------------------------------*/void spirnfr        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spirnto * * Description: *    Process a rename to (RNTO) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    paramter 'arg' is the pathname of the *    file's new name. *-----------------------------------------------*/void spirnto        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spisite * * Description: *    Process a site parameters (SITE) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    a system dependent site parameter string. *-----------------------------------------------*/void spisite        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spismnt * * Description: *    Process a structure mount (SMNT) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the directory or other system dependent file *    group designator which is to be mounted. *-----------------------------------------------*/void spismnt        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spistat * * Description: *    Process a status (STAT) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the optional pathname of a file(s) on which * status information is requested. *-----------------------------------------------*/void spistat        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spistor * * Description: *    Process a store (STOR) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the pathname of the file to be stored into. *-----------------------------------------------*/void spistor        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spistou * * Description: *    Process a store unique (STOU) command. * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spistou        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spistru * * Description: *    Process a file structure (STRU) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the file structure to set. *-----------------------------------------------*/void spistru        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spisyst * * Description: *    Process a system (SYST) command. * *    The control connection is given by the *    parameter 'cdcp'. *-----------------------------------------------*/void spisyst        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spitype * * Description: *    Process a representation type (TYPE) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the representation type to set. *-----------------------------------------------*/void spitype        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * spiuser * * Description: *    Process a user (USER) command. * *    The control connection is given by the *    parameter 'cdcp'.  The parameter 'arg' is *    the user name to login as. *-----------------------------------------------*/void spiuser        (cdc_t   *cdcp,         char    *arg);/*------------------------------------------------- * interpret * * Description: *    Determine the FTP command and call the *    appropriate function - interpret *-----------------------------------------------*/void interpret (cdc_t   * cdcp);/*------------------------------------------------- * reply * * Description: *    Buffer a reply to be sent on the control *    connection. *-----------------------------------------------*/void reply        (cdc_t      *cdcp,         u16        code,         const char *string);/*------------------------------------------------- * lookup * * Description: *    Determine if the keyword is an FTP command. * *    Returns a pointer to the member of the *    command table 'cmdtab' if the keyword *    matched.  Otherwise returns a zero pointer. *-----------------------------------------------*/const cmd_t *lookup                (char *keyword,                 int  length);#endif /* _SPICOM_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -