Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <windows.h>
  4. #include <tchar.h>
  5. LPSTR StripWhitespaceA(LPSTR pszString);
  6. LPTSTR StripWhitespace(LPTSTR pszString);
  7. LPTSTR StripLineFeedReturns(LPTSTR pszString );
  8. BOOL IsFileExist(LPCTSTR szFile);
  9. void OutputToConsole(TCHAR *szInsertionStringFormat, TCHAR *szInsertionString);
  10. void OutputToConsole(TCHAR *szInsertionStringFormat, int iTheInteger);
  11. void OutputToConsole(TCHAR *szString);
  12. typedef struct _MyFileList
  13. {
  14. TCHAR szFileNameEntry[_MAX_PATH];
  15. struct _MyFileList *prev, *next;
  16. } MyFileList;
  17. void ReadFileIntoList(LPTSTR szTheFileNameToOpen,MyFileList *pListToFill);
  18. void AddToLinkedListFileList(MyFileList *pMasterList,MyFileList *pEntryToadd);
  19. void DumpOutLinkedFileList(MyFileList *pTheMasterFileList);
  20. void FreeLinkedFileList(MyFileList *pList);
  21. void DumpOutCommonEntries(MyFileList *pTheMasterFileList1, MyFileList *pTheMasterFileList2);
  22. void DumpOutDifferences(MyFileList *pTheMasterFileList1, MyFileList *pTheMasterFileList2);