Ets_Output_Context_Reader_Set()

摘要

打开一个 OT 文件用于读取,并将该 reader 存储到指定的上下文中。

语法

Ets_Output_Context_Reader_Set (cxt_ptr, output_file_name)
参数 类型 说明
cxt_ptr EtsT_Output_Context * 输出上下文。
output_file_name const char * OT 文件名称(不含路径和后缀)。

返回类型

EtsT_Compcode

操作成功时返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_output.h

详情

如果指定上下文中已经设置了 reader,则在打开新的 reader 之前会先关闭它。将 output_file_name 设为 PRGC_NIL 可以关闭现有 reader 而不打开新的 reader。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com