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)  

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
QueueFeeder Class Reference

#include <QueueFeeder.h>

Inheritance diagram for QueueFeeder:
Collaboration diagram for QueueFeeder:

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
 
xstringFormatStatus (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
 
CmdFeederprev
 

Detailed Description

Definition at line 25 of file QueueFeeder.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PrintRequeue 

Definition at line 81 of file QueueFeeder.h.

Constructor & Destructor Documentation

QueueFeeder::QueueFeeder ( const char *  pwd,
const char *  lpwd 
)
inline

Definition at line 84 of file QueueFeeder.h.

QueueFeeder::~QueueFeeder ( )
virtual

Definition at line 340 of file QueueFeeder.cc.

Member Function Documentation

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 _.

xstring & QueueFeeder::FormatStatus ( xstring s,
int  v,
const char *  prefix = "\t" 
) const

Definition at line 346 of file QueueFeeder.cc.

References _, xstring::append(), xstring::appendf(), NULL, PrintRequeue, s, and xstrcmp().

Referenced by CmdExec::FormatStatus().

int QueueFeeder::JobCount ( const QueueJob *  j)
static

Definition at line 71 of file QueueFeeder.cc.

References j.

int QueueFeeder::JobCount ( ) const
inline

Definition at line 79 of file QueueFeeder.h.

References JobCount().

Referenced by JobCount().

bool QueueFeeder::MoveJob ( int  from,
int  to,
int  v = 0 
)

Definition at line 202 of file QueueFeeder.cc.

References _, and NULL.

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.

const char * QueueFeeder::NextCmd ( CmdExec exec,
const char *  prompt 
)
virtual
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().


The documentation for this class was generated from the following files: