root/maint/gnulib/lib/argp-version-etc.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* Version hook for Argp.
   2    Copyright (C) 2009-2021 Free Software Foundation, Inc.
   3 
   4    This program is free software: you can redistribute it and/or modify
   5    it under the terms of the GNU General Public License as published by
   6    the Free Software Foundation; either version 3 of the License, or
   7    (at your option) any later version.
   8 
   9    This program is distributed in the hope that it will be useful,
  10    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12    GNU General Public License for more details.
  13 
  14    You should have received a copy of the GNU General Public License
  15    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
  16 
  17 #ifndef _ARGP_VERSION_ETC_H
  18 #define _ARGP_VERSION_ETC_H
  19 
  20 #ifdef __cplusplus
  21 extern "C" {
  22 #endif
  23 
  24 /* Setup standard display of the version information for the '--version'
  25    option.  NAME is the canonical program name, and AUTHORS is a NULL-
  26    terminated array of author names. At least one author name must be
  27    given.
  28 
  29    If NAME is NULL, the package name (as given by the PACKAGE macro)
  30    is assumed to be the name of the program.
  31 
  32    This function is intended to be called before argp_parse().
  33 */
  34 extern void argp_version_setup (const char *name, const char * const *authors);
  35 
  36 #ifdef __cplusplus
  37 }
  38 #endif
  39 
  40 #endif /* _ARGP_VERSION_ETC_H */

/* [previous][next][first][last][top][bottom][index][help] */