"Fossies" - the Fresh Open Source Software Archive

Member "cook-2.34/cook/fingerprint/subdir.h" (25 Sep 2010, 1484 Bytes) of package /linux/misc/old/cook-2.34.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "subdir.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  *      cook - file construction tool
    3  *      Copyright (C) 1999, 2006-2008 Peter Miller
    4  *
    5  *      This program is free software; you can redistribute it and/or modify
    6  *      it under the terms of the GNU General Public License as published by
    7  *      the Free Software Foundation; either version 3 of the License, or
    8  *      (at your option) any later version.
    9  *
   10  *      This program is distributed in the hope that it will be useful,
   11  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
   12  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13  *      GNU General Public License for more details.
   14  *
   15  *      You should have received a copy of the GNU General Public License
   16  *      along with this program. If not, see
   17  *      <http://www.gnu.org/licenses/>.
   18  */
   19 
   20 #ifndef COOK_FINGERPRINT_SUBDIR_H
   21 #define COOK_FINGERPRINT_SUBDIR_H
   22 
   23 #include <common/main.h>
   24 
   25 struct string_ty; /* existence */
   26 
   27 typedef struct fp_subdir_ty fp_subdir_ty;
   28 struct fp_subdir_ty
   29 {
   30         struct symtab_ty *stp;
   31         struct string_ty *path;
   32         int             dirty;
   33         int             cache_in_dot;
   34         int             need_to_read;
   35 };
   36 
   37 fp_subdir_ty *fp_subdir_new(struct string_ty *);
   38 void fp_subdir_delete(fp_subdir_ty *);
   39 void fp_subdir_read(fp_subdir_ty *);
   40 void fp_subdir_write(fp_subdir_ty *, int *);
   41 void fp_subdir_dirty_notify(fp_subdir_ty *, struct string_ty *);
   42 void fp_subdir_tweak(fp_subdir_ty *);
   43 
   44 #endif /* COOK_FINGERPRINT_SUBDIR_H */