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

modem.cpp File Reference

#include <opie2/odebug.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <setjmp.h>
#include <regex.h>
#include <qregexp.h>
#include <assert.h>
#include <string.h>
#include "auth.h"
#include "modem.h"
#include "pppdata.h"

Include dependency graph for modem.cpp:

Go to the source code of this file.

Defines

#define _PATH_RESCONF   "/etc/resolv.conf"
#define strlcpy   strcpy
#define MY_ASSERT(x)

Functions

const char * pppdPath ()
void alarm_handler (int)
int checkForInterface ()

Variables

static sigjmp_buf jmp_buffer


Define Documentation

#define _PATH_RESCONF   "/etc/resolv.conf"
 

Definition at line 52 of file modem.cpp.

Referenced by Modem::openResolv(), and runTests().

#define MY_ASSERT  ) 
 

Value:

if (!(x)) { \
        ofatal << "ASSERT: \"" << #x << "\" in " << __FILE__ << " (" << __LINE__ << ")\n" << oendl;  \
        exit(1); }

Definition at line 61 of file modem.cpp.

Referenced by Modem::createAuthFile().

#define strlcpy   strcpy
 

Definition at line 55 of file modem.cpp.

Referenced by checkForInterface(), and Modem::execpppd().


Function Documentation

void alarm_handler int   ) 
 

Definition at line 687 of file modem.cpp.

References jmp_buffer.

Referenced by Modem::hangup().

int checkForInterface  ) 
 

Definition at line 834 of file modem.cpp.

References s, and strlcpy.

Referenced by Modem::execpppd().

const char* pppdPath  ) 
 

Definition at line 71 of file modem.cpp.

References p, PPPDNAME, pppdPath(), and PPPDSEARCHPATH.

Referenced by KPPPWidget::beginConnect(), Modem::execpppd(), pppdPath(), pppdVersion(), runTests(), and InterfacePPP::start().


Variable Documentation

sigjmp_buf jmp_buffer [static]
 

Definition at line 66 of file modem.cpp.

Referenced by alarm_handler(), and Modem::hangup().


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