| /********************************************************************** | |
| // @@@ START COPYRIGHT @@@ | |
| // | |
| // Licensed to the Apache Software Foundation (ASF) under one | |
| // or more contributor license agreements. See the NOTICE file | |
| // distributed with this work for additional information | |
| // regarding copyright ownership. The ASF licenses this file | |
| // to you under the Apache License, Version 2.0 (the | |
| // "License"); you may not use this file except in compliance | |
| // with the License. You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, | |
| // software distributed under the License is distributed on an | |
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| // KIND, either express or implied. See the License for the | |
| // specific language governing permissions and limitations | |
| // under the License. | |
| // | |
| // @@@ END COPYRIGHT @@@ | |
| **********************************************************************/ | |
| /* AUTOTEXTBUFFER - allocates 5 static char buffers for conversion | |
| of non textual data (via sprintf) for message inserts */ | |
| #define AUTOTEXTBUFFER 1 | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif /* __cplusplus */ | |
| /* for PC and UNIX */ | |
| #include "tfds\tfdrtl.h" | |
| #define USER_SEGMENT TFDS_NULL_SEGID | |
| #ifdef TFDS_REGISTRATION_PROC_ | |
| #undef TFDS_REGISTRATION_PROC_ | |
| #endif | |
| /* ================== DEFINITION SECTION ======================= */ | |
| #ifdef VPROC_01 | |
| #define TFDS_BUF_SIZE 141 // TSM event buffer limit | |
| #define TFDS_REGISTRATION_PROC_ VPROC(PRODNUMMXUDR,DATE1MXUDR,UDR_CC_LABEL) | |
| TFDS_REGPROC_DECLARE ( VPROC(PRODNUMMXUDR,DATE1MXUDR,UDR_CC_LABEL) ) | |
| #endif /* VPROC_01 */ | |
| /* =================== CODE SECTION =========================== */ | |
| #ifndef TFDS_REGISTRATION_PROC_ | |
| #ifdef AUTOTEXTBUFFER | |
| #ifndef TfdsStrBuf | |
| #define TfdsStrBuf | |
| char TfdsStrBuf1[141]; | |
| char TfdsStrBuf2[141]; | |
| char TfdsStrBuf3[141]; | |
| char TfdsStrBuf4[141]; | |
| char TfdsStrBuf5[141]; | |
| #endif | |
| #endif | |
| #define ProdNum(a) #a | |
| #define DateUdr(b) #b | |
| #define UdrCCLabel(c) #c | |
| #define FFDCVprocAsAstring(a,b,c) char NTVprocStringffdc[] = \ | |
| {ProdNum(a)##"_"##DateUdr(b)##"_"##UdrCCLabel(c)} | |
| FFDCVprocAsAstring(PRODNUMMXUDR,DATE1MXUDR,UDR_CC_LABEL); | |
| TFDS_REGPROC_DEFINE(VPROC(PRODNUMMXUDR,DATE1MXUDR,UDR_CC_LABEL), | |
| "Compaq", /* Company Name */ | |
| "T1230", /* MXUDR Product Number */ | |
| "MXUDR", /* Logical File Name */ | |
| "Please see VPROC of MXUDR") | |
| #endif /* TFDS_REGISTRATION_PROC */ | |
| #ifdef __cplusplus | |
| } | |
| #endif /* __cplusplus */ | |