Author:  sharp@cs.pdx.edu (John Sharp) at Internet
Date:    10/16/98  8:48 AM
Priority: Normal
TO: John Sharp at CCPO2
Subject: profile.h
------------------------------- Message Contents -------------------------------
// GetPrivateProfileString
// for UNIX use
#ifndef profile_h
#define profile_h
     
#include <sys/types.h>
     
#ifdef __cplusplus
extern "C" {
#endif
     
int
GetPrivateProfileString(char *theSection,   // section name
    char *theKey,                           // search key name
    char *theDefault,                       // default value if not found 
    char *theReturnBuffer,                  // return valuse stored here 
    size_t theBufferLength,                 // byte length of return buffer 
    char *theIniFileName);                  // pathname of ini file to search
     
int
WritePrivateProfileString(char *theSection,     // section name
     char *theKey,          // write key name 
     char *theBuffer,     // input buffer
     char *theIniFileName);     // pathname of ini file to write
     
#ifdef __cplusplus
}
#endif
     
#endif
