class NetRC

# class NetRC | An interface to kionetrc and the ftp .netrc files. More...
Full name | `KIO::NetRC`
Definition | `#include <authinfo.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Types

- enum LookUpMode { exactOnly = 0x0002, defaultOnly = 0x0004, presetOnly = 0x0008 }
- struct AutoLogin

#### Public Methods

- bool lookup ( const KURL&, AutoLogin&, bool userealnetrc = false, QString type = QString::null, int mode = (exactOnly|defaultOnly) )
- void reload ()

#### Public Static Methods

- static NetRC* self ()

#### Protected Methods

- QString extract ( const char*, const char*, int& )
- int openf ( const QString& )
- void parse ( int )

## Detailed Description

A Singleton class that provides access to passwords stored in .netrc and kionetrc for automatic login purposes.

enum LookUpMode { exactOnly = 0x0002, defaultOnly = 0x0004, presetOnly = 0x0008 } | ### LookUpMode

Specifies the mode to be used when searching for a matching automatic login info for a given site :

exactOnly search entries with exact host name matches. defaultOnly search entries that are specified as "default". presetOnly search entries that are specified as "preset".

See also: lookup

AutoLogin (struct) | ### AutoLogin

NetRC* self () | ### self

[static]

bool lookup ( const KURL&, AutoLogin&, bool userealnetrc = false, QString type = QString::null, int mode = (exactOnly|defaultOnly) ) | ### lookup

void reload () | ### reload

QString extract ( const char*, const char*, int& ) | ### extract

[protected]

int openf ( const QString& ) | ### openf

[protected]

void parse ( int ) | ### parse

[protected]

- Author: Dawit Alemayehu
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.