libini_config  0.1.2
ini_metadata.h
00001 /*
00002     INI LIBRARY
00003 
00004     Header file for the meta data related functions.
00005 
00006     Copyright (C) Dmitri Pal <dpal@redhat.com> 2009
00007 
00008     INI Library is free software: you can redistribute it and/or modify
00009     it under the terms of the GNU Lesser General Public License as published by
00010     the Free Software Foundation, either version 3 of the License, or
00011     (at your option) any later version.
00012 
00013     INI Library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public License
00019     along with INI Library.  If not, see <http://www.gnu.org/licenses/>.
00020 */
00021 
00022 #ifndef INI_METADATA_H
00023 #define INI_METADATA_H
00024 
00025 #include <stdint.h>
00026 #include <stdio.h>
00027 #include "collection.h"
00028 
00029 
00030 /* Prepare metadata */
00031 int prepare_metadata(uint32_t metaflags,
00032                      struct collection_item **metadata,
00033                      int *save_error);
00034 
00035 /* Collect metadata for the file */
00036 int collect_metadata(uint32_t metaflags,
00037                      struct collection_item **metadata,
00038                      FILE *config_file,
00039                      const char *config_filename);
00040 
00041 
00042 
00043 #endif
 All Data Structures