ipmi_strings.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*
  2. * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * Redistribution of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * Redistribution in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the distribution.
  14. *
  15. * Neither the name of Sun Microsystems, Inc. or the names of
  16. * contributors may be used to endorse or promote products derived
  17. * from this software without specific prior written permission.
  18. *
  19. * This software is provided "AS IS," without a warranty of any kind.
  20. * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
  21. * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
  22. * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
  23. * SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE
  24. * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
  25. * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL
  26. * SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
  27. * OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
  28. * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
  29. * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
  30. * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  31. */
  32. #ifndef IPMI_STRINGS_H
  33. #define IPMI_STRINGS_H
  34. #include <ipmitool/helper.h>
  35. extern const struct valstr completion_code_vals[];
  36. extern const struct valstr entity_id_vals[];
  37. extern const struct valstr entity_device_type_vals[];
  38. extern const struct valstr ipmi_netfn_vals[];
  39. extern const struct valstr ipmi_channel_activity_type_vals[];
  40. extern const struct valstr ipmi_privlvl_vals[];
  41. extern const struct valstr ipmi_bit_rate_vals[];
  42. extern const struct valstr ipmi_set_in_progress_vals[];
  43. extern const struct valstr ipmi_authtype_session_vals[];
  44. extern const struct valstr ipmi_authtype_vals[];
  45. extern const struct valstr ipmi_channel_protocol_vals[];
  46. extern const struct valstr ipmi_channel_medium_vals[];
  47. extern const struct valstr ipmi_chassis_power_control_vals[];
  48. extern const struct valstr ipmi_auth_algorithms[];
  49. extern const struct valstr ipmi_integrity_algorithms[];
  50. extern const struct valstr ipmi_encryption_algorithms[];
  51. extern const struct valstr ipmi_oem_info[];
  52. extern const struct valstr ipmi_user_enable_status_vals[];
  53. extern const struct valstr picmg_frucontrol_vals[];
  54. extern const struct valstr picmg_clk_family_vals[];
  55. extern const struct oemvalstr picmg_clk_accuracy_vals[];
  56. extern const struct oemvalstr picmg_clk_resource_vals[];
  57. extern const struct oemvalstr picmg_clk_id_vals[];
  58. extern const struct valstr picmg_busres_id_vals[];
  59. extern const struct valstr picmg_busres_board_cmd_vals[];
  60. extern const struct valstr picmg_busres_shmc_cmd_vals[];
  61. extern const struct oemvalstr picmg_busres_board_status_vals[];
  62. extern const struct oemvalstr picmg_busres_shmc_status_vals[];
  63. /* these are similar, expect that the lookup takes the IANA number
  64. as first parameter */
  65. extern const struct oemvalstr ipmi_oem_product_info[];
  66. extern const char *ipmi_generic_sensor_type_vals[];
  67. extern const struct oemvalstr ipmi_oem_sensor_type_vals[];
  68. #endif /*IPMI_STRINGS_H*/