profile.h
Go to the documentation of this file.00001
00002
00003 #if defined __cplusplus
00004 extern "C"
00005 {
00006 #endif
00007
00008 short GetPrivateProfileString (char *AppName, char *KeyName,
00009 char *Default, char *ReturnedString,
00010 short Size, char *FileName);
00011
00012 int GetProfileString (char *AppName, char *KeyName, char *Default,
00013 char *ReturnedString, int Size);
00014
00015 int GetPrivateProfileInt (char *AppName, char *KeyName, short Default,
00016 char *File);
00017
00018 int GetProfileInt (char *AppName, char *KeyName, int Default);
00019
00020 int WritePrivateProfileString (char *AppName, char *KeyName, char *String,
00021 char *FileName);
00022
00023 int WriteProfileString (char *AppName, char *KeyName, char *String);
00024
00025 void sync_profiles (void);
00026
00027 void free_profiles (void);
00028 char *get_profile_string (char *AppName, char *KeyName, char *Default,
00029 char *FileName);
00030
00031
00032
00033
00034 void *profile_init_iterator (char *appname, char *file);
00035
00036
00037
00038 void *profile_iterator_next (void *s, char **key, char **value);
00039
00040
00041 void profile_clean_section (char *appname, char *file);
00042
00043
00044 #if defined __cplusplus
00045 }
00046 #endif