Blame config/config.h

Packit 7e09eb
/*
Packit 7e09eb
 * Intel(R) Enclosure LED Utilities
Packit 7e09eb
 * Copyright (C) 2009-2017 Intel Corporation.
Packit 7e09eb
 *
Packit 7e09eb
 * This program is free software; you can redistribute it and/or modify it
Packit 7e09eb
 * under the terms and conditions of the GNU General Public License,
Packit 7e09eb
 * version 2, as published by the Free Software Foundation.
Packit 7e09eb
 *
Packit 7e09eb
 * This program is distributed in the hope it will be useful, but WITHOUT
Packit 7e09eb
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Packit 7e09eb
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
Packit 7e09eb
 * more details.
Packit 7e09eb
 *
Packit 7e09eb
 * You should have received a copy of the GNU General Public License along with
Packit 7e09eb
 * this program; if not, write to the Free Software Foundation, Inc.,
Packit 7e09eb
 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
Packit 7e09eb
 *
Packit 7e09eb
 */
Packit 7e09eb
Packit 7e09eb
#ifndef _CONFIG_H_INCLUDED_
Packit 7e09eb
#define _CONFIG_H_INCLUDED_
Packit 7e09eb
Packit 7e09eb
#include <features.h>
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define _HAVE_DMALLOC_H        0
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 * @brief Sets errno variable and returns.
Packit 7e09eb
 *
Packit 7e09eb
 * This macro sets the errno variable and makes function return -1.
Packit 7e09eb
 *
Packit 7e09eb
 * @param[in]      __val          integer value to be set.
Packit 7e09eb
 *
Packit 7e09eb
 * @return The macro does not return a value.
Packit 7e09eb
 */
Packit 7e09eb
#define __set_errno_and_return(__val) { errno = (__val); return -1; }
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define PATH_DELIM          '/'
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define PATH_DELIM_STR      "/"
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define PATH_SEP            ':'
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define PATH_SEP_STR        ":"
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define END_LINE            ('\n')
Packit 7e09eb
Packit 7e09eb
/**
Packit 7e09eb
 */
Packit 7e09eb
#define END_LINE_STR        "\n"
Packit 7e09eb
Packit 7e09eb
#endif				/* _CONFIG_H_INCLUDED_ */