/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: /usr/bin/gperf --output-file src/home/homed-gperf.c ../systemd-stable/src/home/homed-gperf.gperf  */
/* Computed positions: -k'' */

#line 2 "../systemd-stable/src/home/homed-gperf.gperf"

#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#endif
#include <stddef.h>
#include "conf-parser.h"
#include "homed-conf.h"
#include <string.h>

#define TOTAL_KEYWORDS 2
#define MIN_WORD_LENGTH 19
#define MAX_WORD_LENGTH 26
#define MIN_HASH_VALUE 19
#define MAX_HASH_VALUE 26
/* maximum key range = 8, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
/*ARGSUSED*/
static unsigned int
homed_gperf_hash (register const char *str, register size_t len)
{
  return len;
}

const struct ConfigPerfItem *
homed_gperf_lookup (register const char *str, register size_t len)
{
  static const struct ConfigPerfItem wordlist[] =
    {
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0},
#line 21 "../systemd-stable/src/home/homed-gperf.gperf"
      {"Home.DefaultStorage",        config_parse_default_storage,          0, offsetof(Manager, default_storage)},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0},
#line 22 "../systemd-stable/src/home/homed-gperf.gperf"
      {"Home.DefaultFileSystemType", config_parse_default_file_system_type, 0, offsetof(Manager, default_file_system_type)}
    };

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

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

          if (s && *str == *s && !strcmp (str + 1, s + 1))
            return &wordlist[key];
        }
    }
  return 0;
}
