📄 ftps_init.c
字号:
/****************************************************************************
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -