1 #ifndef _MSG_DOT_H 2 #define _MSG_DOT_H 3 4 #include <sgsmsg.h> /* Msg typedef */ 5 6 #ifndef __lint 7 8 #define MSG_SGS_LOCAL_ARRAY __libcrle_msg 9 10 extern const char __libcrle_msg[]; 11 12 #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] 13 14 #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __libcrle_msg) 15 16 extern const char * _libcrle_msg(Msg); 17 18 #define MSG_INTL(x) _libcrle_msg(x) 19 20 21 #define MSG_SYS_OPEN 1 22 #define MSG_SYS_OPEN_SIZE 24 23 24 #define MSG_SYS_READ 26 25 #define MSG_SYS_READ_SIZE 24 26 27 #define MSG_SYS_MMAP 51 28 #define MSG_SYS_MMAP_SIZE 24 29 30 #define MSG_SYS_ALLOC 76 31 #define MSG_SYS_ALLOC_SIZE 33 32 33 #define MSG_DL_OPEN 110 34 #define MSG_DL_OPEN_SIZE 22 35 36 #define MSG_DL_DUMP 133 37 #define MSG_DL_DUMP_SIZE 22 38 39 #define MSG_DL_INFO 156 40 #define MSG_DL_INFO_SIZE 22 41 42 #define MSG_AUD_DEPEND 179 43 #define MSG_AUD_DEPEND_SIZE 23 44 45 #define MSG_AUD_FILTER 203 46 #define MSG_AUD_FILTER_SIZE 31 47 48 #define MSG_AUD_RESBGN 235 49 #define MSG_AUD_RESBGN_SIZE 25 50 51 #define MSG_AUD_RESEND 261 52 #define MSG_AUD_RESEND_SIZE 25 53 54 #define MSG_ENV_AUD_FD 287 55 #define MSG_ENV_AUD_FD_SIZE 7 56 57 #define MSG_ENV_AUD_FLAGS 295 58 #define MSG_ENV_AUD_FLAGS_SIZE 10 59 60 #define MSG_FIL_LIBCRLE 306 61 #define MSG_FIL_LIBCRLE_SIZE 7 62 63 #define MSG_PTH_PROCRMAP 314 64 #define MSG_PTH_PROCRMAP_SIZE 15 65 66 #define MSG_PTH_PROCSTATUS 330 67 #define MSG_PTH_PROCSTATUS_SIZE 17 68 69 #define MSG_PTH_DEVNULL 348 70 #define MSG_PTH_DEVNULL_SIZE 9 71 72 #define MSG_SUNW_OST_SGS 358 73 #define MSG_SUNW_OST_SGS_SIZE 12 74 75 #else /* __lint */ 76 77 extern const char * _libcrle_msg(Msg); 78 79 #ifndef MSG_SGS_LOCAL_ARRAY 80 #define MSG_SGS_LOCAL_ARRAY "" 81 #endif 82 83 extern const char __libcrle_msg[]; 84 85 #define MSG_ORIG_STRTAB(_x, _s) _x 86 #define MSG_ORIG(x) x 87 #define MSG_INTL(x) x 88 89 #ifndef LINTSUP_SUPPRESS_STRINGS 90 91 #define MSG_SYS_OPEN "%s: %s: open failed: %s\n" 92 #define MSG_SYS_OPEN_SIZE 24 93 94 #define MSG_SYS_READ "%s: %s: read failed: %s\n" 95 #define MSG_SYS_READ_SIZE 24 96 97 #define MSG_SYS_MMAP "%s: %s: mmap failed: %s\n" 98 #define MSG_SYS_MMAP_SIZE 24 99 100 #define MSG_SYS_ALLOC "%s: memory allocation failed: %s\n" 101 #define MSG_SYS_ALLOC_SIZE 33 102 103 #define MSG_DL_OPEN "%s: dlopen failed: %s\n" 104 #define MSG_DL_OPEN_SIZE 22 105 106 #define MSG_DL_DUMP "%s: dldump failed: %s\n" 107 #define MSG_DL_DUMP_SIZE 22 108 109 #define MSG_DL_INFO "%s: dlinfo failed: %s\n" 110 #define MSG_DL_INFO_SIZE 22 111 112 #define MSG_AUD_DEPEND "__CRLE_DEP__:depend:%s\n" 113 #define MSG_AUD_DEPEND_SIZE 23 114 115 #define MSG_AUD_FILTER "__CRLE_DEP__:filter:%s:(%s):%s\n" 116 #define MSG_AUD_FILTER_SIZE 31 117 118 #define MSG_AUD_RESBGN "__CRLE_DEP__:resbgn:%llu\n" 119 #define MSG_AUD_RESBGN_SIZE 25 120 121 #define MSG_AUD_RESEND "__CRLE_DEP__:resend:%llu\n" 122 #define MSG_AUD_RESEND_SIZE 25 123 124 #define MSG_ENV_AUD_FD "CRLE_FD" 125 #define MSG_ENV_AUD_FD_SIZE 7 126 127 #define MSG_ENV_AUD_FLAGS "CRLE_FLAGS" 128 #define MSG_ENV_AUD_FLAGS_SIZE 10 129 130 #define MSG_FIL_LIBCRLE "libcrle" 131 #define MSG_FIL_LIBCRLE_SIZE 7 132 133 #define MSG_PTH_PROCRMAP "/proc/self/rmap" 134 #define MSG_PTH_PROCRMAP_SIZE 15 135 136 #define MSG_PTH_PROCSTATUS "/proc/self/status" 137 #define MSG_PTH_PROCSTATUS_SIZE 17 138 139 #define MSG_PTH_DEVNULL "/dev/null" 140 #define MSG_PTH_DEVNULL_SIZE 9 141 142 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" 143 #define MSG_SUNW_OST_SGS_SIZE 12 144 145 #endif /* LINTSUP_SUPPRESS_STRINGS */ 146 147 #endif /* __lint */ 148 149 #endif 150