/* generated by make_jsonrpc_methods.py */

/* C++ code produced by gperf version 3.2.1 */
/* Command-line: gperf -L C++  */
/* Computed positions: -k'1,6,$' */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
#endif

/* maximum key range = 161, duplicates = 0 */

class Perfect_Hash
{
private:
  static inline unsigned int hash (const char *str, size_t len);
public:
  static const struct CmdConnection::methodnames *in_word_set (const char *str, size_t len);
};

inline unsigned int
Perfect_Hash::hash (const char *str, size_t len)
{
  static const unsigned char asso_values[] =
    {
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
      174, 174, 174, 174, 174,  95, 174,  30,   5,  55,
       60,   0, 174,   0,   5,  50,   5,  60,  40,   0,
       15,  60,  45,   5,  10,   5,  10,  90,   0,  25,
      174,  10, 174, 174, 174, 174, 174, 174
    };
  unsigned int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[static_cast<unsigned char>(str[5])];
#if (defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang__ && __clang_major__ + (__clang_minor__ >= 9) > 3))) || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 202000L && ((defined __GNUC__ && __GNUC__ >= 10) || (defined __clang__ && __clang_major__ >= 9)))
      [[fallthrough]];
#elif (defined __GNUC__ && __GNUC__ >= 7) || (defined __clang__ && __clang_major__ >= 10)
      __attribute__ ((__fallthrough__));
#endif
      /*FALLTHROUGH*/
      case 5:
      case 4:
      case 3:
      case 2:
      case 1:
        hval += asso_values[static_cast<unsigned char>(str[0])];
        break;
    }
  return hval + asso_values[static_cast<unsigned char>(str[len - 1])];
}

const struct CmdConnection::methodnames *
Perfect_Hash::in_word_set (const char *str, size_t len)
{
  enum
    {
      TOTAL_KEYWORDS = 86,
      MIN_WORD_LENGTH = 3,
      MAX_WORD_LENGTH = 29,
      MIN_HASH_VALUE = 13,
      MAX_HASH_VALUE = 173
    };

#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
  static const struct CmdConnection::methodnames wordlist[] =
    {
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""},
      {"get", RPCM_get},
      {"midi_size", RPCM_midi_size},
      {"banks", RPCM_banks},
      {""}, {""},
      {"set", RPNM_set},
      {"bank_save", RPNM_bank_save},
      {"midi_get_config_mode", RPCM_midi_get_config_mode},
      {""},
      {"bank_get_filename", RPCM_bank_get_filename},
      {"bank_set_flag", RPNM_bank_set_flag},
      {"setpreset", RPNM_setpreset},
      {"midi_set_config_mode", RPNM_midi_set_config_mode},
      {"bank_remove", RPCM_bank_remove},
      {"bank_get_contents", RPCM_bank_get_contents},
      {"midi_modifyCurrent", RPNM_midi_modifyCurrent},
      {""}, {""}, {""},
      {"switch_tuner", RPNM_switch_tuner},
      {"rename_preset", RPCM_rename_preset},
      {"reorder_preset", RPNM_reorder_preset},
      {"getversion", RPCM_getversion},
      {"remove_rack_unit", RPNM_remove_rack_unit},
      {"bank_reorder", RPNM_bank_reorder},
      {"getstate", RPCM_getstate},
      {""},
      {"request_midi_value_update", RPNM_request_midi_value_update},
      {""},
      {"get_oscilloscope_mul_buffer", RPCM_get_oscilloscope_mul_buffer},
      {"setstate", RPNM_setstate},
      {""}, {""}, {""},
      {"set_oscilloscope_mul_buffer", RPNM_set_oscilloscope_mul_buffer},
      {""},
      {"get_parameter_value", RPCM_get_parameter_value},
      {""}, {""},
      {"pf_save", RPNM_pf_save},
      {"get_parameter", RPCM_get_parameter},
      {"list", RPCM_list},
      {""}, {""},
      {"get_last_midi_control_value", RPCM_get_last_midi_control_value},
      {""},
      {"get_rack_unit_order", RPCM_get_rack_unit_order},
      {"set_jack_insert", RPNM_set_jack_insert},
      {"get_updates", RPNM_get_updates},
      {"set_last_midi_control_value", RPNM_set_last_midi_control_value},
      {""}, {""}, {""},
      {"pf_insert_before", RPNM_pf_insert_before},
      {"presets", RPCM_presets},
      {"parameterlist", RPCM_parameterlist},
      {"midi_set_current_control", RPNM_midi_set_current_control},
      {"save_ladspalist", RPNM_save_ladspalist},
      {"save_preset", RPNM_save_preset},
      {"insert_param", RPNM_insert_param},
      {"get_file_list", RPCM_get_file_list},
      {""},
      {"pf_insert_after", RPNM_pf_insert_after},
      {"listen", RPNM_listen},
      {""},
      {"bank_check_reparse", RPCM_bank_check_reparse},
      {""},
      {"pluginlist", RPCM_pluginlist},
      {"rename_bank", RPCM_rename_bank},
      {"save_current", RPNM_save_current},
      {"plugin_preset_list_save", RPNM_plugin_preset_list_save},
      {"bank_insert_content", RPCM_bank_insert_content},
      {"plugin_preset_list_remove", RPNM_plugin_preset_list_remove},
      {"insert_rack_unit", RPNM_insert_rack_unit},
      {""},
      {"shutdown", RPNM_shutdown},
      {"convert_preset", RPCM_convert_preset},
      {"midi_deleteParameter", RPNM_midi_deleteParameter},
      {""},
      {"plugin_preset_list_set", RPNM_plugin_preset_list_set},
      {""},
      {"create_default_scratch_preset", RPNM_create_default_scratch_preset},
      {"bank_insert_new", RPCM_bank_insert_new},
      {""},
      {"plugin_preset_list_sync_set", RPNM_plugin_preset_list_sync_set},
      {"get_bank", RPCM_get_bank},
      {"reload_impresp_list", RPNM_reload_impresp_list},
      {"get_tuning", RPCM_get_tuning},
      {""},
      {"ladspaloader_update_plugins", RPCM_ladspaloader_update_plugins},
      {""},
      {"get_tuner_note", RPCM_get_tuner_note},
      {"load_ladspalist", RPCM_load_ladspalist},
      {""}, {""}, {""},
      {"get_tuner_freq", RPCM_get_tuner_freq},
      {"read_audio", RPCM_read_audio},
      {"set_midi_channel", RPNM_set_midi_channel},
      {"load_impresp_dirs", RPCM_load_impresp_dirs},
      {""},
      {"queryunit", RPCM_queryunit},
      {"get_tuner_switcher_active", RPCM_get_tuner_switcher_active},
      {""},
      {"erase_preset", RPNM_erase_preset},
      {"get_midi_controller_map", RPCM_get_midi_controller_map},
      {"desc", RPCM_desc},
      {""},
      {"sendcc", RPNM_sendcc},
      {""},
      {"unlisten", RPNM_unlisten},
      {"plugin_load_ui", RPCM_plugin_load_ui},
      {""},
      {"tuner_switcher_toggle", RPNM_tuner_switcher_toggle},
      {"get_midi_feedback", RPCM_get_midi_feedback},
      {"tuner_switcher_activate", RPNM_tuner_switcher_activate},
      {""},
      {"tuner_switcher_deactivate", RPNM_tuner_switcher_deactivate},
      {""},
      {"set_midi_feedback", RPNM_set_midi_feedback},
      {"jack_cpu_load", RPCM_jack_cpu_load},
      {""}, {""}, {""},
      {"tuner_used_for_display", RPNM_tuner_used_for_display},
      {""}, {""}, {""}, {""}, {""},
      {"plugin_preset_list_load", RPCM_plugin_preset_list_load},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""}, {""}, {""},
      {"pf_append", RPNM_pf_append},
      {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
      {""}, {""}, {""}, {""},
      {"tuner_used_by_midi", RPNM_tuner_used_by_midi}
    };
#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
#pragma GCC diagnostic pop
#endif

  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
    {
      unsigned int key = hash (str, len);

      if (key <= MAX_HASH_VALUE)
        {
          const char *s = wordlist[key].name;

          if (*str == *s && !strcmp (str + 1, s + 1))
            return &wordlist[key];
        }
    }
  return static_cast<struct CmdConnection::methodnames *> (0);
}


const jsonrpc_method_def jsonrpc_method_list[] = {
	{ "getversion", true },
	{ "shutdown", false },
	{ "listen", false },
	{ "unlisten", false },
	{ "getstate", true },
	{ "setstate", false },
	{ "jack_cpu_load", true },
	{ "set_jack_insert", false },
	{ "get", true },
	{ "set", false },
	{ "parameterlist", true },
	{ "get_parameter", true },
	{ "get_parameter_value", true },
	{ "desc", true },
	{ "list", true },
	{ "insert_param", false },
	{ "get_updates", false },
	{ "banks", true },
	{ "setpreset", false },
	{ "create_default_scratch_preset", false },
	{ "sendcc", false },
	{ "bank_insert_content", true },
	{ "bank_insert_new", true },
	{ "get_bank", true },
	{ "rename_bank", true },
	{ "bank_remove", true },
	{ "bank_get_contents", true },
	{ "bank_reorder", false },
	{ "bank_check_reparse", true },
	{ "bank_get_filename", true },
	{ "bank_set_flag", false },
	{ "convert_preset", true },
	{ "bank_save", false },
	{ "pf_save", false },
	{ "save_current", false },
	{ "save_preset", false },
	{ "presets", true },
	{ "rename_preset", true },
	{ "reorder_preset", false },
	{ "erase_preset", false },
	{ "pf_append", false },
	{ "pf_insert_before", false },
	{ "pf_insert_after", false },
	{ "plugin_preset_list_load", true },
	{ "plugin_preset_list_sync_set", false },
	{ "plugin_preset_list_set", false },
	{ "plugin_preset_list_save", false },
	{ "plugin_preset_list_remove", false },
	{ "pluginlist", true },
	{ "plugin_load_ui", true },
	{ "get_rack_unit_order", true },
	{ "get_file_list", true },
	{ "insert_rack_unit", false },
	{ "remove_rack_unit", false },
	{ "queryunit", true },
	{ "get_midi_controller_map", true },
	{ "midi_size", true },
	{ "midi_deleteParameter", false },
	{ "midi_modifyCurrent", false },
	{ "midi_get_config_mode", true },
	{ "midi_set_config_mode", false },
	{ "midi_set_current_control", false },
	{ "set_midi_channel", false },
	{ "request_midi_value_update", false },
	{ "get_last_midi_control_value", true },
	{ "set_last_midi_control_value", false },
	{ "get_midi_feedback", true },
	{ "set_midi_feedback", false },
	{ "get_tuning", true },
	{ "get_tuner_freq", true },
	{ "get_tuner_note", true },
	{ "switch_tuner", false },
	{ "tuner_used_for_display", false },
	{ "tuner_used_by_midi", false },
	{ "set_oscilloscope_mul_buffer", false },
	{ "get_oscilloscope_mul_buffer", true },
	{ "reload_impresp_list", false },
	{ "load_impresp_dirs", true },
	{ "read_audio", true },
	{ "load_ladspalist", true },
	{ "save_ladspalist", false },
	{ "ladspaloader_update_plugins", true },
	{ "get_tuner_switcher_active", true },
	{ "tuner_switcher_activate", false },
	{ "tuner_switcher_deactivate", false },
	{ "tuner_switcher_toggle", false },
};
