#ifndef _SYSCONF_H_
#define _SYSCONF_H_
/*
#
# Headers for the sysconf commandline utility.
#
# $Id: sysconf.h,v 1.1.1.1 2003/12/13 11:17:03 nemies Exp $
#
# Copyright (C) 2003 Kees Cook
# kees@outflux.net, http://outflux.net/
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
#
*/

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

/* for lots of sysconf headers? */
#define __USE_POSIX2
//#define _FILE_OFFSET_BITS 64

#ifdef HAVE_UNISTD_H
# include <sys/types.h>
# include <unistd.h>
#endif

#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif

#if HAVE_STRINGS_H
# include <strings.h>
#endif

#include <stdio.h>

/* what kind of return type is it */
#define RET_NUM 0
#define RET_STR 1

/* what subsystem does the config variable come from? */
#define SYSCONF  0
#define CONFSTR  1
#define PATHCONF 2

#endif /* _UTIL_SYSCONF_H_ */
