/*Disclaimer: This is a machine generated file.*/
/*For modifying any attribute change corresponding XML file */

      #include <pbs_config.h>
      #include <sys/types.h>
      #include "pbs_ifl.h"
      #include "list_link.h"
      #include "attribute.h"
      #include "pbs_nodes.h"
      #include "svrfunc.h"

      attribute_def que_attr_def[] = {

	{
		ATTR_qtype,
		decode_str,
		encode_str,
		set_str,
		comp_str,
		free_str,
		set_queue_type,
		NO_USER_SET,
		ATR_TYPE_STR,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_p,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_maxque,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_total,
		decode_null,
		encode_l,
		set_null,
		comp_l,
		free_null,
		NULL_FUNC,
		READ_ONLY,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_count,
		decode_str,
		encode_str,
		set_null,
		comp_str,
		free_str,
		NULL_FUNC,
		READ_ONLY,
		ATR_TYPE_STR,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_maxrun,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_max_queued,
		decode_entlim,
		encode_entlim,
		set_entlim,
		comp_str,
		free_entlim,
		action_entlim_ct,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_max_queued_res,
		decode_entlim_res,
		encode_entlim,
		set_entlim_res,
		comp_str,
		free_entlim,
		action_entlim_res,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_aclhten,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_aclhost,
		decode_arst,
		encode_arst,
		set_hostacl,
		comp_arst,
		free_arst,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_ACL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_acluren,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_acluser,
		decode_arst,
		encode_arst,
		set_uacl,
		comp_arst,
		free_arst,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_ACL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_fromroute,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		MGR_ONLY_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_rescmax,
		decode_resc,
		encode_resc,
		set_resources_min_max,
		comp_resc,
		free_resc,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_rescmin,
		decode_resc,
		encode_resc,
		set_resources_min_max,
		comp_resc,
		free_resc,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_rescdflt,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		action_resc_dflt_queue,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_ReqCredEnable,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		MGR_ONLY_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_ReqCred,
		decode_str,
		encode_str,
		set_str,
		comp_str,
		free_str,
		cred_name_okay,
		MGR_ONLY_SET,
		ATR_TYPE_STR,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_maxarraysize,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_comment,
		decode_str,
		encode_str,
		set_str,
		comp_str,
		free_str,
		NULL_FUNC,
		NO_USER_SET | ATR_DFLAG_NOSAVM,
		ATR_TYPE_STR,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_aclgren,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_aclgroup,
		decode_arst,
		encode_arst,
		set_gacl,
		comp_arst,
		free_arst,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_ACL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_chkptmin,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		"rendezvous_retry",
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		"reserved_expedite",
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		"reserved_sync",
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_DefaultChunk,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		deflt_chunk_action,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		"resources_available",
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_rescassn,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		NULL_FUNC,
		READ_ONLY | ATR_DFLAG_NOSAVM,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_killdelay,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxuserrun,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxgrprun,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_max_run,
		decode_entlim,
		encode_entlim,
		set_entlim,
		comp_str,
		free_entlim,
		action_entlim_chk,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_max_run_res,
		decode_entlim_res,
		encode_entlim,
		set_entlim_res,
		comp_str,
		free_entlim,
		action_entlim_chk,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_max_run_soft,
		decode_entlim,
		encode_entlim,
		set_entlim,
		comp_str,
		free_entlim,
		action_entlim_chk,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_max_run_res_soft,
		decode_entlim_res,
		encode_entlim,
		set_entlim_res,
		comp_str,
		free_entlim,
		action_entlim_chk,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_HasNodes,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		READ_ONLY | ATR_DFLAG_NOSAVM,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxuserres,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxgroupres,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxuserrunsoft,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxgrprunsoft,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxuserressoft,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_maxgroupressoft,
		decode_resc,
		encode_resc,
		set_resc,
		comp_resc,
		free_resc,
		check_no_entlim,
		NO_USER_SET,
		ATR_TYPE_RESC,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_NodeGroupKey,
		decode_arst,
		encode_arst,
		set_arst,
		comp_arst,
		free_arst,
		is_valid_resource,
		NO_USER_SET,
		ATR_TYPE_ARST,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_backfill_depth,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		action_backfill_depth,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_EXC
	},
	{
		ATTR_routedest,
		decode_arst,
		encode_arst,
		set_arst,
		comp_arst,
		free_arst,
		NULL_FUNC,
		MGR_ONLY_SET,
		ATR_TYPE_ARST,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_altrouter,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		MGR_ONLY_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_routeheld,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_routewait,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_routeretry,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_routelife,
		decode_l,
		encode_l,
		set_l,
		comp_l,
		free_null,
		NULL_FUNC,
		NO_USER_SET,
		ATR_TYPE_LONG,
		PARENT_TYPE_QUE_RTE
	},
	{
		ATTR_enable,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		check_que_enable,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_start,
		decode_b,
		encode_b,
		set_b,
		comp_b,
		free_null,
		queuestart_action,
		NO_USER_SET,
		ATR_TYPE_BOOL,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_queued_jobs_threshold,
		decode_entlim,
		encode_entlim,
		set_entlim,
		comp_str,
		free_entlim,
		action_entlim_ct,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_queued_jobs_threshold_res,
		decode_entlim_res,
		encode_entlim,
		set_entlim_res,
		comp_str,
		free_entlim,
		action_entlim_res,
		NO_USER_SET,
		ATR_TYPE_ENTITY,
		PARENT_TYPE_QUE_ALL
	},
	{
		ATTR_partition,
		decode_str,
		encode_str,
		set_str,
		comp_str,
		free_str,
		action_queue_partition,
		MGR_ONLY_SET,
		ATR_TYPE_STR,
		PARENT_TYPE_QUE_ALL
	},

	  #include "site_que_attr_def.h"
	};
