home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / winsock / fingd100 / src / dsplist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-19  |  820 b   |  35 lines

  1. // Contents ---------------------------------------------------------------
  2. //
  3. //   dsplist.h -- Include fild for display list module
  4. //
  5. //   Version 1.0, Windows Socket Finger Daemon
  6. //
  7. //   Copyright (C) Frederick W. Bent 1994
  8. //   All rights reserved.
  9. //
  10. //
  11. // Ends -------------------------------------------------------------------
  12.  
  13. #ifndef _DSPLIST_H_
  14. #define _DSPLIST_H_
  15. #include <windows.h>
  16.  
  17. typedef struct line_item
  18. {
  19.    HLOCAL     hText;
  20.    int         len;
  21.    HLOCAL    next;
  22. } LINEITEM;
  23.  
  24. VOID PushChars(char *buf, int buflen);
  25. BOOL OpenDisplayList(VOID);
  26. VOID CloseDisplayList(VOID);
  27. VOID RemoveFirstDisplayLine(VOID);
  28.  
  29. VOID FreeLineList(HLOCAL hLine);
  30. VOID FreeDisplayList(VOID);
  31. VOID GetDisplayList(HLOCAL *ppLine, int *pNLines);
  32. HGLOBAL CopyDisplayList(VOID);
  33.  
  34. #endif    // _DSPLIST_H_
  35.