FKETM Code Libraries -IniFile- Page

Library Name   IniFile
Description Program initialization/parameter file interface
Status in production, code in use in released products
Header Files
Inifile.h       Defines the interface to a program's initialization parameter file
char*   FindIniEntry(FILE* pFile,long lSec,char szBufr[MAXLINELENGTH],const char* szEnt);
long    FindIniFileSection(FILE* pFile,char szBufr[MAXLINELENGTH],const char* szSec);
char*   ReadIniEntryAdditive(FILE* pFile,long lSec,const char* szEnt,char* szRtTxt);
BOOL    ReadIniEntryInt(FILE* pFile,long lSec,char szBufr[MAXLINELENGTH],const char* szEnt,int* piVal);
BOOL    ReadIniEntryLong(FILE* pFile,long lSec,char szBufr[MAXLINELENGTH],const char* szEnt,long* plVal);
BOOL    ReadIniEntryString(FILE* pFile,long lSec,char szBufr[MAXLINELENGTH],const char* szEnt,char** pszStr);
iniErr  WriteIniEntryAdditive(const char* szFile,const char* szSec,const char* szEnt,char* szTxt);
iniErr  WriteIniEntryInt(const char* szFile,const char* szSec,const char* szEnt,int iVal);
iniErr  WriteIniEntryLong(const char* szFile,const char* szSec,const char* szEnt,long lVal);
iniErr  WriteIniEntryString(const char* szFile,const char* szSec,const char* szEnt,char* szStr);

For more information, click here, or send email to with "Library::IniFile inquiry" in the subject line.


FKETM Code Libraries Home Page
L5 Software Development

All sales of these products help finance the operations of The L5 Development Group,
a private enterprise space exploration and development effort.
Visit The L5 Development Group for more info about space colonies and space business.

FKETM Code Libraries -IniFile- Page / Webmaster / Last modified December 8, 2002 @ 10:13 am
Copyright © 2024 by L5 Software Development. All rights reserved.

Hosted by FKEinternet