PageRenderTime 30ms CodeModel.GetById 24ms app.highlight 5ms RepoModel.GetById 0ms 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
 8#if (defined(WIN32) || defined(_WINDOWS)) && !defined(__CYGWIN__)
 9#	define kHistoryFileName "history.txt"
10#else
11#	define kHistoryFileName "history"
12#endif
13
14/* readln.c */
15void GetScreenColumns(void);
16void InitTermcap(void);
17void InitReadline(void);
18void ReCacheBookmarks(void);
19char *Readline(char *);
20void AddHistory(const char *const line);
21void PrintStartupBanner(void);
22void SetXtermTitle(const char *const fmt, ...)
23#if (defined(__GNUC__)) && (__GNUC__ >= 2)
24__attribute__ ((format (printf, 1, 2)))
25#endif
26;
27void MakePrompt(char *, size_t);
28void SaveHistory(void);
29void LoadHistory(void);
30void DisposeReadline(void);