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.

22 lines
1.1 KiB

  1. // --------------------------------------------------------------------------------
  2. // Ixputil.h
  3. // Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  4. // --------------------------------------------------------------------------------
  5. #ifndef __IXPUTIL_H
  6. #define __IXPUTIL_H
  7. // --------------------------------------------------------------------------------
  8. // Host Name Utilities
  9. // --------------------------------------------------------------------------------
  10. void StripIllegalHostChars(LPSTR pszSrc, LPSTR pszDst, DWORD cchSize);
  11. HRESULT HrInitializeWinsock(void);
  12. void UnInitializeWinsock(void);
  13. LPSTR SzGetLocalPackedIP(void);
  14. LPSTR SzGetLocalHostNameForID(void);
  15. LPSTR SzGetLocalHostName(void);
  16. BOOL FEndRetrRecvBody(LPTSTR pszLines, ULONG cbRead, ULONG *pcbSubtract);
  17. LPSTR PszGetDomainName(void);
  18. void UnStuffDotsFromLines(LPSTR pszBuffer, INT *pcchBuffer);
  19. BOOL FEndRetrRecvBodyNews(LPSTR pszLines, ULONG cbRead, ULONG *pcbSubtract);
  20. void SkipWhitespace (LPCTSTR lpcsz, ULONG *pi);
  21. #endif // __IXPUTIL_H