
/* This file is generated from poldek.conf.xml. Do not edit */
#include <stdlib.h>
#include "conf_intern.h"
#include "poldek_ts.h"
  
static struct poldek_conf_tag global_tags[] = {
      
   { "source", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_ENV | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "source?*", 
     CONF_TYPE_STRING | CONF_TYPE_F_ENV | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "prefix?*", 
     CONF_TYPE_STRING | CONF_TYPE_F_ENV | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "ftp http get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "ftp get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "http get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "https get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "rsync get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "cdrom get", 
     CONF_TYPE_STRING | CONF_TYPE_F_OBSL,
             NULL,
             0, { 0 } },
             
   { "default index type", 
     CONF_TYPE_STRING,
             "pndir",
             0, { 0 } },
             
   { "cachedir", 
     CONF_TYPE_STRING | CONF_TYPE_F_ENV,
             "$HOME/.poldek-cache",
             0, { 0 } },
             
   { "runas", 
     CONF_TYPE_STRING,
             NULL,
             0, { 0 } },
             
          {  "run as", CONF_TYPE_F_ALIAS, NULL, 0, { 0 } },
             
   { "use sudo", 
     CONF_TYPE_BOOLEAN3,
             "auto",
             POLDEK_OP_USESUDO, { 0 } },
             
   { "load apt sources list", 
     CONF_TYPE_BOOLEAN,
             "no",
             0, { 0 } },
             
   { "vfile external compress", 
     CONF_TYPE_BOOLEAN,
             "no",
             0, { 0 } },
             
   { "auto zlib in rpm", 
     CONF_TYPE_BOOLEAN,
             "yes",
             0, { 0 } },
             
   { "autoupa", 
     CONF_TYPE_BOOLEAN,
             "yes",
             0, { 0 } },
             
   { "exclude path", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST | CONF_TYPE_F_PATH,
             NULL,
             0, { 0 } },
             
   { "pm command", 
     CONF_TYPE_STRING,
             "/bin/rpm",
             0, { 0 } },
             
          {  "rpm command", CONF_TYPE_F_ALIAS | CONF_TYPE_F_OBSL, NULL, 0, { 0 } },
             
   { "sudo command", 
     CONF_TYPE_STRING,
             "/usr/bin/sudo",
             0, { 0 } },
             
   { "vfile ftp sysuser as anon passwd", 
     CONF_TYPE_BOOLEAN,
             "no",
             0, { 0 } },
             
          {  "ftp sysuser as anon passwd", CONF_TYPE_F_ALIAS | CONF_TYPE_F_OBSL, NULL, 0, { 0 } },
             
   { "default fetcher", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI,
             "http,ftp: internal",
             0, { 0 } },
             
   { "proxy", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI,
             NULL,
             0, { 0 } },
             
   { "noproxy", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
          {  "no proxy", CONF_TYPE_F_ALIAS, NULL, 0, { 0 } },
             
   { "vfile retries", 
     CONF_TYPE_INTEGER,
             "128",
             0, { 0 } },
             
   { "particle install", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_PARTICLE, { 0 } },
             
   { "keep downloads", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_KEEP_DOWNLOADS, { 0 } },
             
   { "unique package names", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_UNIQN, { 0 } },
             
   { "promoteepoch", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_PROMOTEPOCH, { 0 } },
             
   { "confirm installation", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_CONFIRM_INST, { 0 } },
             
          {  "confirm installs", CONF_TYPE_F_ALIAS | CONF_TYPE_F_OBSL, NULL, 0, { 0 } },
             
   { "confirm removal", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_CONFIRM_UNINST, { 0 } },
             
   { "choose equivalents manually", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_EQPKG_ASKUSER, { 0 } },
             
   { "hold", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
          {  "a hold alias for testing purposes", CONF_TYPE_F_ALIAS | CONF_TYPE_F_OBSL, NULL, 0, { 0 } },
             
   { "ignore", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
   { "allow duplicates", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_ALLOWDUPS, { 0 } },
             
   { "rpmdef", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_ENV,
             NULL,
             0, { 0 } },
             
   { "dependency solver", 
     CONF_TYPE_INTEGER,
             "3",
             0, { 0 } },
             
   { "auto directory dependencies", 
     CONF_TYPE_BOOLEAN3,
             "auto",
             POLDEK_OP_AUTODIRDEP, { 0 } },
             
   { "follow", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_FOLLOW, { 0 } },
             
   { "greedy", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_GREEDY, { 0 } },
             
   { "aggressive greedy", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_AGGREEDY, { 0 } },
             
   { "mercy", 
     CONF_TYPE_BOOLEAN,
             "no",
             POLDEK_OP_VRFYMERCY, { 0 } },
             
   { "multilib", 
     CONF_TYPE_BOOLEAN3,
             "auto",
             POLDEK_OP_MULTILIB, { 0 } },
             
   { "suggests", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_SUGGESTS, { 0 } },
             
   { "obsoletes", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_OBSOLETES, { 0 } },
             
   { "conflicts", 
     CONF_TYPE_BOOLEAN,
             "yes",
             POLDEK_OP_CONFLICTS, { 0 } },
             
          { NULL, 0, NULL, 0, { 0 } }
};

    
static struct poldek_conf_tag source_tags[] = {
      
   { "name", 
     CONF_TYPE_STRING,
             NULL,
             0, { 0 } },
             
   { "type", 
     CONF_TYPE_STRING | CONF_TYPE_F_REQUIRED,
             NULL,
             0, { 0 } },
             
   { "original type", 
     CONF_TYPE_STRING,
             "dir",
             0, { 0 } },
             
   { "path", 
     CONF_TYPE_STRING | CONF_TYPE_F_REQUIRED | CONF_TYPE_F_ENV,
             NULL,
             0, { 0 } },
             
          {  "url", CONF_TYPE_F_ALIAS, NULL, 0, { 0 } },
             
   { "prefix", 
     CONF_TYPE_STRING | CONF_TYPE_F_ENV,
             NULL,
             0, { 0 } },
             
   { "douniq", 
     CONF_TYPE_BOOLEAN,
             "no",
             0, { 0 } },
             
          {  "unique package names", CONF_TYPE_F_ALIAS, NULL, 0, { 0 } },
             
   { "pri", 
     CONF_TYPE_INTEGER,
             "0",
             0, { 0 } },
             
   { "auto", 
     CONF_TYPE_BOOLEAN,
             "yes",
             0, { 0 } },
             
   { "autoup", 
     CONF_TYPE_BOOLEAN,
             "yes",
             0, { 0 } },
             
   { "noauto", 
     CONF_TYPE_BOOLEAN | CONF_TYPE_F_OBSL,
             "no",
             0, { 0 } },
             
   { "noautoup", 
     CONF_TYPE_BOOLEAN | CONF_TYPE_F_OBSL,
             "no",
             0, { 0 } },
             
   { "signed", 
     CONF_TYPE_BOOLEAN,
             "no",
             0, { 0 } },
             
   { "hold", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
   { "ignore", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
   { "exclude path", 
     CONF_TYPE_STRING | CONF_TYPE_F_MULTI | CONF_TYPE_F_LIST | CONF_TYPE_F_PATH,
             NULL,
             0, { 0 } },
             
   { "lang", 
     CONF_TYPE_STRING | CONF_TYPE_F_ENV,
             NULL,
             0, { 0 } },
             
          {  "dscr", CONF_TYPE_F_ALIAS | CONF_TYPE_F_OBSL, NULL, 0, { 0 } },
             
   { "sources", 
     CONF_TYPE_STRING | CONF_TYPE_F_LIST,
             NULL,
             0, { 0 } },
             
          { NULL, 0, NULL, 0, { 0 } }
};

    
static struct poldek_conf_tag fetcher_tags[] = {
      
   { "name", 
     CONF_TYPE_STRING,
             NULL,
             0, { 0 } },
             
   { "proto", 
     CONF_TYPE_STRING | CONF_TYPE_F_REQUIRED,
             NULL,
             0, { 0 } },
             
   { "cmd", 
     CONF_TYPE_STRING | CONF_TYPE_F_REQUIRED | CONF_TYPE_F_ENV,
             NULL,
             0, { 0 } },
             
          { NULL, 0, NULL, 0, { 0 } }
};

    


struct poldek_conf_section poldek_conf_sections[] = {
  
    { "global", global_tags, 
       0,
    },
 
    { "source", source_tags, 
       1,
    },
 
    { "fetcher", fetcher_tags, 
       1,
    },
    
    { NULL, 0, 0 }
};

