aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/bfc/util/profile.h
blob: 9d0df724b65affdf8663d0eee47b6d22a2ad7158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// profile.h
// Profile support.
// Programed by XuYiFeng 1995.4.25, All rights reserved.
//

#ifndef __PROFILE_H
#define __PROFILE_H

#ifdef __cplusplus
extern "C" {
#endif

long GetPrivateProfileInt( const char *section, const char *entry, long defaultInt,
                   const char *fileName );
int GetPrivateProfileString( const char *section, const char *entry,
                      const char *defaultString, char *buffer,
                      int   bufLen, const char *fileName );
int WritePrivateProfileString( const char *section, const char *entry,
                        const char *string, const char *fileName );

#ifdef __cplusplus
}
#endif

#endif