PageRenderTime 51ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/ncftp-3.2.5/ncftp/readln.h

#
C Header | 30 lines | 21 code | 2 blank | 7 comment | 3 complexity | 1986e4978ae1804ce014e5acc218ecfa MD5 | raw file
Possible License(s): AGPL-3.0
  1. /* readln.h
  2. *
  3. * Copyright (c) 1992-2004 by Mike Gleason.
  4. * All rights reserved.
  5. *
  6. */
  7. #if (defined(WIN32) || defined(_WINDOWS)) && !defined(__CYGWIN__)
  8. # define kHistoryFileName "history.txt"
  9. #else
  10. # define kHistoryFileName "history"
  11. #endif
  12. /* readln.c */
  13. void GetScreenColumns(void);
  14. void InitTermcap(void);
  15. void InitReadline(void);
  16. void ReCacheBookmarks(void);
  17. char *Readline(char *);
  18. void AddHistory(const char *const line);
  19. void PrintStartupBanner(void);
  20. void SetXtermTitle(const char *const fmt, ...)
  21. #if (defined(__GNUC__)) && (__GNUC__ >= 2)
  22. __attribute__ ((format (printf, 1, 2)))
  23. #endif
  24. ;
  25. void MakePrompt(char *, size_t);
  26. void SaveHistory(void);
  27. void LoadHistory(void);
  28. void DisposeReadline(void);