📄 trafbuild.h
字号:
/** oms_trafbuild.h **/
/** This file data type definitions and **/
/** macro definitions used by the OMS **/
/** Traffic Builder Package. **/
/********************************************/
/* Copyright (c) 1987 - 2000 */
/* by OPNET Technologies, Inc. */
/* (A Delaware Corporation) */
/* 3400 International Drive, N.W. */
/* Washington, D.C., U.S.A. */
/* All Rights Reserved. */
/********************************************/
#ifndef _TRAFBUILD_H_INCLUDED_
#include "oms_tan.h"
#include "oms_dist_support.h"
#if defined (__cplusplus)
extern "C" {
#endif
/* Symbol for export */
#ifndef TRAFBUILDC_EXPORT
#define TRAFBUILDC_EXPORT
#endif
#define TRAFBUILDC_LOG_LIMIT "Traffic Builder Log Message Limit"
/* Structure definitions. */
typedef struct
{
char src_name [256];
char dst_name [256];
OmsT_Dist_Handle bps_dist_handle;
OmsT_Dist_Handle pksize_dist_handle;
OmsT_Dist_Handle int_dist_handle;
double start_time;
double end_time;
} TrafbuildT_Specs_Info;
/* Function prototypes */
TRAFBUILDC_EXPORT extern List *trafbuild_specs_parse (double*, double*);
TRAFBUILDC_EXPORT extern void trafbuild_specs_write (List*, double, double);
/* Function prototypes for internal routines */
static FILE *trafbuild_file_open (void);
static void trafbuild_file_close (FILE*);
static void trafbuild_notif_log_init (void);
static void trafbuild_invalid_source_name_log_write (TrafbuildT_Specs_Info*, int);
static void trafbuild_invalid_dest_name_log_write (TrafbuildT_Specs_Info*, int);
static void trafbuild_invalid_start_end_times_log_write (TrafbuildT_Specs_Info*, int);
#if defined (__cplusplus)
} /* end of 'extern "C" {' */
#endif
#define _TRAFBUILD_H_INCLUDED_
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -