gtkmeat 0.5.4
This commit is contained in:
parent
78c70ba76c
commit
bba52b0f18
21 changed files with 4355 additions and 0 deletions
32
rcfuncs.h
Normal file
32
rcfuncs.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef _RCFUNCS_H_
|
||||
#define _RCFUNCS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifndef WIN32
|
||||
typedef gboolean BOOL;
|
||||
typedef guint DWORD;
|
||||
typedef gushort WORD;
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
FILE* RCOpen(const gchar *szFile);
|
||||
BOOL RCClose(FILE *f);
|
||||
gint RCTokenize(const gchar *szString, gchar **lpszBuffers, DWORD dwNumBuffers, gchar *szExtraParameters);
|
||||
gchar* RCFindLine(const gchar *lpKeyName);
|
||||
gint RCGetInt(const gchar *lpKeyName, gint nDefault);
|
||||
BOOL RCGetBool(const gchar *lpKeyName, BOOL ifFound);
|
||||
BOOL RCGetString(const gchar *lpKeyName, gchar *value, const gchar *defStr, gint maxLen);
|
||||
void RCVarExpansion(gchar *buffer, const gchar *value);
|
||||
BOOL RCReadNextLine (FILE *f, gchar *szBuffer, DWORD dwLength);
|
||||
BOOL RCInit(const gchar *szPath);
|
||||
void RCShutDown(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _RCFUNCS_H_ */
|
||||
Reference in a new issue