|
lftp
4.4.6
About: lftp is a command line ftp client (FTP, HTTP, ssl support, background transfer, reget, reput, ...)
Fossies Dox: lftp-4.4.6.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
#include <QueueFeeder.h>


Public Types | |
| enum | { PrintRequeue = 9999 } |
Public Member Functions | |
| const char * | NextCmd (CmdExec *exec, const char *prompt) |
| void | QueueCmd (const char *cmd, const char *pwd, const char *lpwd, int pos=0, int verbose=0) |
| bool | DelJob (int from, int v=0) |
| bool | DelJob (const char *cmd, int v=0) |
| bool | MoveJob (int from, int to, int v=0) |
| bool | MoveJob (const char *cmd, int to, int v=0) |
| int | JobCount () const |
| xstring & | FormatStatus (xstring &, int v, const char *prefix="\t") const |
| QueueFeeder (const char *pwd, const char *lpwd) | |
| virtual | ~QueueFeeder () |
Public Member Functions inherited from CmdFeeder | |
| virtual | ~CmdFeeder () |
| virtual void | clear () |
| virtual bool | RealEOF () |
| virtual void | Fg () |
| virtual void | Bg () |
| virtual bool | IsInteractive () const |
Static Public Member Functions | |
| static int | JobCount (const QueueJob *) |
Additional Inherited Members | |
Public Attributes inherited from CmdFeeder | |
| xstring_c | saved_buf |
| CmdFeeder * | prev |
Definition at line 25 of file QueueFeeder.h.
| anonymous enum |
| Enumerator | |
|---|---|
| PrintRequeue | |
Definition at line 81 of file QueueFeeder.h.
|
inline |
Definition at line 84 of file QueueFeeder.h.
|
virtual |
Definition at line 340 of file QueueFeeder.cc.
| bool QueueFeeder::DelJob | ( | int | from, |
| int | v = 0 |
||
| ) |
Definition at line 156 of file QueueFeeder.cc.
References _.
Referenced by CmdExec::builtin_queue().
| bool QueueFeeder::DelJob | ( | const char * | cmd, |
| int | v = 0 |
||
| ) |
Definition at line 177 of file QueueFeeder.cc.
References _.
Definition at line 346 of file QueueFeeder.cc.
References _, xstring::append(), xstring::appendf(), NULL, PrintRequeue, s, and xstrcmp().
Referenced by CmdExec::FormatStatus().
|
static |
Definition at line 71 of file QueueFeeder.cc.
References j.
|
inline |
| bool QueueFeeder::MoveJob | ( | int | from, |
| int | to, | ||
| int | v = 0 |
||
| ) |
Definition at line 202 of file QueueFeeder.cc.
Referenced by CmdExec::builtin_queue().
| bool QueueFeeder::MoveJob | ( | const char * | cmd, |
| int | to, | ||
| int | v = 0 |
||
| ) |
Definition at line 219 of file QueueFeeder.cc.
References _, FNM_CASEFOLD, fnmatch(), and NULL.
|
virtual |
Implements CmdFeeder.
Definition at line 32 of file QueueFeeder.cc.
References xstring::append(), xstring::append_quoted(), NULL, xstring_c::set(), xstring::truncate(), and xstrcmp().
| void QueueFeeder::QueueCmd | ( | const char * | cmd, |
| const char * | pwd, | ||
| const char * | lpwd, | ||
| int | pos = 0, |
||
| int | verbose = 0 |
||
| ) |
Definition at line 56 of file QueueFeeder.cc.
References _, last_char(), and NULL.
Referenced by CmdExec::builtin_queue().