Oma_Ot_Writer_Template_Remove()

Abstract

Removes a template associated with a writer.

Syntax

Oma_Ot_Writer_Template_Remove (ot_writer_ptr, template_ptr, template_remove_options)
Argument Type Description
ot_writer_ptr OmaT_Ot_Writer * OT writer of interest.
template_ptr OmaT_Ot_Template * Template to be removed.
template_remove_options int Removal options.

Return Type

PrgC_Compcode

PrgC_Compcode_Success if the template was removed; PrgC_Compcode_Failure otherwise.

oma_ot.h

Details

template_remove_options must be some OR’d combination of the following symbolic constants:

  • OMAC_OT_TEMPLATE_REMOVE_OPT_NONE—remove the template, but leave associated tables, if any, with private templates
  • OMAC_OT_TEMPLATE_REMOVE_OPT_IF_NO_TABLES—remove the template only if no tables currently reference it
  • OMAC_OT_TEMPLATE_REMOVE_OPT_REMOVE_TABLES—remove the template and any referencing tables

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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