1 /* 2 * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 #ifndef ILTUTIL_H_ 19 #define ILTUTIL_H_ 20 21 #include "gbldefs.h" 22 #include <stdio.h> 23 24 /** 25 \brief ... 26 */ 27 int addilt(int after, int ilix); 28 29 /** 30 \brief ... 31 */ 32 int reduce_ilt(int iltx, int ilix); 33 34 /** 35 \brief ... 36 */ 37 void *ccff_ilt_info(int msgtype, const char *msgid, int iltx, int bihx, const char *message, ...); 38 39 /** 40 \brief ... 41 */ 42 void delilt(int iltx); 43 44 /** 45 \brief ... 46 */ 47 void dmpilt(int bihx); 48 49 /** 50 \brief ... 51 */ 52 void dump_ilt(FILE *ff, int bihx); 53 54 /** 55 \brief ... 56 */ 57 void ilt_cleanup(void); 58 59 /** 60 \brief ... 61 */ 62 void ilt_init(void); 63 64 /** 65 \brief ... 66 */ 67 void moveilt(int iltx, int before); 68 69 /** 70 \brief ... 71 */ 72 void rdilts(int bihx); 73 74 /** 75 \brief ... 76 */ 77 void relnkilt(int iltx, int bihx); 78 79 /** 80 \brief ... 81 */ 82 void *subccff_ilt_info(void *xparent, int msgtype, const char *msgid, int iltx, int bihx, const char *message, ...); 83 84 /** 85 \brief ... 86 */ 87 void unlnkilt(int iltx, int bihx, bool reuse); 88 89 /** 90 \brief ... 91 */ 92 void wrilts(int bihx); 93 94 #endif // ILTUTIL_H_ 95