Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

connect.cpp File Reference

#include <opie2/odebug.h>
#include <qlayout.h>
#include <qregexp.h>
#include <qapplication.h>
#include <qmessagebox.h>
#include <qpushbutton.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <assert.h>
#include <errno.h>
#include "auth.h"
#include "connect.h"
#include "interfaceppp.h"
#include "modem.h"
#include "kpppconfig.h"
#include "pppdata.h"
#include "kpppwidget.h"

Include dependency graph for connect.cpp:

Go to the source code of this file.

Defines

#define execute_command   system

Functions

void auto_hostname (InterfacePPP *_ifaceppp)
void add_domain (const QString &domain, InterfacePPP *_ifaceppp)
void adddns (InterfacePPP *_ifaceppp)
void addpeerdns (InterfacePPP *_ifaceppp)
void removedns (InterfacePPP *_ifaceppp)

Variables

QString old_hostname
bool modified_hostname


Define Documentation

#define execute_command   system
 

Definition at line 75 of file connect.cpp.

Referenced by KPPPWidget::disconnect(), ConnectWidget::if_waiting_slot(), ConnectWidget::init(), KPPPWidget::quitbutton(), and KPPPWidget::sigPPPDDied().


Function Documentation

void add_domain const QString domain,
InterfacePPP _ifaceppp
 

Definition at line 1333 of file connect.cpp.

References QString::contains(), InterfacePPP::data(), i, QString::isEmpty(), QCString::length(), QString::local8Bit(), MAX_RESOLVCONF_LINES, InterfacePPP::modem(), and write().

Referenced by adddns(), addpeerdns(), and auto_hostname().

void adddns InterfacePPP _ifaceppp  ) 
 

Definition at line 1383 of file connect.cpp.

References add_domain(), QValueList< T >::begin(), InterfacePPP::data(), QValueList< T >::end(), QCString::length(), InterfacePPP::modem(), and write().

Referenced by ConnectWidget::timerEvent().

void addpeerdns InterfacePPP _ifaceppp  ) 
 

Definition at line 1402 of file connect.cpp.

References add_domain(), InterfacePPP::data(), i, InterfacePPP::modem(), and write().

Referenced by ConnectWidget::if_waiting_slot().

void auto_hostname InterfacePPP _ifaceppp  ) 
 

Definition at line 1299 of file connect.cpp.

References add_domain(), InterfacePPP::data(), QString::find(), QString::length(), InterfacePPP::modem(), modified_hostname, QString::remove(), and TRUE.

Referenced by ConnectWidget::if_waiting_slot().

void removedns InterfacePPP _ifaceppp  ) 
 

Definition at line 1424 of file connect.cpp.

References QString::contains(), FALSE, i, QCString::length(), QString::local8Bit(), MAX_RESOLVCONF_LINES, InterfacePPP::modem(), modified_hostname, and write().

Referenced by ConnectWidget::cancelbutton(), KPPPWidget::disconnect(), KPPPWidget::quitbutton(), and KPPPWidget::sigPPPDDied().


Variable Documentation

bool modified_hostname
 

Definition at line 78 of file connect.cpp.

Referenced by auto_hostname(), ConnectWidget::ConnectWidget(), and removedns().

QString old_hostname
 

Definition at line 77 of file connect.cpp.


Generated on Sat Nov 5 17:07:39 2005 for OPIE by  doxygen 1.4.2