12b15cb3dSCy Schubert /* -*- buffer-read-only: t -*- vi: set ro: 22b15cb3dSCy Schubert * 32b15cb3dSCy Schubert * DO NOT EDIT THIS FILE (stdin.h) 42b15cb3dSCy Schubert * 5*276da39aSCy Schubert * It has been AutoGen-ed 62b15cb3dSCy Schubert * From the definitions stdin 72b15cb3dSCy Schubert * and the template file str2enum 82b15cb3dSCy Schubert * 92b15cb3dSCy Schubert * Redistribution and use in source and binary forms, with or without 102b15cb3dSCy Schubert * modification, are permitted provided that the following conditions 112b15cb3dSCy Schubert * are met: 122b15cb3dSCy Schubert * 1. Redistributions of source code must retain the above copyright 132b15cb3dSCy Schubert * notice, this list of conditions and the following disclaimer. 142b15cb3dSCy Schubert * 2. Redistributions in binary form must reproduce the above copyright 152b15cb3dSCy Schubert * notice, this list of conditions and the following disclaimer in the 162b15cb3dSCy Schubert * documentation and/or other materials provided with the distribution. 172b15cb3dSCy Schubert * 3. Neither the name ``Bruce Korb'' nor the name of any other 182b15cb3dSCy Schubert * contributor may be used to endorse or promote products derived 192b15cb3dSCy Schubert * from this software without specific prior written permission. 202b15cb3dSCy Schubert * 212b15cb3dSCy Schubert * str2enum IS PROVIDED BY Bruce Korb ``AS IS'' AND ANY EXPRESS 222b15cb3dSCy Schubert * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 232b15cb3dSCy Schubert * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 242b15cb3dSCy Schubert * ARE DISCLAIMED. IN NO EVENT SHALL Bruce Korb OR ANY OTHER CONTRIBUTORS 252b15cb3dSCy Schubert * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 262b15cb3dSCy Schubert * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 272b15cb3dSCy Schubert * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 282b15cb3dSCy Schubert * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 292b15cb3dSCy Schubert * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 302b15cb3dSCy Schubert * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 312b15cb3dSCy Schubert * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 322b15cb3dSCy Schubert * 332b15cb3dSCy Schubert * Command/Keyword Dispatcher 342b15cb3dSCy Schubert */ 352b15cb3dSCy Schubert #ifndef STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD 362b15cb3dSCy Schubert #define STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD 1 372b15cb3dSCy Schubert #include <sys/types.h> 382b15cb3dSCy Schubert #ifndef MISSING_INTTYPES_H 392b15cb3dSCy Schubert # include <inttypes.h> 402b15cb3dSCy Schubert #endif 412b15cb3dSCy Schubert 422b15cb3dSCy Schubert typedef enum { 432b15cb3dSCy Schubert XAT_INVALID_CMD = 0, 442b15cb3dSCy Schubert XAT_CMD_TYPE = 1, 452b15cb3dSCy Schubert XAT_CMD_WORDS = 2, 462b15cb3dSCy Schubert XAT_CMD_MEMBERS = 3, 472b15cb3dSCy Schubert XAT_CMD_COOKED = 4, 482b15cb3dSCy Schubert XAT_CMD_UNCOOKED = 5, 492b15cb3dSCy Schubert XAT_CMD_KEEP = 6, 502b15cb3dSCy Schubert XAT_COUNT_CMD 512b15cb3dSCy Schubert } option_xat_attribute_enum_t; 522b15cb3dSCy Schubert 532b15cb3dSCy Schubert extern option_xat_attribute_enum_t 542b15cb3dSCy Schubert find_option_xat_attribute_cmd(char const * str, size_t len); 552b15cb3dSCy Schubert 562b15cb3dSCy Schubert #endif /* STR2ENUM_OPTION_XAT_ATTRIBUTE_H_GUARD */ 572b15cb3dSCy Schubert /* end of option-xat-attribute.h */ 58