/* * Copyright (C) 1998 by Southwest Research Institute (SwRI) * * All rights reserved under U.S. Copyright Law and International Conventions. * * The development of this Software was supported by contracts NAG5-3148, * NAG5-6855, NAS8-36840, NAG5-2323, and NAG5-7043 issued on behalf of * the United States Government by its National Aeronautics and Space * Administration. Southwest Research Institute grants to the Government, * and others acting on its behalf, a paid-up nonexclusive, irrevocable, * worldwide license to reproduce, prepare derivative works, and perform * publicly and display publicly, by or on behalf of the Government. * Other than those rights granted to the United States Government, no part * of this Software may be reproduced in any form or by any means, electronic * or mechanical, including photocopying, without permission in writing from * Southwest Research Institute. All inquiries should be addressed to: * * Director of Contracts * Southwest Research Institute * P. O. Drawer 28510 * San Antonio, Texas 78228-0510 * * * Use of this Software is governed by the terms of the end user license * agreement, if any, which accompanies or is included with the Software * (the "License Agreement"). An end user will be unable to install any * Software that is accompanied by or includes a License Agreement, unless * the end user first agrees to the terms of the License Agreement. Except * as set forth in the applicable License Agreement, any further copying, * reproduction or distribution of this Software is expressly prohibited. * Installation assistance, product support and maintenance, if any, of the * Software is available from SwRI and/or the Third Party Providers, as the * case may be. * * Disclaimer of Warranty * * SOFTWARE IS WARRANTED, IF AT ALL, IN ACCORDANCE WITH THESE TERMS OF THE * LICENSE AGREEMENT. UNLESS OTHERWISE EXPLICITLY STATED, THIS SOFTWARE IS * PROVIDED "AS IS", IS EXPERIMENTAL, AND IS FOR NON-COMMERCIAL USE ONLY, * AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT * SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. * * Limitation of Liability * * SwRI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED AS A RESULT OF USING, * MODIFYING, CONTRIBUTING, COPYING, DISTRIBUTING, OR DOWNLOADING THIS * SOFTWARE. IN NO EVENT SHALL SwRI BE LIABLE FOR ANY INDIRECT, PUNITIVE, * SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGE (INCLUDING LOSS OF BUSINESS, * REVENUE, PROFITS, USE, DATA OR OTHER ECONOMIC ADVANTAGE) HOWEVER IT ARISES, * WHETHER FOR BREACH OF IN TORT, EVEN IF SwRI HAS BEEN PREVIOUSLY ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. YOU HAVE SOLE RESPONSIBILITY FOR ADEQUATE * PROTECTION AND BACKUP OF DATA AND/OR EQUIPMENT USED IN CONNECTION WITH THE * SOFTWARE AND WILL NOT MAKE A CLAIM AGAINST SwRI FOR LOST DATA, RE-RUN TIME, * INACCURATE OUTPUT, WORK DELAYS OR LOST PROFITS RESULTING FROM THE USE OF * THIS SOFTWARE. YOU AGREE TO HOLD SwRI HARMLESS FROM, AND YOU COVENANT NOT * TO SUE SwRI FOR, ANY CLAIMS BASED ON USING THE SOFTWARE. * * Local Laws: Export Control * * You acknowledge and agree this Software is subject to the U.S. Export * Administration Laws and Regulations. Diversion of such Software contrary * to U.S. law is prohibited. You agree that none of the Software, nor any * direct product therefrom, is being or will be acquired for, shipped, * transferred, or reexported, directly or indirectly, to proscribed or * embargoed countries or their nationals, nor be used for nuclear activities, * chemical biological weapons, or missile projects unless authorized by U.S. * Government. Proscribed countries are set forth in the U.S. Export * Administration Regulations. Countries subject to U.S embargo are: Cuba, * Iran, Iraq, Libya, North Korea, Syria, and the Sudan. This list is subject * to change without further notice from SwRI, and you must comply with the * list as it exists in fact. You certify that you are not on the U.S. * Department of Commerce's Denied Persons List or affiliated lists or on the * U.S. Department of Treasury's Specially Designated Nationals List. You agree * to comply strictly with all U.S. export laws and assume sole responsibilities * for obtaining licenses to export or reexport as may be required. * * General * * These Terms represent the entire understanding relating to the use of the * Software and prevail over any prior or contemporaneous, conflicting or * additional, communications. SwRI can revise these Terms at any time * without notice by updating this posting. * * Trademarks * * The SwRI logo is a trademark of SwRI in the United States and other countries. * */ /* guard against multiple inclusion */ #ifndef __LIBTREC_CODES_H #define __LIBTREC_CODES_H #define CENTER_CONVERSION 4 #define BUF_BIN_MALLOC -2 #define SET_VWIDTH_BAND_MALLOC -142 #define SET_VWIDTH_CENTER_MALLOC -143 #define BAD_VFMT -144 #define FILL_SEN_NOT_FOUND -150 #define FILL_SEN_MALLOC -151 #define FILL_SEN_REALLOC -152 #define FILL_SEN_BASE_MALLOC -153 #define FILL_SEN_BASE_REALLOC -154 #define FILL_SEN_TBL_MALLOC -155 #define FILL_BIN_MISSING -156 #define FILL_NOT_FOUND -157 #define FILL_ARRAY_MALLOC -158 #define FILL_UNITS_MALLOC -159 #define FILL_UNITS_REALLOC -160 #define FILL_SWP_MALLOC -161 #define FILL_SWP_REALLOC -162 #define FILL_DATA_MALLOC -163 #define FILL_INFO_MALLOC -164 #define NO_EMPTY_BUFFERS -165 #define UNITS_IND_NOT_FOUND -166 #define UNITS_NO_SENSOR -167 #define UNITS_NO_MATCH -168 #define COLLAPSE_NOT_FOUND -169 #define COLLAPSE_MALLOC -170 #define COLLAPSE_SEN_MALLOC -171 #define COLLAPSE_DATA_MALLOC -172 #define THETA_CHK_MALLOC -173 #define THETA_BIN_MALLOC -174 #define ORDER_THETA_MALLOC -175 #define PHI_DIFF_UNITS -176 #define FILL_PHI_FIRST -177 #define FILL_PHI_LAST -178 #define THETA_DIFF_UNITS -179 #define CDIMEN_NOT_FOUND -180 #define CDIMEN_COLLAPSE -181 #define CDIMEN_MANY_SCAN -182 #define CENTER_NOT_FOUND -183 #define CENTER_NO_SENSOR -184 #define BPTR_NOT_FOUND -185 #define CENTER_TMP_MALLOC -186 #define BAND_MALLOC -187 #define CENTER_MALLOC -188 #define SET_BIN_NOT_FOUND -189 #define SET_BIN_MALLOC -190 #define SET_BIN_INDEX_MALLOC -191 #define SET_BIN_BAD_FMT -192 #define CALC_CENTER_DREC -194 #define RET_PHI_NOT_FOUND -195 #define CPTR_RET_PHI -196 #define NO_RET_PHI -197 #define FILL_THETA_NOT_FOUND -198 #define FILL_THETA_COLLAPSE -199 #define SET_SCAN_NOT_FOUND -208 #define SCAN_BIN_MISSING -209 #define SET_SCAN_TBL_MALLOC -210 #define SCAN_INDEX_MALLOC -211 #define SCAN_IDF_ELE_NOT_FOUND -212 #define SCAN_IDF_MANY_BYTES -213 #define SCAN_IDF_TBL_NUM -214 #define SCAN_IDF_CON_NUM -215 #define SCAN_IDF_NO_ENTRY -216 #define BUF_BIN_NOT_FOUND -217 #define FILL_DISC_NOT_FOUND -218 #define FILL_DISC_BIN_MISSING -219 #define FILL_DISC_NO_PHI -220 #define FILL_DISC_MALLOC -221 #define DISC_DATA_MALLOC -222 #define DISC_TMP_MALLOC -223 #define FILL_SEN_MODE_TYPE -243 #define UNITS_IND_MODE_TYPE -244 #define MODE_INFO_NOT_FOUND -245 #define MODE_INFO_MALLOC -246 #define MODE_INFO_REALLOC -247 #define MODE_INFO_BASE_MALLOC -248 #define MODE_INFO_BASE_REALLOC -249 #define MODE_INFO_TBL_MALLOC -250 #define MODE_INFO_NO_MODES -251 #define MODE_UNITS_IND_NOT_FOUND -252 #define MODE_UNITS_FILE_OPEN -253 #define MODE_UNITS_INFO_DUP -254 #define MODE_UNITS_NO_MODE -255 #define MODE_UNITS_NO_MATCH -256 #define FILL_MODE_ARRAY_MALLOC -257 #define MODE_UNITS_MALLOC -258 #define MODE_UNITS_REALLOC -259 #define MODE_DATA_MALLOC -260 #define FILL_MODE_NOT_FOUND -261 #define FILL_MODE_FILE_OPEN -262 #define FILL_MODE_INFO_DUP -263 #define MODES_NOT_REQUESTED -264 #define ALLOC_MODE_INFO_MALLOC -265 #define MODE_FILE_OPEN -266 #define MODE_INFO_DUP -267 #define FILL_BASE_TIME_MISSING -269 #define FILL_DISC_BASE_TIME_MISSING -270 #define FILL_MODE_BASE_TIME_MISSING -271 #define SWEEP_NOT_FOUND -293 #define SWEEP_BIN_MISSING -294 #define SWEEP_UNITS_MALLOC -295 #define SWEEP_UNITS_REALLOC -296 #define SWEEP_SWP_MALLOC -297 #define SWEEP_SWP_REALLOC -298 #define SWEEP_DATA_MALLOC -299 #define SWEEP_INFO_MALLOC -300 #define SWEEP_WITH_FILL -301 #define FILL_WITH_SWEEP -302 #define SMODE_UNITS_MALLOC -303 #define SMODE_UNITS_REALLOC -304 #define SMODE_DATA_MALLOC -305 #define ALLOC_SMODE_INFO_MALLOC -306 #define SWEEP_MODE_NOT_FOUND -307 #define SWEEP_MODE_FILE_OPEN -308 #define SWEEP_MODE_INFO_DUP -309 #define SWEEP_MODES_NOT_REQUESTED -310 #define SWEEP_MODE_WITH_FILL -311 #define FILL_WITH_SWEEP_MODE -312 #define SWEEP_DISC_NOT_FOUND -313 #define SWEEP_DISC_BIN_MISSING -314 #define SWEEP_DISC_NO_PHI -315 #define SWEEP_DISC_WITH_FILL -316 #define FILL_WITH_SWEEP_DISC -317 #define MASS_PA_ERROR -321 #define CHRG_PA_ERROR -322 #define GET_FPTR_NOT_FOUND -323 #define RET_CBPTR_NOT_FOUND -324 #define RET_CBPTR_NO_SENSOR -325 #define RET_CENTER_NOT_FOUND -326 #define NPHI_NOT_FOUND -328 #define NPHI_NO_BINS -329 #define NBINS_NOT_FOUND -330 #define NBINS_NO_BINS -331 #define FILL_ENV_NOT_FOUND -335 #define FILL_ENV_SCALAR -336 #define FILL_ENV_BASE_TIME_MISSING -337 #define FILL_ENV_BIN_MISSING -338 #define FILL_ENV_WITH_SWEEP -339 #define COMPUTE_MOMENTS -343 #define SET_VWIDTH_UPPER_BAND_MALLOC -350 #define COLLAPSE_DATA_ADDRESS -383 #define NEG_BIN_STAT -385 #define SPIN_INFO_MALLOC -402 #define SPIN_UNITS_MALLOC -403 #define SPIN_UNITS_REALLOC -404 #define SPIN_SWP_MALLOC -405 #define SPIN_SWP_REALLOC -406 #define SPIN_DATA_MALLOC -407 #define SPIN_DATA_PIX_NOT_FOUND -408 #define SPIN_DATA_PIX_WITH_FILL_SWEEP -409 #define SPIN_DATA_PIX_BIN_MISSING -410 #define SPIN_DATA_PIX_CENTER_BAND_MISSING -411 #define SPIN_DATA_PIX_NO_SPIN -412 #define SPIN_DATA_NOT_FOUND -413 #define SPIN_DATA_BIN_MISSING -414 #define SPIN_DATA_WITH_FILL_SWEEP -415 #define SPIN_DATA_CENTER_BAND_MISSING -416 #define SPIN_DATA_NO_SPIN -417 #define FILL_CENTER_BAND_MISSING -418 #define FILL_ENV_CENTER_BAND_MISSING -419 #define FILL_DISC_CENTER_BAND_MISSING -420 #define SWEEP_CENTER_BAND_MISSING -421 #define SWEEP_DISC_CENTER_BAND_MISSING -422 #define SWP_TIMES_TMP_MALLOC -457 #define TRANS_3D_BINNED_MALLOC -490 #endif