mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
60 lines
1.7 KiB
C
60 lines
1.7 KiB
C
/*
|
|
* Descent 3
|
|
* Copyright (C) 2024 Parallax Software
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
--- HISTORICAL COMMENTS FOLLOW ---
|
|
|
|
* $Logfile: /DescentIII/Main/D3Launch/OS_Config.h $
|
|
* $Revision: 1.1.1.1 $
|
|
* $Date: 2003-08-26 03:56:51 $
|
|
* $Author: kevinb $
|
|
*
|
|
*
|
|
*
|
|
* $Log: not supported by cvs2svn $
|
|
*
|
|
* 4 9/09/98 12:24p Nate
|
|
* Added os_config_read_string_ex() prototype
|
|
*
|
|
* 3 8/10/98 10:44a Nate
|
|
* Added Language selection support
|
|
*
|
|
* 2 8/05/98 4:52p Nate
|
|
* Added registry reading and writing.
|
|
*
|
|
* 1 8/05/98 3:31p Nate
|
|
* Initial Version
|
|
*
|
|
* $NoKeywords: $
|
|
*/
|
|
|
|
// Header for System Registry functions
|
|
|
|
#ifndef _OS_CONFIG_H
|
|
#define _OS_CONFIG_H
|
|
|
|
#include "PsTypes.h"
|
|
|
|
void os_config_write_string(char *section, char *name, char *value);
|
|
char *os_config_read_string(char *section, char *name, char *default_value);
|
|
uint32_t os_config_read_uint(char *section, char *name, uint32_t default_value);
|
|
void os_config_write_uint(char *section, char *name, uint32_t value);
|
|
char *os_config_read_string_ex(char *keyname, char *name, char *default_value);
|
|
|
|
extern char *szSectionName;
|
|
|
|
#endif //_OS_CONFIG_H
|