prg_log_tfile_assoc()

Abstract

Associates a log with a typed file (tfile).

Syntax

prg_log_tfile_assoc (log_store_hndl, assoc_type, assoc_name)
Argument Type Description
log_store_hndl PrgT_Log_Store_Handle Log store of interest.
assoc_type int Tfile type of the file to associate with the log.
assoc_name const char * FIle name (with no path or extension) of the tfile with which to associate the log.

Return Type

PrgT_Compcode

PrgC_Compcode_Failure if the log directory is already set or the log and tfile are in the same directory; PrgC_Compcode_Success otherwise.

prg_log.h

Details

This function moves the <log name>.olf.dir directory to the directory containing assoc_name.

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