|
Packit Service |
4684c1 |
/* -*- buffer-read-only: t -*- vi: set ro:
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* DO NOT EDIT THIS FILE (stdin.h)
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* It has been AutoGen-ed
|
|
Packit Service |
4684c1 |
* From the definitions stdin
|
|
Packit Service |
4684c1 |
* and the template file str2enum
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
4684c1 |
* modification, are permitted provided that the following conditions
|
|
Packit Service |
4684c1 |
* are met:
|
|
Packit Service |
4684c1 |
* 1. Redistributions of source code must retain the above copyright
|
|
Packit Service |
4684c1 |
* notice, this list of conditions and the following disclaimer.
|
|
Packit Service |
4684c1 |
* 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit Service |
4684c1 |
* notice, this list of conditions and the following disclaimer in the
|
|
Packit Service |
4684c1 |
* documentation and/or other materials provided with the distribution.
|
|
Packit Service |
4684c1 |
* 3. Neither the name ``Bruce Korb'' nor the name of any other
|
|
Packit Service |
4684c1 |
* contributor may be used to endorse or promote products derived
|
|
Packit Service |
4684c1 |
* from this software without specific prior written permission.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* str2enum IS PROVIDED BY Bruce Korb ``AS IS'' AND ANY EXPRESS
|
|
Packit Service |
4684c1 |
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
Packit Service |
4684c1 |
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
Packit Service |
4684c1 |
* ARE DISCLAIMED. IN NO EVENT SHALL Bruce Korb OR ANY OTHER CONTRIBUTORS
|
|
Packit Service |
4684c1 |
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
Packit Service |
4684c1 |
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
Packit Service |
4684c1 |
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
Packit Service |
4684c1 |
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
Packit Service |
4684c1 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
Packit Service |
4684c1 |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
Packit Service |
4684c1 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
4684c1 |
*
|
|
Packit Service |
4684c1 |
* Command/Keyword Dispatcher
|
|
Packit Service |
4684c1 |
*/
|
|
Packit Service |
4684c1 |
#ifndef STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD
|
|
Packit Service |
4684c1 |
#define STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD 1
|
|
Packit Service |
4684c1 |
#include <sys/types.h>
|
|
Packit Service |
4684c1 |
#ifndef MISSING_INTTYPES_H
|
|
Packit Service |
4684c1 |
# include <inttypes.h>
|
|
Packit Service |
4684c1 |
#endif
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
typedef enum {
|
|
Packit Service |
4684c1 |
XAT_INVALID_CMD = 0,
|
|
Packit Service |
4684c1 |
XAT_CMD_TYPE = 1,
|
|
Packit Service |
4684c1 |
XAT_CMD_WORDS = 2,
|
|
Packit Service |
4684c1 |
XAT_CMD_MEMBERS = 3,
|
|
Packit Service |
4684c1 |
XAT_CMD_COOKED = 4,
|
|
Packit Service |
4684c1 |
XAT_CMD_UNCOOKED = 5,
|
|
Packit Service |
4684c1 |
XAT_CMD_KEEP = 6,
|
|
Packit Service |
4684c1 |
XAT_COUNT_CMD
|
|
Packit Service |
4684c1 |
} option_xat_attribute_enum_t;
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
extern option_xat_attribute_enum_t
|
|
Packit Service |
4684c1 |
find_option_xat_attribute_cmd(char const * str, size_t len);
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#endif /* STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD */
|
|
Packit Service |
4684c1 |
/* end of option-xat-attribute.h */
|