ftps_init.c

来自「CSR蓝牙芯片的ftp程序的服务器端代码 客户端已经上传」· C语言 代码 · 共 33 行

C
33
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004

FILE NAME
    ftps_init.c
    
DESCRIPTION
 Initialisation for the File Transfer Profile Server(ftps) library
*/

#include <message.h>

#include "ftps.h"
#include "ftps_private.h"

/****************************************************************************
NAME 
    ftpsGetTheTask

DESCRIPTION
    This function returns the ftps library task so that the ftps library can use it.

RETURNS
    The ftps library task.
*/
Task ftpsGetTheTask(void)
{
	ftpsState *theFtps = PanicUnlessNew(ftpsState);
	theFtps->task.handler = ftpsHandler;
    return &(theFtps->task);
}

⌨️ 快捷键说明

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