mcorest_interface_close
有关概述,请参阅网络服务页面。
此函数用于关闭接口。
在服务器以多线程模式运行期间(即在调用 mcorest_start()
之后和调用 mcorest_stop()
之前),不得调用此函数。
此函数应仅由创建接口的同一线程调用。在其他线程使用接口期间,不得关闭接口。
MCO_RET mcorest_interface_close(
mcorest_interface_h intf
);
参数
intf
mcorest_interface_h
接口的句柄。
返回
MCO_S_OK
成功。
MCO_E_REST_ *
任何一种网络服务错误码。
文件
- 头文件:
mcorest.h
- 源文件:
mcorest.c
- 库:
libmcorest.a