/usr/include/openhpi/sahpi_enum_utils.h is in libopenhpi-dev 3.6.1-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 | /* -*- linux-c -*-
*
* (C) Copyright IBM Corp. 2004
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This
* file and program are licensed under a BSD style license. See
* the Copying file included with the OpenHPI distribution for
* full licensing terms.
*
* Author(s):
* Steve Sherman <stevees@us.ibm.com>
*/
/*******************************************************************
* WARNING! This file is auto-magically generated by:
* ./SaHpi2code.pl.
* Do not change this file manually. Update script instead
*******************************************************************/
#ifndef __SAHPI_ENUM_UTILS_H
#define __SAHPI_ENUM_UTILS_H
#ifndef __OH_UTILS_H
#warning *** Include oh_utils.h instead of individual utility header files ***
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define OH_MAX_LANGUAGE 137
extern struct oh_language_map {
SaHpiLanguageT entity_type;
char *str;
} language_strings[OH_MAX_LANGUAGE];
char * oh_lookup_language(SaHpiLanguageT value);
SaErrorT oh_encode_language(SaHpiTextBufferT *buffer, SaHpiLanguageT *type);
#define OH_MAX_TEXTTYPE 5
extern struct oh_texttype_map {
SaHpiTextTypeT entity_type;
char *str;
} texttype_strings[OH_MAX_TEXTTYPE];
char * oh_lookup_texttype(SaHpiTextTypeT value);
SaErrorT oh_encode_texttype(SaHpiTextBufferT *buffer, SaHpiTextTypeT *type);
#define OH_MAX_ENTITYTYPE 104
extern struct oh_entitytype_map {
SaHpiEntityTypeT entity_type;
char *str;
} entitytype_strings[OH_MAX_ENTITYTYPE];
char * oh_lookup_entitytype(SaHpiEntityTypeT value);
SaErrorT oh_encode_entitytype(SaHpiTextBufferT *buffer, SaHpiEntityTypeT *type);
#define OH_MAX_SENSORTYPE 50
extern struct oh_sensortype_map {
SaHpiSensorTypeT entity_type;
char *str;
} sensortype_strings[OH_MAX_SENSORTYPE];
char * oh_lookup_sensortype(SaHpiSensorTypeT value);
SaErrorT oh_encode_sensortype(SaHpiTextBufferT *buffer, SaHpiSensorTypeT *type);
#define OH_MAX_SENSORREADINGTYPE 4
extern struct oh_sensorreadingtype_map {
SaHpiSensorReadingTypeT entity_type;
char *str;
} sensorreadingtype_strings[OH_MAX_SENSORREADINGTYPE];
char * oh_lookup_sensorreadingtype(SaHpiSensorReadingTypeT value);
SaErrorT oh_encode_sensorreadingtype(SaHpiTextBufferT *buffer, SaHpiSensorReadingTypeT *type);
#define OH_MAX_SENSOREVENTMASKACTION 2
extern struct oh_sensoreventmaskaction_map {
SaHpiSensorEventMaskActionT entity_type;
char *str;
} sensoreventmaskaction_strings[OH_MAX_SENSOREVENTMASKACTION];
char * oh_lookup_sensoreventmaskaction(SaHpiSensorEventMaskActionT value);
SaErrorT oh_encode_sensoreventmaskaction(SaHpiTextBufferT *buffer, SaHpiSensorEventMaskActionT *type);
#define OH_MAX_SENSORUNITS 91
extern struct oh_sensorunits_map {
SaHpiSensorUnitsT entity_type;
char *str;
} sensorunits_strings[OH_MAX_SENSORUNITS];
char * oh_lookup_sensorunits(SaHpiSensorUnitsT value);
SaErrorT oh_encode_sensorunits(SaHpiTextBufferT *buffer, SaHpiSensorUnitsT *type);
#define OH_MAX_SENSORMODUNITUSE 3
extern struct oh_sensormodunituse_map {
SaHpiSensorModUnitUseT entity_type;
char *str;
} sensormodunituse_strings[OH_MAX_SENSORMODUNITUSE];
char * oh_lookup_sensormodunituse(SaHpiSensorModUnitUseT value);
SaErrorT oh_encode_sensormodunituse(SaHpiTextBufferT *buffer, SaHpiSensorModUnitUseT *type);
#define OH_MAX_SENSOREVENTCTRL 3
extern struct oh_sensoreventctrl_map {
SaHpiSensorEventCtrlT entity_type;
char *str;
} sensoreventctrl_strings[OH_MAX_SENSOREVENTCTRL];
char * oh_lookup_sensoreventctrl(SaHpiSensorEventCtrlT value);
SaErrorT oh_encode_sensoreventctrl(SaHpiTextBufferT *buffer, SaHpiSensorEventCtrlT *type);
#define OH_MAX_CTRLTYPE 6
extern struct oh_ctrltype_map {
SaHpiCtrlTypeT entity_type;
char *str;
} ctrltype_strings[OH_MAX_CTRLTYPE];
char * oh_lookup_ctrltype(SaHpiCtrlTypeT value);
SaErrorT oh_encode_ctrltype(SaHpiTextBufferT *buffer, SaHpiCtrlTypeT *type);
#define OH_MAX_CTRLSTATEDIGITAL 4
extern struct oh_ctrlstatedigital_map {
SaHpiCtrlStateDigitalT entity_type;
char *str;
} ctrlstatedigital_strings[OH_MAX_CTRLSTATEDIGITAL];
char * oh_lookup_ctrlstatedigital(SaHpiCtrlStateDigitalT value);
SaErrorT oh_encode_ctrlstatedigital(SaHpiTextBufferT *buffer, SaHpiCtrlStateDigitalT *type);
#define OH_MAX_CTRLMODE 2
extern struct oh_ctrlmode_map {
SaHpiCtrlModeT entity_type;
char *str;
} ctrlmode_strings[OH_MAX_CTRLMODE];
char * oh_lookup_ctrlmode(SaHpiCtrlModeT value);
SaErrorT oh_encode_ctrlmode(SaHpiTextBufferT *buffer, SaHpiCtrlModeT *type);
#define OH_MAX_CTRLOUTPUTTYPE 17
extern struct oh_ctrloutputtype_map {
SaHpiCtrlOutputTypeT entity_type;
char *str;
} ctrloutputtype_strings[OH_MAX_CTRLOUTPUTTYPE];
char * oh_lookup_ctrloutputtype(SaHpiCtrlOutputTypeT value);
SaErrorT oh_encode_ctrloutputtype(SaHpiTextBufferT *buffer, SaHpiCtrlOutputTypeT *type);
#define OH_MAX_IDRAREATYPE 6
extern struct oh_idrareatype_map {
SaHpiIdrAreaTypeT entity_type;
char *str;
} idrareatype_strings[OH_MAX_IDRAREATYPE];
char * oh_lookup_idrareatype(SaHpiIdrAreaTypeT value);
SaErrorT oh_encode_idrareatype(SaHpiTextBufferT *buffer, SaHpiIdrAreaTypeT *type);
#define OH_MAX_IDRFIELDTYPE 11
extern struct oh_idrfieldtype_map {
SaHpiIdrFieldTypeT entity_type;
char *str;
} idrfieldtype_strings[OH_MAX_IDRFIELDTYPE];
char * oh_lookup_idrfieldtype(SaHpiIdrFieldTypeT value);
SaErrorT oh_encode_idrfieldtype(SaHpiTextBufferT *buffer, SaHpiIdrFieldTypeT *type);
#define OH_MAX_WATCHDOGACTION 4
extern struct oh_watchdogaction_map {
SaHpiWatchdogActionT entity_type;
char *str;
} watchdogaction_strings[OH_MAX_WATCHDOGACTION];
char * oh_lookup_watchdogaction(SaHpiWatchdogActionT value);
SaErrorT oh_encode_watchdogaction(SaHpiTextBufferT *buffer, SaHpiWatchdogActionT *type);
#define OH_MAX_WATCHDOGACTIONEVENT 5
extern struct oh_watchdogactionevent_map {
SaHpiWatchdogActionEventT entity_type;
char *str;
} watchdogactionevent_strings[OH_MAX_WATCHDOGACTIONEVENT];
char * oh_lookup_watchdogactionevent(SaHpiWatchdogActionEventT value);
SaErrorT oh_encode_watchdogactionevent(SaHpiTextBufferT *buffer, SaHpiWatchdogActionEventT *type);
#define OH_MAX_WATCHDOGPRETIMERINTERRUPT 5
extern struct oh_watchdogpretimerinterrupt_map {
SaHpiWatchdogPretimerInterruptT entity_type;
char *str;
} watchdogpretimerinterrupt_strings[OH_MAX_WATCHDOGPRETIMERINTERRUPT];
char * oh_lookup_watchdogpretimerinterrupt(SaHpiWatchdogPretimerInterruptT value);
SaErrorT oh_encode_watchdogpretimerinterrupt(SaHpiTextBufferT *buffer, SaHpiWatchdogPretimerInterruptT *type);
#define OH_MAX_WATCHDOGTIMERUSE 7
extern struct oh_watchdogtimeruse_map {
SaHpiWatchdogTimerUseT entity_type;
char *str;
} watchdogtimeruse_strings[OH_MAX_WATCHDOGTIMERUSE];
char * oh_lookup_watchdogtimeruse(SaHpiWatchdogTimerUseT value);
SaErrorT oh_encode_watchdogtimeruse(SaHpiTextBufferT *buffer, SaHpiWatchdogTimerUseT *type);
#define OH_MAX_DIMITESTSERVICEIMPACT 3
extern struct oh_dimitestserviceimpact_map {
SaHpiDimiTestServiceImpactT entity_type;
char *str;
} dimitestserviceimpact_strings[OH_MAX_DIMITESTSERVICEIMPACT];
char * oh_lookup_dimitestserviceimpact(SaHpiDimiTestServiceImpactT value);
SaErrorT oh_encode_dimitestserviceimpact(SaHpiTextBufferT *buffer, SaHpiDimiTestServiceImpactT *type);
#define OH_MAX_DIMITESTRUNSTATUS 5
extern struct oh_dimitestrunstatus_map {
SaHpiDimiTestRunStatusT entity_type;
char *str;
} dimitestrunstatus_strings[OH_MAX_DIMITESTRUNSTATUS];
char * oh_lookup_dimitestrunstatus(SaHpiDimiTestRunStatusT value);
SaErrorT oh_encode_dimitestrunstatus(SaHpiTextBufferT *buffer, SaHpiDimiTestRunStatusT *type);
#define OH_MAX_DIMITESTERRCODE 3
extern struct oh_dimitesterrcode_map {
SaHpiDimiTestErrCodeT entity_type;
char *str;
} dimitesterrcode_strings[OH_MAX_DIMITESTERRCODE];
char * oh_lookup_dimitesterrcode(SaHpiDimiTestErrCodeT value);
SaErrorT oh_encode_dimitesterrcode(SaHpiTextBufferT *buffer, SaHpiDimiTestErrCodeT *type);
#define OH_MAX_DIMITESTPARAMTYPE 4
extern struct oh_dimitestparamtype_map {
SaHpiDimiTestParamTypeT entity_type;
char *str;
} dimitestparamtype_strings[OH_MAX_DIMITESTPARAMTYPE];
char * oh_lookup_dimitestparamtype(SaHpiDimiTestParamTypeT value);
SaErrorT oh_encode_dimitestparamtype(SaHpiTextBufferT *buffer, SaHpiDimiTestParamTypeT *type);
#define OH_MAX_DIMIREADY 3
extern struct oh_dimiready_map {
SaHpiDimiReadyT entity_type;
char *str;
} dimiready_strings[OH_MAX_DIMIREADY];
char * oh_lookup_dimiready(SaHpiDimiReadyT value);
SaErrorT oh_encode_dimiready(SaHpiTextBufferT *buffer, SaHpiDimiReadyT *type);
#define OH_MAX_FUMISPECINFOTYPE 3
extern struct oh_fumispecinfotype_map {
SaHpiFumiSpecInfoTypeT entity_type;
char *str;
} fumispecinfotype_strings[OH_MAX_FUMISPECINFOTYPE];
char * oh_lookup_fumispecinfotype(SaHpiFumiSpecInfoTypeT value);
SaErrorT oh_encode_fumispecinfotype(SaHpiTextBufferT *buffer, SaHpiFumiSpecInfoTypeT *type);
#define OH_MAX_FUMISAFDEFINEDSPECID 1
extern struct oh_fumisafdefinedspecid_map {
SaHpiFumiSafDefinedSpecIdT entity_type;
char *str;
} fumisafdefinedspecid_strings[OH_MAX_FUMISAFDEFINEDSPECID];
char * oh_lookup_fumisafdefinedspecid(SaHpiFumiSafDefinedSpecIdT value);
SaErrorT oh_encode_fumisafdefinedspecid(SaHpiTextBufferT *buffer, SaHpiFumiSafDefinedSpecIdT *type);
#define OH_MAX_FUMISERVICEIMPACT 3
extern struct oh_fumiserviceimpact_map {
SaHpiFumiServiceImpactT entity_type;
char *str;
} fumiserviceimpact_strings[OH_MAX_FUMISERVICEIMPACT];
char * oh_lookup_fumiserviceimpact(SaHpiFumiServiceImpactT value);
SaErrorT oh_encode_fumiserviceimpact(SaHpiTextBufferT *buffer, SaHpiFumiServiceImpactT *type);
#define OH_MAX_FUMISOURCESTATUS 9
extern struct oh_fumisourcestatus_map {
SaHpiFumiSourceStatusT entity_type;
char *str;
} fumisourcestatus_strings[OH_MAX_FUMISOURCESTATUS];
char * oh_lookup_fumisourcestatus(SaHpiFumiSourceStatusT value);
SaErrorT oh_encode_fumisourcestatus(SaHpiTextBufferT *buffer, SaHpiFumiSourceStatusT *type);
#define OH_MAX_FUMIBANKSTATE 6
extern struct oh_fumibankstate_map {
SaHpiFumiBankStateT entity_type;
char *str;
} fumibankstate_strings[OH_MAX_FUMIBANKSTATE];
char * oh_lookup_fumibankstate(SaHpiFumiBankStateT value);
SaErrorT oh_encode_fumibankstate(SaHpiTextBufferT *buffer, SaHpiFumiBankStateT *type);
#define OH_MAX_FUMIUPGRADESTATUS 33
extern struct oh_fumiupgradestatus_map {
SaHpiFumiUpgradeStatusT entity_type;
char *str;
} fumiupgradestatus_strings[OH_MAX_FUMIUPGRADESTATUS];
char * oh_lookup_fumiupgradestatus(SaHpiFumiUpgradeStatusT value);
SaErrorT oh_encode_fumiupgradestatus(SaHpiTextBufferT *buffer, SaHpiFumiUpgradeStatusT *type);
#define OH_MAX_HSINDICATORSTATE 2
extern struct oh_hsindicatorstate_map {
SaHpiHsIndicatorStateT entity_type;
char *str;
} hsindicatorstate_strings[OH_MAX_HSINDICATORSTATE];
char * oh_lookup_hsindicatorstate(SaHpiHsIndicatorStateT value);
SaErrorT oh_encode_hsindicatorstate(SaHpiTextBufferT *buffer, SaHpiHsIndicatorStateT *type);
#define OH_MAX_HSACTION 2
extern struct oh_hsaction_map {
SaHpiHsActionT entity_type;
char *str;
} hsaction_strings[OH_MAX_HSACTION];
char * oh_lookup_hsaction(SaHpiHsActionT value);
SaErrorT oh_encode_hsaction(SaHpiTextBufferT *buffer, SaHpiHsActionT *type);
#define OH_MAX_HSSTATE 5
extern struct oh_hsstate_map {
SaHpiHsStateT entity_type;
char *str;
} hsstate_strings[OH_MAX_HSSTATE];
char * oh_lookup_hsstate(SaHpiHsStateT value);
SaErrorT oh_encode_hsstate(SaHpiTextBufferT *buffer, SaHpiHsStateT *type);
#define OH_MAX_HSCAUSEOFSTATECHANGE 10
extern struct oh_hscauseofstatechange_map {
SaHpiHsCauseOfStateChangeT entity_type;
char *str;
} hscauseofstatechange_strings[OH_MAX_HSCAUSEOFSTATECHANGE];
char * oh_lookup_hscauseofstatechange(SaHpiHsCauseOfStateChangeT value);
SaErrorT oh_encode_hscauseofstatechange(SaHpiTextBufferT *buffer, SaHpiHsCauseOfStateChangeT *type);
#define OH_MAX_SEVERITY 7
extern struct oh_severity_map {
SaHpiSeverityT entity_type;
char *str;
} severity_strings[OH_MAX_SEVERITY];
char * oh_lookup_severity(SaHpiSeverityT value);
SaErrorT oh_encode_severity(SaHpiTextBufferT *buffer, SaHpiSeverityT *type);
#define OH_MAX_RESOURCEEVENTTYPE 6
extern struct oh_resourceeventtype_map {
SaHpiResourceEventTypeT entity_type;
char *str;
} resourceeventtype_strings[OH_MAX_RESOURCEEVENTTYPE];
char * oh_lookup_resourceeventtype(SaHpiResourceEventTypeT value);
SaErrorT oh_encode_resourceeventtype(SaHpiTextBufferT *buffer, SaHpiResourceEventTypeT *type);
#define OH_MAX_DOMAINEVENTTYPE 2
extern struct oh_domaineventtype_map {
SaHpiDomainEventTypeT entity_type;
char *str;
} domaineventtype_strings[OH_MAX_DOMAINEVENTTYPE];
char * oh_lookup_domaineventtype(SaHpiDomainEventTypeT value);
SaErrorT oh_encode_domaineventtype(SaHpiTextBufferT *buffer, SaHpiDomainEventTypeT *type);
#define OH_MAX_SWEVENTTYPE 3
extern struct oh_sweventtype_map {
SaHpiSwEventTypeT entity_type;
char *str;
} sweventtype_strings[OH_MAX_SWEVENTTYPE];
char * oh_lookup_sweventtype(SaHpiSwEventTypeT value);
SaErrorT oh_encode_sweventtype(SaHpiTextBufferT *buffer, SaHpiSwEventTypeT *type);
#define OH_MAX_EVENTTYPE 12
extern struct oh_eventtype_map {
SaHpiEventTypeT entity_type;
char *str;
} eventtype_strings[OH_MAX_EVENTTYPE];
char * oh_lookup_eventtype(SaHpiEventTypeT value);
SaErrorT oh_encode_eventtype(SaHpiTextBufferT *buffer, SaHpiEventTypeT *type);
#define OH_MAX_STATUSCONDTYPE 4
extern struct oh_statuscondtype_map {
SaHpiStatusCondTypeT entity_type;
char *str;
} statuscondtype_strings[OH_MAX_STATUSCONDTYPE];
char * oh_lookup_statuscondtype(SaHpiStatusCondTypeT value);
SaErrorT oh_encode_statuscondtype(SaHpiTextBufferT *buffer, SaHpiStatusCondTypeT *type);
#define OH_MAX_ANNUNCIATORMODE 3
extern struct oh_annunciatormode_map {
SaHpiAnnunciatorModeT entity_type;
char *str;
} annunciatormode_strings[OH_MAX_ANNUNCIATORMODE];
char * oh_lookup_annunciatormode(SaHpiAnnunciatorModeT value);
SaErrorT oh_encode_annunciatormode(SaHpiTextBufferT *buffer, SaHpiAnnunciatorModeT *type);
#define OH_MAX_ANNUNCIATORTYPE 7
extern struct oh_annunciatortype_map {
SaHpiAnnunciatorTypeT entity_type;
char *str;
} annunciatortype_strings[OH_MAX_ANNUNCIATORTYPE];
char * oh_lookup_annunciatortype(SaHpiAnnunciatorTypeT value);
SaErrorT oh_encode_annunciatortype(SaHpiTextBufferT *buffer, SaHpiAnnunciatorTypeT *type);
#define OH_MAX_RDRTYPE 8
extern struct oh_rdrtype_map {
SaHpiRdrTypeT entity_type;
char *str;
} rdrtype_strings[OH_MAX_RDRTYPE];
char * oh_lookup_rdrtype(SaHpiRdrTypeT value);
SaErrorT oh_encode_rdrtype(SaHpiTextBufferT *buffer, SaHpiRdrTypeT *type);
#define OH_MAX_PARMACTION 3
extern struct oh_parmaction_map {
SaHpiParmActionT entity_type;
char *str;
} parmaction_strings[OH_MAX_PARMACTION];
char * oh_lookup_parmaction(SaHpiParmActionT value);
SaErrorT oh_encode_parmaction(SaHpiTextBufferT *buffer, SaHpiParmActionT *type);
#define OH_MAX_RESETACTION 4
extern struct oh_resetaction_map {
SaHpiResetActionT entity_type;
char *str;
} resetaction_strings[OH_MAX_RESETACTION];
char * oh_lookup_resetaction(SaHpiResetActionT value);
SaErrorT oh_encode_resetaction(SaHpiTextBufferT *buffer, SaHpiResetActionT *type);
#define OH_MAX_POWERSTATE 3
extern struct oh_powerstate_map {
SaHpiPowerStateT entity_type;
char *str;
} powerstate_strings[OH_MAX_POWERSTATE];
char * oh_lookup_powerstate(SaHpiPowerStateT value);
SaErrorT oh_encode_powerstate(SaHpiTextBufferT *buffer, SaHpiPowerStateT *type);
#define OH_MAX_EVENTLOGOVERFLOWACTION 2
extern struct oh_eventlogoverflowaction_map {
SaHpiEventLogOverflowActionT entity_type;
char *str;
} eventlogoverflowaction_strings[OH_MAX_EVENTLOGOVERFLOWACTION];
char * oh_lookup_eventlogoverflowaction(SaHpiEventLogOverflowActionT value);
SaErrorT oh_encode_eventlogoverflowaction(SaHpiTextBufferT *buffer, SaHpiEventLogOverflowActionT *type);
#define OH_MAX_ERROR 24
extern struct oh_error_map {
SaErrorT entity_type;
char *str;
} error_strings[OH_MAX_ERROR];
char * oh_lookup_error(SaErrorT value);
SaErrorT oh_encode_error(SaHpiTextBufferT *buffer, SaErrorT *type);
#define OH_MAX_EVENTCATEGORY 14
extern struct oh_eventcategory_map {
SaHpiEventCategoryT entity_type;
char *str;
} eventcategory_strings[OH_MAX_EVENTCATEGORY];
char * oh_lookup_eventcategory(SaHpiEventCategoryT value);
SaErrorT oh_encode_eventcategory(SaHpiTextBufferT *buffer, SaHpiEventCategoryT *type);
#ifdef __cplusplus
}
#endif
#endif
|