Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef _CONFIG_H
  2. #define _CONFIG_H
  3.  
  4. #define CONFIG_BOOL 1
  5. #define CONFIG_INT 2
  6. #define CONFIG_STRING 3
  7.  
  8. struct ConfigEntry
  9. {
  10.     char* pSection;
  11.     char* pKey;
  12.     char* pDefault;
  13.     int nType;
  14.     LPVOID nVar;
  15. };
  16.  
  17. bool readConfig ();
  18. bool readMacros ();
  19. bool getBool(char* pRet);
  20. VOID setConfig(char* pKey, char* pValue);
  21.  
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement