(root)/
man-db-2.12.0/
lib/
util.h
       1  /*
       2   * util.h
       3   *
       4   * Copyright (C) 1990, 1991 John W. Eaton.
       5   * Copyright (C) 1994, 1995 Graeme W. Wilford. (Wilf.)
       6   * Copyright (C) 2001-2022 Colin Watson.
       7   *
       8   * This file is part of man-db.
       9   *
      10   * man-db is free software; you can redistribute it and/or modify it
      11   * under the terms of the GNU General Public License as published by
      12   * the Free Software Foundation; either version 2 of the License, or
      13   * (at your option) any later version.
      14   *
      15   * man-db is distributed in the hope that it will be useful, but
      16   * WITHOUT ANY WARRANTY; without even the implied warranty of
      17   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      18   * GNU General Public License for more details.
      19   *
      20   * You should have received a copy of the GNU General Public License
      21   * along with man-db; if not, write to the Free Software Foundation,
      22   * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
      23   */
      24  
      25  #include <stdbool.h>
      26  
      27  extern int is_changed (const char *fa, const char *fb);
      28  extern int is_directory (const char *path);
      29  extern char *escape_shell (const char *unesc);
      30  extern int remove_directory (const char *directory, bool recurse);
      31  extern char *trim_spaces (const char *s);
      32  extern char *lang_dir (const char *filename);
      33  extern void init_locale (void);