/*-1* SPDX-License-Identifier: BSD-2-Clause2*3* Copyright (c) 2014, Mike Kazantsev4* All rights reserved.5*/67#ifndef BSDCAT_H_INCLUDED8#define BSDCAT_H_INCLUDED910#if defined(PLATFORM_CONFIG_H)11/* Use hand-built config.h in environments that need it. */12#include PLATFORM_CONFIG_H13#else14/* Not having a config.h of some sort is a serious problem. */15#include "config.h"16#endif1718struct bsdcat {19/* Option parser state */20int getopt_state;21char *getopt_word;2223/* Miscellaneous state information */24int argc;25char **argv;26const char *argument;27};2829enum {30OPTION_VERSION31};3233int bsdcat_getopt(struct bsdcat *);3435#endif363738