profile.h

Go to the documentation of this file.
00001 /*
00002 Copyright (c) 2001, Loki software, inc.
00003 All rights reserved.
00004 
00005 Redistribution and use in source and binary forms, with or without modification,
00006 are permitted provided that the following conditions are met:
00007 
00008 Redistributions of source code must retain the above copyright notice, this list
00009 of conditions and the following disclaimer.
00010 
00011 Redistributions in binary form must reproduce the above copyright notice, this
00012 list of conditions and the following disclaimer in the documentation and/or
00013 other materials provided with the distribution.
00014 
00015 Neither the name of Loki software nor the names of its contributors may be used
00016 to endorse or promote products derived from this software without specific prior
00017 written permission.
00018 
00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00020 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00021 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00022 DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
00023 DIRECT,INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00024 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00025 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00026 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00027 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00028 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 */
00030 
00031 #if !defined(INCLUDED_PROFILE_PROFILE_H)
00032 #define INCLUDED_PROFILE_PROFILE_H
00033 
00034 #include <string>
00035 
00036 // used in the command map code
00037 bool read_var (const std::string& filename, const char *section, const char *key, char *value);
00038 bool save_var (const std::string& filename, const char *section, const char *key, const char *value);
00039 
00040 #endif

Generated by  doxygen 1.6.2