Merge branch 'qmljsinspector'

Conflicts:
	src/plugins/qmlinspector/qmlinspectorplugin.cpp
	src/plugins/qmljseditor/qmljseditor.h
	src/plugins/qmljsinspector/QmlJSInspector.pluginspec
	src/tools/qml/qmlobserver/editor/resizehandleitem.h
This commit is contained in:
Olivier Goffart
2010-07-14 15:38:16 +02:00
685 changed files with 17658 additions and 34446 deletions

2
.gitignore vendored
View File

@@ -72,7 +72,7 @@ doc/pluginhowto/html/*
# Binaries
# --------
bin/*.dll
bin/qtcreator.bin
bin/qtcreator
bin/qtcreator_process_stub*
bin/qtcreator.exe
share/doc/qtcreator/qtcreator.qch

View File

@@ -142,7 +142,7 @@
\row
\o Add a find filter for the find dialog.
\o Implement any kind of search term based search.
\o \l{Find::IFindFilter}, \l{Find::SearchResultWindow}, \l{Find::ResultWindowItem}
\o \l{Find::IFindFilter}, \l{Find::SearchResultWindow}
\row
\o Add support for the find tool bar to a widget.

View File

@@ -5,11 +5,14 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
BatteryIndicator w;
//! [0]
#if defined(Q_WS_S60)
w.showMaximized();
#else
w.show();
#endif
//! [0]
return a.exec();
}

View File

@@ -0,0 +1,116 @@
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
//! [0]
otool -L /Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib
//! [0]
//! [1]
/Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib:
libqwt_designer_plugin.dylib (compatibility version 0.0.0, current version 0.0.0)
libqwt.5.dylib (compatibility version 5.2.0, current version 5.2.1)
QtDesigner.framework/Versions/4/QtDesigner (compatibility version 4.6.0, current version 4.6.2)
QtScript.framework/Versions/4/QtScript (compatibility version 4.6.0, current version 4.6.2)
QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2)
QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 438.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
//! [1]
//! [2]
otool -L /usr/local/qwt-5.2.1/lib/libqwt.5.dylib
//! [2]
//! [3]
/usr/local/qwt-5.2.1/lib/libqwt.5.dylib:
libqwt.5.dylib (compatibility version 5.2.0, current version 5.2.1)
QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 438.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
//! [3]
//! [4]
sudo cp /Developer/Applications/Qt/plugins/designer/libqwt_designer_plugin.dylib \
/Developer/Applications/Qt/Qt\ Creator.app/Contents/MacOS/designer
sudo cp -R /usr/local/qwt-5.2.1/lib/* \
/Developer/Applications/Qt/Qt\ Creator.app/Contents/Frameworks/
//! [4]
//! [5]
cd /Developer/Applications/Qt/Qt\ Creator.app/Contents/MacOS/designer
sudo install_name_tool -change
QtCore.framework/Versions/4/QtCore \
@executable_path/../Frameworks/libQtCore.4.dylib \
libqwt_designer_plugin.dylib
sudo install_name_tool -change QtGui.framework/Versions/4/QtGui \
@executable_path/../Frameworks/libQtGui.4.dylib \
libqwt_designer_plugin.dylib
sudo install_name_tool -change QtXml.framework/Versions/4/QtXml \
@executable_path/../Frameworks/libQtXml.4.dylib \
libqwt_designer_plugin.dylib
sudo install_name_tool -change QtScript.framework/Versions/4/QtScript \
@executable_path/../Frameworks/libQtScript.4.dylib \
libqwt_designer_plugin.dylib
sudo install_name_tool -change QtDesigner.framework/Versions/4/QtDesigner \
@executable_path/../Frameworks/libQtDesigner.4.dylib \
libqwt_designer_plugin.dylib
sudo install_name_tool -change libqwt.5.dylib \
@executable_path/../Frameworks/libqwt.5.dylib \
libqwt_designer_plugin.dylib
cd /Developer/Applications/Qt/Qt\ Creator.app/Contents/Frameworks
sudo install_name_tool -change \
QtCore.framework/Versions/4/QtCore \
@executable_path/../Frameworks/libQtCore.4.dylib \
libqwt.5.2.1.dylib
sudo install_name_tool -change \
QtGui.framework/Versions/4/QtGui \
@executable_path/../Frameworks/libQtGui.4.dylib \
libqwt.5.2.1.dylib
//! [5]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -32,6 +32,7 @@ extraimages.HTML = qt-logo \
bg_ll_blank.png \
bg_l_blank.png \
breadcrumb.png \
bullet_up.png \
bullet_dn.png \
bullet_gt.png \
bullet_sq.png \

View File

@@ -92,19 +92,12 @@
\o \l{Using the Maemo Emulator}
\o \l{Debugging}
\list
\o \l {Debugging Qt Applications}
\list
\o \l{Debugging the Example Application}
\o \l{Interacting with the Debugger}
\o \l{Setting Up Debugger}
\o \l{Using Debugging Helpers}
\endlist
\o \l{Debugging Qt Quick Applications}
\list
\o \l{Using the QML Inspector}
\endlist
\endlist
\o \l{Using the Maemo Emulator}
\o \l{Using Version Control Systems}
@@ -551,6 +544,11 @@
an open output pane, click the \gui {Maximize Output Pane} button
or press \key {Alt+9}.
To search within the \gui{Application Output} and \gui{Compile Output}
panes, press \key {Ctrl+F} when the pane is active. Enter search
criteria in the \gui Find field and click the left and right arrows to
search down and up in the pane.
To open the \gui{General Messages} and \gui{Version Control}
panes, select \gui {Window > Output Panes}.
@@ -824,20 +822,20 @@
\image qtcreator-editortoolbar-symbols.png
Use the toolbar to navigate between open files and symbols in use:
\list
\o To browse forward or backward through your location history, click
Use the toolbar to navigate between open files and symbols in use.
To browse forward or backward through your location history, click
\inlineimage qtcreator-back.png
and \inlineimage qtcreator-forward.png
.
\o To go to any open file, select it from the \gui{Open files}
drop-down menu.
\o To jump to any symbol used in the current file, select it from the
\gui Symbols drop-down menu.
\endlist
When you create or edit forms in a \c{.ui} file, the toolbar contains
Qt Designer specific tools.
To go to any open file, select it from the \gui{Open files} drop-down menu.
Right-click the menu title and select \gui {Copy Full Path to Clipboard} to
copy the path and name of the current file to the clipboard.
To jump to any symbol used in the current file, select it from the
\gui Symbols drop-down menu. By default, the symbols are displayed in the
order in which they appear in the file. Right-click the menu title and select
\gui {Sort Alphabetically} to arrange the symbols in alphabetic order.
\section1 Splitting the Editor View
@@ -1438,7 +1436,7 @@
\section1 Renaming Symbols
The functions used to rename symbols depends on whether you are
The functions available for renaming symbols depend on whether you are
writing C++ or QML code. For QML, you can only rename IDs.
To rename a specific symbol in a Qt project:
@@ -1601,6 +1599,8 @@
The wizards prompt you to enter the settings needed
for that particular type of project and create the necessary files for you.
To display other types of files in the \gui Projects pane, specify them in
the project file.
\image qtcreator-new-project.png
@@ -1637,6 +1637,25 @@
\image qtcreator-new-project-summary.png
\endlist
\section1 Displaying Additional File Types in Projects Pane
Qt Creator determines whether to display files from the project folder
in the \gui Projects pane depending on the file type (.pro, .pri, .cpp,
.h, .ui, .qrc, and so on). To display other types of files, edit the the
project file. Add filenames as values of the \c {OTHER_FILES} variable.
You can also use wildcards.
For example, the following code specifies that text files are displayed
in the \gui Projects pane:
\code
OTHER_FILES += *.txt
\endcode
This also makes the files available in the \gui Locator.
\section1 Adding New Project Wizards
If you have a team working on a large application or several applications,
@@ -2818,6 +2837,17 @@
\o In the \gui Properties pane, change the \gui objectName to
\bold batteryLevelBar.
\o Right-click the \gui BatteryIndicator object and select
\gui {Lay Out > Lay Out Horizontally} to ensure that the battery
indicator widget size is adjusted correctly on Maemo devices.
To adjust widget size correctly on Qt Simulator, remove the condition
from the main.cpp file (displayed in the following code snippet) and just
leave the \c {w.showMaximized();} line:
\snippet examples/batteryindicator/main.cpp 0
\endlist
\section1 Completing the Header File
@@ -3222,6 +3252,12 @@
\image qtcreator-textfinder-ui-widgets.png "Adding widgets to Text Finder UI"
\note To easily locate the widgets, use the search box at the top of the
\gui Sidebar. For example, to find the \gui Label widget, start typing
the word \bold label.
\image qtcreator-texfinder-filter.png "Filter field"
\o Double-click the \gui{Label} widget and enter the text \bold{Keyword}.
\o Double-click the \gui{Push Button} widget and enter the text \bold{Find}.
@@ -3755,7 +3791,7 @@
\section1 Using the Locator Filters
The \gui Locator allows you to browse not only files, but any items
The locator allows you to browse not only files, but any items
defined by \bold{locator filters}. By default, the locator contains
filters which locate:
\list
@@ -3927,13 +3963,10 @@
\contentspage index.html
\previouspage creator-build-dependencies.html
\page creator-debugging.html
\nextpage creator-debugging-cpp.html
\nextpage creator-debugging-example.html
\title Debugging
You can use the Qt Creator \gui Debug mode to inspect the state of your
Qt and Qt Quick projects while debugging.
Qt Creator does not include a debugger. It provides a debugger plugin that acts
as an interface between the Qt Creator core and external native debuggers
such as the GNU Symbolic Debugger (gdb), the Microsoft Console Debugger (CDB),
@@ -4156,7 +4189,10 @@
\page creator-debugging-cpp.html
\nextpage creator-debugging-example.html
\title Debugging Qt Applications
You can use the Qt Creator \gui Debug mode to inspect the state of your
Qt projects while debugging.
\image qtcreator-debugger-views.png "Native debugger views"
In the \gui Debug mode you can interact with the debugger in several ways, including
the following:
@@ -4534,12 +4570,14 @@
In \gui Debug mode, you can use several views to interact with the
program you are debugging. Frequently used views are shown by
default and rarely used ones are hidden. To change the default settings,
select \gui Debug > \gui Views, and then select views to display
or hide. You can also lock views. The position of views is saved for future
sessions.
select \gui {Window > Views}, and then select views to display or hide.
\image qtcreator-debugger-views.png "Debug mode views"
By default, the views are locked into place in the workspace. Select
\gui {Window > Views > Locked} to unlock the views. Drag and drop the
views into new positions on the screen. Drag view borders to resize the
views. The size and position of views are saved for future sessions.
\section1 Starting the Debugger
@@ -4585,6 +4623,14 @@
It is also possible to continue executing the program until the current
function completes or jump to an arbitrary position in the current function.
\section2 Stepping into Frameworks in Mac OS
In Mac OS X, external libraries are usually built into so-called Frameworks,
which may contain both release and debug versions of the library. When you run
applications on the Mac OS desktop, the release version of Frameworks is used
by default. To step into Frameworks, select the \gui {Use debug versions of
Frameworks} option in the project run settings for \gui Desktop and
\gui {Qt Simulator} targets.
\section1 Setting Breakpoints
@@ -4756,7 +4802,7 @@
/*!
\contentspage index.html
\previouspage creator-debugging-cpp.html
\previouspage creator-debugging.html
\page creator-debugging-example.html
\nextpage creator-debug-mode.html
@@ -4841,7 +4887,7 @@
\contentspage index.html
\previouspage creator-debugger-engines.html
\page creator-debugging-helpers.html
\nextpage creator-debugging-qml.html
\nextpage creator-maemo-emulator.html
\title Using Debugging Helpers
@@ -5383,7 +5429,7 @@
\contentspage index.html
\previouspage creator-visual-editor.html
\page quick-projects.html
\nextpage quick-ui.html
\nextpage quick-components.html
\title Creating Qt Quick Projects
@@ -5421,9 +5467,9 @@
/*!
\contentspage index.html
\previouspage quick-ui.html
\previouspage quick-projects.html
\page quick-components.html
\nextpage quick-buttons.html
\nextpage quick-screens.html
\title Creating Components
@@ -5462,9 +5508,9 @@
/*!
\contentspage index.html
\previouspage quick-scalable-image.html
\previouspage quick-components.html
\page quick-screens.html
\nextpage quick-list-views.html
\nextpage quick-animations.html
\title Creating Screens
@@ -5496,7 +5542,7 @@
/*!
\contentspage index.html
\previouspage quick-list-views.html
\previouspage quick-screens.html
\page quick-animations.html
\nextpage quick-user-interaction.html
@@ -6023,7 +6069,7 @@
/*!
\contentspage index.html
\previouspage creator-qml-inspector.html
\previouspage creator-debugging-helpers.html
\page creator-maemo-emulator.html
\nextpage creator-version-control.html
@@ -6293,7 +6339,10 @@
which one you use.
The integrated \QD fetches plugins from the \c {%SDK%\bin\designer} folder on Windows
and Linux and \c {QtCreator.app/Contents/MacOS/designer} folder on Mac. To check which plugins
and Linux. For information about how to configure plugins on Mac OS, see
\l{Configuring Qt Designer Plugins on Mac OS}.
To check which plugins
were loaded successfully and which failed, choose \gui{Tools > Form Editor >
About Qt Designer Plugins}.
@@ -6302,6 +6351,62 @@
\c {%SDK%\qt\plugins\designer}. To check which plugins were loaded successfully and which
failed, choose \gui{Help > About Plugins}.
\section2 Configuring Qt Designer Plugins on Mac OS
On the Mac, a GUI application must be built and run from a bundle. A bundle is a
directory structure that appears as a single entity when viewed in the Finder.
A bundle for an application typcially contains the executable and all the resources
it needs.
Qt Creator uses its own set of Qt Libraries located in the bundle, and therefore,
you need to configure the \QD plugins that you want to use with Qt Creator.
Fore more information about how to deploy applications on Mac OS, see
\l{http://doc.qt.nokia.com/4.6/deployment-mac.html}{Deploying an Application on Mac OS X}.
The following example illustrates how to configure version 5.2.1 of the
\l{http://qwt.sourceforge.net/}{Qwt - Qt Widgets for Technical Applications} library
for use with Qt Creator:
\list 1
\o To check the paths used in the Qwt library, enter the following \c otool command:
\snippet examples/doc_src_plugins.qdoc 0
The output for Qwt 5.2.1 indicates that the plugin uses Qt core libraries (QtDesigner,
QtScript, QtXml, QtGui and QtCore) and libqwt.5.dylib:
\snippet examples/doc_src_plugins.qdoc 1
\o You must copy the \QD plugin and the Qwt library files to the following locations:
\list
\o \c {libqwt_designer_plugin.dylib} to \c {QtCreator.app/Contents/MacOS/designer}
\o \c {libqwt.*.dylib} to \c {QtCreator.app/Contents/Frameworks}
\endlist
Enter the following commands:
\snippet examples/doc_src_plugins.qdoc 4
\o Enter the following \c otool command to check the libraries that are used by the
Qwt library:
\snippet examples/doc_src_plugins.qdoc 2
The command returns the following output:
\snippet examples/doc_src_plugins.qdoc 3
\o Enter the following \c install_name_tool command to fix the references of the
libraries:
\snippet examples/doc_src_plugins.qdoc 5
\endlist
\section1 Matching Build Keys
The Qt Creator that is included in pre-built SDK packages on Windows is built with the
@@ -6419,7 +6524,7 @@
\title Tips and Tricks
\section1 Switching between modes
\section1 Switching Between Modes
Qt Creator uses different modes for different purposes. You can quickly
switch between these modes with the following keyboard shortcuts:
@@ -6442,6 +6547,12 @@
To quickly move between currently open files, press
\key Ctrl+Tab.
To move forward in the location history, press \key {Alt+Right}
(\key {Cmd+Opt+Right} on Mac OS). To move backward, press \key {Alt+Left}
(\key {Cmd+Opt+Right} on Mac OS). For example, if you use the \gui Locator
to jump to a symbol in the same file, you can jump back to your original
location in that file by pressing \key {Alt+Left}.
\section1 Moving To the Edit Mode
@@ -6459,10 +6570,34 @@
To find specific settings you require in \gui{Tools} > \gui{Options...}
use the filter located at the top left of the \gui Options dialog box.
\section1 Opening Output Panes
The output panes provide a list of errors and warnings encountered during
a build, detailed output from the compiler, status of a program when it is
executed and debug output, as well as search results.
To open output panes, use the following shortcuts:
\list
\o \gui{Build Issues} pane Alt+1 (Cmd+1 on Mac OS X)
\o \gui{Search Results} pane Alt+2 (Cmd+2 on Mac OS X)
\o \gui{Application Output} pane Alt+3 (Cmd+3 on Mac OS X)
\o \gui{Compile Output} pane Alt+4 (Cmd+4 on Mac OS X)
\endlist
For more information about output panes, see \l{Viewing Output}.
\section1 Using Keyboard Shortcuts
Qt Creator provides \l{Keyboard Shortcuts}{many useful keyboard shortcuts}.
You can see the keyboard shortcut for a menu command in the menu
or the tooltip for a button.
To customize, import or export keyboard shortcuts, select \gui Tools >
\gui Options... > \gui Environment > \gui Keyboard.
@@ -6497,11 +6632,19 @@
\section1 Moving To Symbols
To move straight to a symbol used in a project, select the symbol in the
\gui Editor toolbar drop-down menu.
For more information on the editor toolbar,
\gui Editor toolbar drop-down menu. For more information on the editor toolbar,
see \l {Using the Editor Toolbar}.
To jump to a symbol in the current file, press \key {Ctrl+K} to open the
\gui Locator, enter a period (.), and start typing the symbol name. Then
select the symbol in the list. For more information on using the locator,
see \l{Searching With the Locator}.
Press \key Ctrl (\key Cmd on Mac OS) and click a symbol to move directly to
the definition or the declaration of the symbol. You can also move the cursor
on the symbol and press \key {F2}. For more information, see
\l{Moving to Symbol Definition or Declaration}.
\section1 Displaying Signals and Slots
@@ -6515,6 +6658,9 @@
the slot in the \e slots subitem. The objects connected to this slot are
shown as children of the slot. This method works with signals too.
For more information about the \gui{Locals and Watchers} view, see
\l{Locals and Watchers}.
\section1 Displaying Low Level Data
@@ -6529,6 +6675,19 @@
\o Uncheck the \gui{Use debugging helper} checkbox.
\endlist
\section1 Locating Files
The \gui Locator provides one of the easiest ways in Qt Creator to browse
through projects, files, classes, methods, documentation and file systems.
To quickly access files not directly mentioned in your project, you can
create your own locator filters. That way you can locate files in a
directory structure you have defined.
To create locator filters, select \gui {Tools > Options... > Locator > Add}.
For more information, see \l{Creating Locator Filters}.
*/

View File

@@ -55,7 +55,8 @@ qhp.QtCreator.extraFiles = \
images/page_bg.png \
images/page.png \
images/qt-logo.png \
images/sprites-combined.png
images/sprites-combined.png \
images/bullet_up.png
qhp.QtCreator.subprojects = manual
qhp.QtCreator.subprojects.manual.title = Qt Creator Manual
@@ -218,3 +219,5 @@ Cpp.ignoredirectives = Q_DECLARE_HANDLE \
K_DECLARE_PRIVATE \
PHONON_OBJECT \
PHONON_HEIR
creator = true

View File

@@ -124,6 +124,10 @@ def lookupType(typestring):
#if not type is None:
# warn(" FIELDS: '%s'" % type.fields())
typeCache[typestring] = type
if type is None:
# could be gdb.lookup_type("char[3]") generating
# "RuntimeError: No type named char[3]"
pass
return type
def cleanType(type):
@@ -600,7 +604,11 @@ def isNull(p):
# for invalid char *, as their "contents" is being examined
#s = str(p)
#return s == "0x0" or s.startswith("0x0 ")
try:
# Can fail with: "RuntimeError: Cannot access memory at address 0x5"
return p.cast(lookupType("void").pointer()) == 0
except:
return False
movableTypes = set([
"QBrush", "QBitArray", "QByteArray",
@@ -805,7 +813,10 @@ def extractFields(type):
#warn("TYPE 0: %s" % type)
type = stripTypedefs(type)
#warn("TYPE 1: %s" % type)
type = lookupType(str(type))
# This fails for arrays. See comment in lookupType.
type2 = lookupType(str(type))
if not type2 is None:
type = type2
#warn("TYPE 2: %s" % type)
fields = type.fields()
#warn("FIELDS: %s" % fields)
@@ -1038,11 +1049,14 @@ class Dumper:
# Special handling for char** argv.
n = 0
p = item.value
# p is 0 for "optimized out" cases.
# p is 0 for "optimized out" cases. Or contains rubbish.
try:
if not isNull(p):
while not isNull(p.dereference()) and n <= 100:
p += 1
n += 1
except:
pass
with SubItem(self):
self.put('iname="%s",' % item.iname)

View File

@@ -273,17 +273,6 @@ static bool startsWith(const char *s, const char *t)
return true;
}
static bool couldBePointer(const void *p)
{
// we assume valid pointer to be 4-aligned at least.
// So use this check only when this is guaranteed.
// FIXME: this breaks e.g. in the QString dumper...
const quintptr d = quintptr(p);
//qDebug() << "CHECKING : " << p << ((d & 3) == 0 && (d > 1000 || d == 0));
//return (d & 3) == 0 && (d > 1000 || d == 0);
return d > 1000 || d == 0;
}
// Check memory for read access and provoke segfault if nothing else helps.
// On Windows, try to be less crash-prone by checking memory using WinAPI
@@ -314,6 +303,17 @@ static bool couldBePointer(const void *p)
qProvokeSegFaultHelper = *(char*)d; \
} while (0)
static bool couldBePointer(const void *p)
{
// we assume valid pointer to be 4-aligned at least.
// So use this check only when this is guaranteed.
// FIXME: this breaks e.g. in the QString dumper...
const quintptr d = quintptr(p);
//qDebug() << "CHECKING : " << p << ((d & 3) == 0 && (d > 1000 || d == 0));
//return (d & 3) == 0 && (d > 1000 || d == 0);
return d > 1000 || d == 0;
}
#endif
#ifdef QT_NAMESPACE

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

View File

@@ -1,6 +1,8 @@
QT = core
%NETWORK%QT += network
@if "%SCRIPT%" == "true"
QT += script
@endif
CONFIG += console
CONFIG -= app_bundle

View File

@@ -55,11 +55,17 @@ leave room for the Qt 4 target page.
<fielddescription>Hello world message:</fielddescription>
<fielddescription xml:lang="de">Hallo-Welt-Nachricht:</fielddescription>
</field>
<!-- Comment out network in profile according to user's wishes -->
<!-- Checkbox technique 1: Comment out network in profile according to user's wishes -->
<field name="NETWORK">
<fieldcontrol class="QCheckBox" truevalue="" falsevalue="# "/>
<fielddescription>Include network module</fielddescription>
<fielddescription xml:lang="de">Netzwerk-Modul verwenden</fielddescription>
</field>
<!-- Checkbox technique 2: Use preprocessor for profile according to user's wishes -->
<field name="SCRIPT">
<fieldcontrol class="QCheckBox"/>
<fielddescription>Include script module</fielddescription>
<fielddescription xml:lang="de">Script-Modul verwenden</fielddescription>
</field>
</fields>
</wizard>

View File

@@ -3,6 +3,7 @@
#include <QtPlugin>
#include <coreplugin/icore.h>
#include <coreplugin/icontext.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/actionmanager/actioncontainer.h>
@@ -47,7 +48,7 @@ bool %PluginName%Impl::initialize(const QStringList &arguments, QString *errorSt
QAction *action = new QAction(tr("%PluginName% action"), this);
Core::Command *cmd = am->registerAction(action, QLatin1String(ACTION_ID),
QList<int>() << Core::Constants::C_GLOBAL_ID);
Core::Context(Core::Constants::C_GLOBAL));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+Alt+Meta+A")));
connect(action, SIGNAL(triggered()), this, SLOT(triggerAction()));
@@ -66,10 +67,12 @@ void %PluginName%Impl::extensionsInitialized()
// plugins that depend on it are completely initialized."
}
void %PluginName%Impl::aboutToShutdown()
ExtensionSystem::IPlugin::ShutdownFlag %PluginName%Impl::aboutToShutdown()
{
// Save settings
// Disconnect from signals that are not needed during shutdown
// Hide UI (if you add UI that is not in the main window directly)
return SynchronousShutdown;
}
void %PluginName%Impl::triggerAction()

View File

@@ -18,7 +18,7 @@ public:
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
void aboutToShutdown();
ShutdownFlag aboutToShutdown();
private slots:
void triggerAction();

File diff suppressed because it is too large Load Diff

View File

@@ -306,6 +306,9 @@ int main(int argc, char **argv)
// Do this after the event loop has started
QTimer::singleShot(100, &pluginManager, SLOT(startTests()));
return app.exec();
int ret = app.exec();
pluginManager.shutdown();
return ret;
}

View File

@@ -1,5 +1,4 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += botan \
net7ssh
SUBDIRS += botan

View File

@@ -1,2 +0,0 @@
Andrew Useckas <andrew@netsieben.com>
Keef Aragon <keef@netsieben.com>

View File

@@ -1,126 +0,0 @@
1.3.2
Random Number Generator is now thread safe. Thanks to Jack Llloyd of Radnombit.
Timeouts in waitFor() and sendCmd() now work as they are supposed to.
Fixed include issues.
Fixed handling of NULL packet.
1.3.1
Channel ID managment rewriten and ID clashes that caused multiple issues are now fixed.
Fixed cleanup procedures after timed out login.
Fixed cleanup procedures after remote end goes away.
Fixed variable types for MSVS compatbility.
Fixed thred sleep issues under Windows.
Fixed couple of small memory leaks.
1.3.0
Changes made to support new stable Botan 1.8.x crypto library.
Added macros for backward compatibility with Botan 1.6.x.
All strings returned by read() method are now NULL terminated.
All error message strings are now NULL terminated.
Fixed multiple race conditions related to late mutex locking.
Fixed multiple race conditions related to premature mutex unlocking.
Fixed segfault when using cryptographic algorithms with block size > 64bit.
Added aes192-cbc algorithm support.
Fixed cleanup of connections after authentication failure.
Fixed SFTP crash after changing to non existent remote directory.
Updated examples.
Updated api docs.
1.2.7
Converted to cmake from auto* tools.
Moved thread functions into macros to avoid conflicts when linking to POSIX libraries in Windows.
Fixed a race condition in ne7ssh.cpp.
Fixed multiple memory leaks.
1.2.6
Fixed includes to compile with GCC 4.3.0.
Fixed the cleanup of timed out connections.
Fixed a race condition within ne7ssh.cpp.
Fixes for mingw32 compiler.
1.2.5
Fixed a typo preventing use of 3des-cbc (thanks to Henry Fann for the patch).
Fixed includes preventing compile in older versions of Linux.
Fixed memory relocation issue in ne7ssh destructor.
1.2.4
Added support for SSH2_MSG_USERAUTH_BANNER.
Fixed infinate loop in select_thread().
Other bug fixes.
1.2.3
Fixed error logging issue seen during authentication.
Added more detailed authentication error messages.
Adjusted the error reporting interface for easier porting.
Addressed debugging issues in the Windows port.
Included new code examples reflecting the changes to the error reporting interface.
1.2.2
Fixed premature communication thread termination.
Adjustments for MINGW compiler.
Other bugfixes.
1.2.1
Fixed buffer overflow in SFTP put() and get().
Mutex put in it's own class.
Code formatting fixed.
Other bugfixes.
1.2.0
Implemented Secure FTP client functionality.
Fixed mutex locking issues.
Fixed race conditions when running with multiple threads.
Added support for RSA host keys.
Added diffie-hellman-group14-sha1 key exchange algorithm support.
Added timeout variable to connect methods.
Other bugfixes.
1.1.6
Added support for Botan 1.5. Thanks to Jack Lloyd for the patch.
WIN32 related bugfixes.
Improved PEM file checking.
Other minor bugfixes.
1.1.5
Fixed DSA key generation.
Implemented single command execution.
Added Support for reading binary data.
Fixed getReceivedSize() method.
Error handling rewritten.
Fixed a few memory leaks.
Other bugfixes.
1.1
RSA and DSA public key authentication support added.
RSA and DSA key generation methods added.
All errors are handled through throwError() function.
Syslog functions removed.
Implemented getReceivedSize() method to support reading past /0 character in received stream.
Botan types changed to full types to avoid compatibility issues with WIN32.
WIN32 specific thread functions added.
Premature mutex unlocking in connection routines fixed.
Fixed prevLen variable initialization in waitFor method.
In Net7Sock class write() method, write() replaced with send().
In Net7Sock class read() method, read() replaced with recv().
Type definitions adjusted for WIN32 compatibility.
WIN32 socket functions implemented.
1.03
Initial stand alone release.

View File

@@ -1,74 +0,0 @@
cmake_minimum_required(VERSION 2.0)
project(net7ssh CXX)
INCLUDE(CheckIncludeFileCXX)
check_include_file_cxx("botan/botan.h" HAVE_BOTAN)
if (NOT ${HAVE_BOTAN})
MESSAGE(FATAL_ERROR "Could not find Botan library.")
endif()
set(CMAKE_INSTALL_PREFIX "/usr")
add_subdirectory ( src )
include_directories ( src )
if ( UNIX )
SET(UNIX_STYLE_FLAGS 1)
SET(WIN32_STYLE_FLAGS 0)
EXECUTE_PROCESS(
COMMAND uname -a
OUTPUT_VARIABLE OS_ARCH
)
IF ( OS_ARCH MATCHES ".*SunOS.*" )
MESSAGE ("Making Changes for SunOS!")
SET(CMAKE_C_COMPILER "cc")
SET(CMAKE_CXX_COMPILER "CC")
SET(CMAKE_LINKER "cc")
SET(CMAKE_AR "/usr/ccs/bin/ar")
SET(CMAKE_CXX_FLAGS "-I/usr/local/include")
SET(CMAKE_SHARED_LINKER_FLAGS "-L/usr/local/lib")
SET(CMAKE_MODULE_LINKER_FLAGS "-L/usr/local/lib")
ENDIF ( OS_ARCH MATCHES ".*SunOS.*" )
ENDIF ( UNIX )
set(net7ssh_LIB_SRCS
src/crypt.cpp
src/crypt.h
src/ne7ssh.cpp
src/ne7ssh.h
src/ne7ssh_channel.cpp
src/ne7ssh_channel.h
src/ne7ssh_connection.cpp
src/ne7ssh_connection.h
src/ne7ssh_kex.cpp
src/ne7ssh_kex.h
src/ne7ssh_session.cpp
src/ne7ssh_session.h
src/ne7ssh_string.cpp
src/ne7ssh_string.h
src/ne7ssh_transport.cpp
src/ne7ssh_transport.h
src/ne7ssh_types.h
src/ne7ssh_keys.cpp
src/ne7ssh_keys.h
src/ne7ssh_error.cpp
src/ne7ssh_error.h
src/ne7ssh_sftp.cpp
src/ne7ssh_sftp.h
src/ne7ssh_sftp_packet.cpp
src/ne7ssh_sftp_packet.h
src/ne7ssh_mutex.cpp
src/ne7ssh_mutex.h)
add_library(ne7ssh STATIC ${net7ssh_LIB_SRCS})
add_library(net7ssh SHARED ${net7ssh_LIB_SRCS})
target_link_libraries(net7ssh botan)
set_target_properties(net7ssh PROPERTIES VERSION 0.3.1 SOVERSION 0)
########### install files ###############
install(TARGETS net7ssh LIBRARY DESTINATION lib)
install(FILES src/ne7ssh.h src/ne7ssh_types.h src/ne7ssh_error.h src/ne7ssh_mutex.h DESTINATION include)
install(FILES LICENSE.QPL AUTHORS INSTALL COPYING CHANGELOG DESTINATION share/doc/ne7ssh)
install(DIRECTORY doc DESTINATION share/doc/ne7ssh)
install(DIRECTORY doc/html DESTINATION share/doc/ne7ssh)
install(DIRECTORY examples DESTINATION share/doc/ne7ssh)

View File

@@ -1,103 +0,0 @@
THE Q PUBLIC LICENSE
version 1.0
Copyright (C) 1999-2000 Troll Tech AS, Norway.
Everyone is permitted to copy and
distribute this license document.
The intent of this license is to establish freedom to share and change the
software regulated by this license under the open source model.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to as
the Software. This license covers modification and distribution of the
Software, use of third-party application programs based on the Software,
and development of free software which uses the Software.
Granted Rights
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this
license. Whole or partial distribution of the Software, or software
items that link with the Software, in any form signifies acceptance of
this license.
2. You may copy and distribute the Software in unmodified form provided
that the entire package, including - but not restricted to - copyright,
trademark notices and disclaimers, as released by the initial developer
of the Software, is distributed.
3. You may make modifications to the Software and distribute your
modifications, in a form that is separate from the Software, such as
patches. The following restrictions apply to modifications:
a. Modifications must not alter or remove any copyright notices in
the Software.
b. When modifications to the Software are released under this
license, a non-exclusive royalty-free right is granted to the
initial developer of the Software to distribute your modification
in future versions of the Software provided such versions remain
available under these terms in addition to any other license(s) of
the initial developer.
4. You may distribute machine-executable forms of the Software or
machine-executable forms of modified versions of the Software, provided
that you meet these restrictions:
a. You must include this license document in the distribution.
b. You must ensure that all recipients of the machine-executable forms
are also able to receive the complete machine-readable source code
to the distributed Software, including all modifications, without
any charge beyond the costs of data transfer, and place prominent
notices in the distribution explaining this.
c. You must ensure that all modifications included in the
machine-executable forms are available under the terms of this
license.
5. You may use the original or modified versions of the Software to
compile, link and run application programs legally developed by you
or by others.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete
machine-readable source code to the items without any charge
beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to use
and re-distribute original and modified versions of the items in
both machine-executable and source code forms. The recipients must
be able to do so without any charges whatsoever, and they must be
able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
Limitations of Liability
In no event shall the initial developers or copyright holders be liable
for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibility
of such damages, except to the extent invariable law, if any, provides
otherwise.
No Warranty
The Software and this license document are provided AS IS with NO WARRANTY
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
Choice of Law
This license is governed by the Laws of Norway. Disputes shall be settled
by Oslo City Court.

View File

@@ -1,26 +0,0 @@
Basic Installation Instructions
===============================
These are generic installation instructions.
NetSieben SSH Library requires Botan crypto library 1.4.9 or higher.
It can be found here:
http://botan.randombit.net
NetSieben SSH Library requires Cmake. Cmake software can be found here:
http://www.cmake.org
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`cmake .' to configure the package for your system.
2. Type `make all' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.

View File

@@ -1,103 +0,0 @@
THE Q PUBLIC LICENSE
version 1.0
Copyright (C) 1999-2000 Troll Tech AS, Norway.
Everyone is permitted to copy and
distribute this license document.
The intent of this license is to establish freedom to share and change the
software regulated by this license under the open source model.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to as
the Software. This license covers modification and distribution of the
Software, use of third-party application programs based on the Software,
and development of free software which uses the Software.
Granted Rights
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this
license. Whole or partial distribution of the Software, or software
items that link with the Software, in any form signifies acceptance of
this license.
2. You may copy and distribute the Software in unmodified form provided
that the entire package, including - but not restricted to - copyright,
trademark notices and disclaimers, as released by the initial developer
of the Software, is distributed.
3. You may make modifications to the Software and distribute your
modifications, in a form that is separate from the Software, such as
patches. The following restrictions apply to modifications:
a. Modifications must not alter or remove any copyright notices in
the Software.
b. When modifications to the Software are released under this
license, a non-exclusive royalty-free right is granted to the
initial developer of the Software to distribute your modification
in future versions of the Software provided such versions remain
available under these terms in addition to any other license(s) of
the initial developer.
4. You may distribute machine-executable forms of the Software or
machine-executable forms of modified versions of the Software, provided
that you meet these restrictions:
a. You must include this license document in the distribution.
b. You must ensure that all recipients of the machine-executable forms
are also able to receive the complete machine-readable source code
to the distributed Software, including all modifications, without
any charge beyond the costs of data transfer, and place prominent
notices in the distribution explaining this.
c. You must ensure that all modifications included in the
machine-executable forms are available under the terms of this
license.
5. You may use the original or modified versions of the Software to
compile, link and run application programs legally developed by you
or by others.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete
machine-readable source code to the items without any charge
beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to use
and re-distribute original and modified versions of the items in
both machine-executable and source code forms. The recipients must
be able to do so without any charges whatsoever, and they must be
able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
Limitations of Liability
In no event shall the initial developers or copyright holders be liable
for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibility
of such damages, except to the extent invariable law, if any, provides
otherwise.
No Warranty
The Software and this license document are provided AS IS with NO WARRANTY
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
Choice of Law
This license is governed by the Laws of Norway. Disputes shall be settled
by Oslo City Court.

View File

@@ -1,614 +0,0 @@
NetSieben SSH Library (ne7ssh) v1.3.2 README
LEGALESE
NetSieben Technologies Pty Limited
http://www.netsieben.com
Copyright (C) 2005-2009 NetSieben Technologies INC
ALL RIGHTS RESERVED
This program may be distributed under the terms of the Q Public
License as defined by Trolltech AS of Norway and appearing in the
file LICENSE.QPL included in the packaging of this file.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------------------------------
Table of Contents
1. Overview
1.1 Features
1.2 Dependencies
1.3 Installation
2. Usage
2.1 Initializing the class
2.2 Setting the options
2.3 Connecting to a remote server
2.3.1 Key based authentication
2.3.1.1 Generating a key pair
2.3.2 Password based authentication
2.4 Communications
2.4.1 Interactive mode
2.4.2 Single command
2.5 Closing the connection
2.6 Error handling
2.6.1 Core context
2.6.2 Channel context
2.7 Secure FTP support
2.7.1 Initializing the subsystem
2.7.2 Setting a timeout for SFTP communications
2.7.3 Downloading a file
2.7.4 Uploading a file
2.7.5 Removing a file
2.7.6 Renaming or moving a file
2.7.7 Changing the current context
2.7.8 Creating a new directory
2.7.9 Removing a directory
2.7.10 Getting a directory listing
2.7.11 Changing permissions
2.7.12 Changing ownership
3. Commercial License
----------------------------------------
1. Overview
The Secure Shell (SSH) protocol is used by many, as a secure way of managing
servers, firewalls and other network appliances. Nowadays many custom built
applications require Secure Shell client functionality. Instead of spending
countless hours building SSH functionality into an application one can now use
NetSieben Technologies Inc. (NetSieben) SSH library to securely communicate
with a variety of SSH server implementations.
The library was developed by NetSieben after researching the limited number of
options available. A lot of available solutions were either wrappers to openssh
application or libraries with very limited functionality, and at best, still in
alpha or beta stages of development. At this time version 1 of the SSH
protocol is outdated with well known security flaws inherently in its design.
Therefore NetSieben SSH library supports only with version 2 of the SSH
protocol. Currently NetSieben's library supports only the SSH client.
1.1 Features Feature Supported Algorithms
Key exchange Diffie Hellman Group 1, SHA1 Signatures ssh-dss (1024) User
authentication public key, password Authentication keys DSA (512bit to
1024bit), RSA Encryption aes256-cbc, twofish-cbc, twofish256-cbc, blowfish-cbc,
3des-cbc, aes128-cbc, cast128-cbc HMAC hmac-md5, hmac-sha1, none Compression
not supported Interoperability SSH Library should work with most SSH2 server
implementations. Tested with openssh on Linux. Solaris, FreeBSD and NetBSD.
Also tested with Juniper Netscreen ssh server implementation.
Portability: The NetSieben SSH Library is based on the Botan crypto library,
making it highly portable. It has been tested on Linux x86, Linux x86_64Linux
PPC, Linux SPARC, Solaris, Windows 2000 and XP.
1.2 Dependencies
NetSiben SSH Library requires Botan crypto library 1.4.9 or higher.
Recommended version is 1.4.12. 1.5.x development versions are not supported at
this time.
The Botan library can be found here: http://botan.randombit.net
NetSieben SSH Library requires Cmake version 2.0 or higher. Cmake software can
be found here: http://www.cmake.org
1.3 Installation
Public version of NetSieben SSH library is distributed in source code form.
The current version uses autoconf to handle generating of Makefile(s) for your
system. Generally you should be able to install NetSieben SSH Library by
executing the following commands after decompressing the tarball:
cmake .
make
make install
For more information please refer to INSTALL file included in the software
package.
2. Usage
2.1 Initializing the class
Before using library's functionality it needs to be initialized. The
initialization process will allocate the required memory resources and prepare
cryptographic methods for usage. It is recommended to do this first, when
starting the application. Only one instance of ne7ssh class can be used at a
time. Single instance of ne7ssh class is able to handle multiple connections
to multiple servers. It is recommended to initialize the class when starting,
use the same class for all of your SSH connections, and destroy it on the exit.
The class should be initialized with the following command:
ne7ssh *ssh = new ne7ssh ();
The constructor of the class requires no arguments. The applications will exit
when trying to initialize the class more than once within the same application.
2.2 Setting the options
Before opening Secure connections, custom options can be configured for the use
in all future connections. Currently only desired cipher and integrity
checking algorithms can be configured. The following method can be used to
configure the options:
setOptions (const char *prefCipher, const char *prefHmac)
prefCipher your preferred cipher algorithm string representation.
Supported options are: aes256-cbc, twofish-cbc, twofish256-cbc,
blowfish-cbc, 3des-cbc, aes128-cbc, cast128-cbc.
prefHmac the preferred integrity checking algorithm string.
Supported optionss are: hmac-md5, hmac-sha1 and none.
This step is optional and if skipped the SSH library will use the default
settings. If desired algorithms are not supported by the server, the next one
from the list of supported algorithms will be used.
2.3 Connecting to a remote server
After the options are set, connections to remote servers can be initiated.
NetSieben library supports Password and Public Key authentication methods.
2.3.1 Key based authentication
NetSieben SSH library supports key based authentication. For this to work one
needs to generate a key pair either by using generateKeyPair method from ne7ssh
class or by using ssh-keygen program included in openssh distributions. Server
has to support key based authentication and newly generated public key needs to
be added to servers authorized keys. The process may differ depending on SSH
server vendor. Currently RSA and DSA keys are supported. The NetSieben
library keys are compatible with unencrypted OpenSSH keys.
No password should be specified when creating a key pair with ssh-keygen. To
establish connection to a remote server using a private key use the following
method:
int ssh->connectWithKey (const char* host, uint32 port, const char* username,
const char* privKeyFile);
host Hostname or IP of the server.
port Port the SSH server binds to.
usually be 22 (standard SSH port).
username Username to be used in authentication.
PrivKeyFile Full path to a PEM encoded private key file.
If the connection succeeds, the method will return the newly created channel
ID. This ID should be used in all further communications via newly created
connection. If the connection failed for any reason, "-1" will be returned by
the method.
Generating a key pair
NetSieben SSH library can be used to generate key pairs. Currently RSA and DSA
key algorithms are supported. DSA keys can only be between 512bits and
1024bits (restriction inherited from Botan library). The newly generate keys
are OpenSSH compatible and public keys can be pasted straight into
authorized_keys file. The following method generates a key pair:
bool generateKeyPair (const char* type, const char* fqdn, const char*
privKeyFileName, const char* pubKeyFileName, uint16 keySize);
type String specifying key type. Currently "dsa" and "rsa" are supported.
fqdn User id. Such as an Email address.
privKeyFileName Full path to a file where generated private key will be written.
pubKeyFileName Full path to a file where generated public key will be written.
keySize Desired key size in bits. If not specified will default to 2048.
The value has to be changed if generating a dsa keypair.
shell Should the shell be spawned on the remote end. True by defaut.
Should be set to false if using sendCmd method after authentication.
2.3.2 Password based authentication
NetSieben SSH library supports password based authentication. The password
authentication should be enabled in the server configuration. If using this
method make sure its enabled as many distributions of OpenSSH disable this
method by default. The following method allows to establish a connection using
the password authentication:
int connectWithPassword (const char *host, uint32 port, const char *username,
const char *password )
host Hostname or IP of the server.
port Port SSH server binds to, usually 22 (the standard SSH port).
username Username used in authentication.
password Password used in authentication.
If the connection succeeds, the method will return the newly created channel
ID. This ID should be used in all further communications via newly established
connection. If the connection fails for any reason, "-1" will be returned by
the method.
2.4 Communications
NetSieben SSH library supports two command modes. The first is interactive
mode used for sending text commands and waiting for text results. This works
much like perl "Expect" module. The second mode is a single command mode,
where library sends a single command to the remote end, waits for results and
disconnects. This method can be used to handle binary results.
2.4.1 Interactive mode
Send command
Before sending a command the waitFor method should be used to wait for shell
prompt, ensuing the remote end is ready for interactive commands. Sending a
command to the remote end can be accomplished using this method:
bool send (const char *data, int channel )
data Command to send. This should be a string terminated with an EOL.
Most terminals will not process a command without end-line.
(character(s) (\n in Unix) to it).
channel Channel ID.
The method will return "true" if the write to send buffer succeeded. Otherwise
false will be returned. Note: Keep in mind that each usage of send() method
will flush the receive buffer.
Wait for results
If the connection is established and a shell launched at the remote end one
needs to pause until a specific string is received. This could be used to wait
for shell prompt after connecting or after a command execution. The SSH
protocol is designed to send data in packets. If results are read from the
buffer right after sending a command, there is no guarantee that the entire
result has been received by the library. Thus it is necessary to wait for a
particular string to appear in the receive buffer. This ensures that all the
data has been received.
If the specified string is not received, to avoid blocking condition, a timeout
value should be specified. If the desired result is not received in specified
timeframe, the function will return false. The following method is used for
interactive communications:
bool waitFor (int channel, const char *str, uint32 timeout = 0)
channel Channel ID received from the connection methods, specifying
the interactive channel.
str String containing text to wait for.
timeout Timeout in seconds. Timeout depends on the speed of your
connection to the remote side. 2 seconds should be enough for
most connections. If 0 is specified, the method will block
until the requested string arrives in the receive buffer.
If an expected string is received the method will return "true". If the
timeout has been reached, the method will return "false".
Fetching the result
After receiving the expected string or reaching the timeout threshold, the
received results can be accessed by using the following method:
const char *read (int channel)
channel Channel ID received from the connection methods, specifying
the interactive channel.
The method will return pointer to the receive buffer. The memory for the
buffer doesn't need to be allocated nor freed by a programmer, its storage is
handled entirely by the ne7ssh class. This method should always be executed
after waitFor() method.
2.4.2 Single command
Single command can be used when only one command needs to be executed before
disconnecting. Or when expected result is binary.
Sending command
This method will not work if the shell has been spawned at the remote end. One
needs to make sure that "shell" parameter of authentication method is set to
"false" before using this method:
bool sendCmd (const char* cmd, int channel, int timeout);
cmd Command to send. This should be a string terminated with an EOL.
Most terminals will not process a command without end-line.
(character(s) (\n in Unix) to it).
channel Channel ID.
timeout How long to wait for completion. This value will depend on the
speed of connection and size of results. Recommended value is 30
seconds.
The method will "true" if command executed successfully. If an error occurred
during execution "false" is returned. The last error can be obtained by using
errors()->pop() method.
Result buffer size
After sending a command followed by a successful execution, the result is
received by the SSH library and placed into the receive buffer. If the data
received is binary one needs to know the size of the buffer before reading it.
This can be obtain by the following method:
int getReceivedSize (int channel)
channel Channel ID.
The method will return the size of the receive buffer, or zero if the buffer is
empty.
Fetching the result
If the expected result is a string one can use the above mentioned read()
method to fetch the data. However if the result is binary the following method
should be used:
void *readBinary (int channel)
channel Channel ID received from the connection methods.
The method will return a pointer to the receive buffer. The memory for the
buffer doesn't need to be allocated nor freed by a programmer, its storage is
handled entirely by the ne7ssh class. Having a pointer to the receive buffer
and the size of the buffer, one can easily fetch the binary data stored.
2.5 Closing the connection
When the desired communications are completed the connection needs to be close
using this method:
bool close (int channel)
channel Channel ID received from the connection methods.
The method returns "true" if the sending of "close" command succeeds. "False"
is returned if the channel has already been closed. It is highly recommended
to use a shell command to close the interactive connection instead of this
method.
2.6 Error handling
Starting with version 1.1.5 the SSH library integrates contextual error
reporting. Errors are bound to the channel they occur in. The core messages
are bound to the Core context. All errors are stored in a static instance of
Ne7sshError class and can be access via ne7ssh::errors() method.
2.6.1 Core context
The errors that are not bound to a channel context are considered to be core
errors and can be retrieved using the following command:
const char* Ne7sshError::pop()
The command returns a pointer to the last error message within Core context,
removing it from the stack. Continued execution of this command will result in
returning of all Core error messages and at the same time removing them from
the stack. If there are no error message in the Core context zero is returned.
2.6.2 Channel context
The errors that are bound to a channel context can be retrieved using the
following command:
const char* Ne7sshError::pop(in channel)
channel Channel ID.
The command returns a pointer to the last error message within particular
channel context, also removing it from the stack. Continued execution of this
command will result in returning of all particular channel error messages at
the same time removing them from the stack. If there are no error message in a
channel context zero is returned.
2.7 Secure FTP support
Secure FTP (SFTP) client is supported by the NetSieben library starting with
version 1.2.0.
2.7.1 Initializing the subsystem
In order to utilize the Secure FTP functionality sftp specific class instances
need to be icreated and sftp subsystem started on the server side. In order to
accomplish this task the following variable needs to be defined:
Ne7SftpSubsystem _sftp
The following method is used to initialize the subsystem. The method needs
channel ID, so has to be executed after one of the connect methods. Make sure
remote shell is not spawned.
bool initSftp (class Ne7SftpSubsystem& _sftp, int channel)
_sftp Reference to SFTP subsystem to be initialized.
channel Channel ID returned by one of the connect methods.
This command returns "true" if the new subsystem was successfully initialized.
And "false" is returned if any error occurs.
2.7.2 Setting a timeout for SFTP communications.
The SFTP subsystem has a default timeout for all of the communications, set to
30 seconds. This should work well under most circumstances, however sometimes
it maybe desirable to modify this value. The following method accomplishes the
task:
bool setTimeout (uint32 _timeout)
timeout Timeout in seconds.
This command returns "true" upon successful setting of the timeout. Returns
"false" on any error.
2.7.3 Downloading a file
The following method is used to download a file from a remote server. It
functions like sftp "get" command:
bool get (const char* remoteFile, FILE* localFile)
remoteFile Full or relative path to the file on the remote side.
LocalFile Pointer to FILE structure. If the file being retrieved
is binary, use "w+" attributes in fopen function.
This command returns "true" if the file was successfully downloaded. Returns
"false" on any error.
2.7.4 Uploading a file
The following method is used for uploading a file to a remote server. It
functions like SFTP "put" command:
bool put (FILE* localFile, const char* remoteFile)
localFile Pointer to FILE structure. If the file being retrieved
is binary, use "r+" attributes in fopen function.
remoteFile Full or relative path to the file on the remote side.
This command returns "true" if the file was successfully uploaded. Returns
"false" if any error is encountered.
2.7.5 Removing a file
The following method is used to remove a file. It functions like sftp "rm"
command:
bool rm (const char* remoteFile)
remoteFile Full or relative path to the file on the remote side.
This command returns "true" if the file was successfully removed. Returns
"false" if any error is encountered.
2.7.6 Renaming or moving a file
The following method is used to rename or move a file. It functions like sftp
"rename" command:
bool mv (const char* oldFile, const char* newFile)
oldFile Full or relative path to the file being moved or renamed.
newFIle Full or relative path to the new location/name of the file.
This command returns "true" if the file was successfully renamed or moved.
Returns "false" if any error is encountered.
2.7.7 Changing the current context
The following method is used to change the current context. It functions like
sftp "cd" command:
bool cd (const char* remoteDir)
remoteDir Full or relative path to a new work path.
This command returns "true" if the context was successfully changed. Returns
"false" if any error is encountered.
2.7.8 Creating a new directory
The following method is used to create a new directory. It functions like sftp
"mkdir" command:
bool mkdir (const char* remoteDir)
remoteDir Full or relative path to a new directory.
This command returns "true" if the new directory was successfully created.
Returns "false" if any error is encountered.
2.7.9 Removing a directory
The following method if used to remove a directory. It functions like sftp
"rmdir" command:
bool rmdir (const char* remoteDir)
remoteDir Full or relative path to a directory.
This command returns "true" if the directory was successfully removed. Returns
"false" if any error is encountered.
2.7.10 Getting a directory listing
The following method is used to get a directory listing. It functions like
sftp "ls" command:
const char* ls (const char* remoteDir, bool longNames=false)
remoteDir Full or relative path to a directory.
LongNames If set to "true" the returned string in addition to
file strings will contain attributes for each file.
This command returns pointer to a buffer containing directory listing. Returns
NULL if any error is encountered.
2.7.11 Changing permissions
The following method is used to change the permissions of a file or directory.
It functions like sftp "chmod" command:
bool chmod (const char* remoteFile, const char* mode)
remotFile Full or relative path to a file.
mode Mode string. It can be either a numerical mode
expression such as "755" or an expression showing the
modifications to be made, such as "ug+w". Mode string
is the same as used by *nix chmod command.
This command returns "true" if the new permissions are successfully applied.
Returns "false" if any error is encountered.
2.7.12 Changing ownership
The following method is used to change the ownership of a file or directory.
It functions like sftp "chown" command:
bool chown (const char* remoteFile, uint32_t uid, uint32_t gid)
remoteFile Full or relative path to a file.
uid Numerical user ID of the new owner.
gid Numerical group ID of the new owner.
This command returns "true" if the new ownership is successfully applied.
Returns "false" if any error is encountered.
3. Commercial License
For details about commercial license please fill out the form located at:
https://netsieben.com/sshlib_info.phtml

View File

@@ -1,52 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Class List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li class="current"><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="structconnStruct.html">connStruct</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="structNe7sshError_1_1Error.html">Ne7sshError::Error</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">Ne7SftpSubsystem::fileAttrs</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh.html">ne7ssh</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="structNe7sshSftp_1_1sftpFile.html">Ne7sshSftp::sftpFile</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="structNe7sshSftp_1_1sftpFileAttrs.html">Ne7sshSftp::sftpFileAttrs</a></td><td class="indexvalue"></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:41 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,62 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7SftpSubsystem Member List</h1>This is the complete list of members for <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>APPEND</b> enum value (defined in <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#0bc632d1abdac46baedaad6f76636cba">cd</a>(const char *remoteDir)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#15cea19efa1b2ce91c0ed8c6710dee2b">chmod</a>(const char *remoteFile, const char *mode)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#b6ed2ff52f213c28d5186fe5e65e810b">chown</a>(const char *remoteFile, uint32_t uid, uint32_t gid=0)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#dca975297ba792499e46d1cb34bb39cb">closeFile</a>(uint32 fileID)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#9f850d3738bac612c5d97548c0924a87">errorNotInited</a>()</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#a5078f3f824833954019ed851d24f04d">get</a>(const char *remoteFile, FILE *localFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#169ca7f6d634a762662914ffe715d139">getFileAttrs</a>(fileAttrs &amp;attrs, const char *filename, bool followSymLinks=true)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>inited</b> (defined in <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#9dc82cfe8ab7134a23ed1d9a8d812385">isDir</a>(const char *remoteFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#32d54e5da7a8b963f5d1c07b47b7a6d1">isFile</a>(const char *remoteFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#2e33455d3c7962e7ce4cf44ca5563005">ls</a>(const char *remoteDir, bool longNames=false)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#182111ca7e0873bfcac9f7970cba7d5d">mkdir</a>(const char *remoteDir)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#197400dfc6fa7ab90a7150800eb0ad2e">mv</a>(const char *oldFile, const char *newFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#86e3b1992107ac21d83345ed48c74e2f">Ne7SftpSubsystem</a>()</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#7949346f2c705b7d33a1201f71ea0353">Ne7SftpSubsystem</a>(class Ne7sshSftp *_sftp)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#e2de3ddfdace4f37680ffb9969bba017">openDir</a>(const char *dirname)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile</a>(const char *filename, uint8 mode)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>OVERWRITE</b> enum value (defined in <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#44cde20b6c96d02ebe1314cc343327d2">put</a>(FILE *localFile, const char *remoteFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>READ</b> enum value (defined in <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#110c09fc4eeadc93359ea3f3ced96f74">readFile</a>(uint32 fileID, uint64 offset=0)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#2cfe3fb14e7e21c84bf27828c424ec8c">rm</a>(const char *remoteFile)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#22339987ced8ffc3851b3d511b036db0">rmdir</a>(const char *remoteDir)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#4d7d02621a9a81b36a152c9c7abfffae">setTimeout</a>(uint32 _timeout)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sftp</b> (defined in <a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#b140ea998359cbcb4ab902a0f1ac0f7d">writeFile</a>(uint32 fileID, const uint8 *data, uint32 len, uint64 offset=0)</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#76285cf453a5b363a9cf79d071c44ada">writeMode</a> enum name</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7SftpSubsystem.html#3b9899662d8b56efce4323b3d5253f08">~Ne7SftpSubsystem</a>()</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,879 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Ne7SftpSubsystem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7SftpSubsystem Class Reference</h1><!-- doxytag: class="Ne7SftpSubsystem" --><code>#include &lt;<a class="el" href="ne7ssh_8h_source.html">ne7ssh.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Ne7SftpSubsystem:</div>
<div class="dynsection">
<p><center><img src="classNe7SftpSubsystem__coll__graph.png" border="0" usemap="#Ne7SftpSubsystem__coll__map" alt="Collaboration graph"></center>
<map name="Ne7SftpSubsystem__coll__map">
<area shape="rect" href="classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="547,149,643,176"><area shape="rect" href="classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="293,95,416,121"><area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="12,21,121,48"><area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="5,211,128,237"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="301,216,408,243"><area shape="rect" href="classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="288,277,421,304"><area shape="rect" href="structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="281,328,428,355"><area shape="rect" href="structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="265,379,444,405"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classNe7SftpSubsystem-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">fileAttrs</a></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#76285cf453a5b363a9cf79d071c44ada">writeMode</a> { <b>READ</b>,
<b>OVERWRITE</b>,
<b>APPEND</b>
}</td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#86e3b1992107ac21d83345ed48c74e2f">Ne7SftpSubsystem</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#7949346f2c705b7d33a1201f71ea0353">Ne7SftpSubsystem</a> (class <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> *_sftp)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#3b9899662d8b56efce4323b3d5253f08">~Ne7SftpSubsystem</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#4d7d02621a9a81b36a152c9c7abfffae">setTimeout</a> (uint32 _timeout)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile</a> (const char *filename, uint8 mode)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#e2de3ddfdace4f37680ffb9969bba017">openDir</a> (const char *dirname)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#110c09fc4eeadc93359ea3f3ced96f74">readFile</a> (uint32 fileID, uint64 offset=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#b140ea998359cbcb4ab902a0f1ac0f7d">writeFile</a> (uint32 fileID, const uint8 *data, uint32 len, uint64 offset=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#dca975297ba792499e46d1cb34bb39cb">closeFile</a> (uint32 fileID)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#169ca7f6d634a762662914ffe715d139">getFileAttrs</a> (<a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">fileAttrs</a> &amp;attrs, const char *filename, bool followSymLinks=true)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#a5078f3f824833954019ed851d24f04d">get</a> (const char *remoteFile, FILE *localFile)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#44cde20b6c96d02ebe1314cc343327d2">put</a> (FILE *localFile, const char *remoteFile)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#2cfe3fb14e7e21c84bf27828c424ec8c">rm</a> (const char *remoteFile)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#197400dfc6fa7ab90a7150800eb0ad2e">mv</a> (const char *oldFile, const char *newFile)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#182111ca7e0873bfcac9f7970cba7d5d">mkdir</a> (const char *remoteDir)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#22339987ced8ffc3851b3d511b036db0">rmdir</a> (const char *remoteDir)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#2e33455d3c7962e7ce4cf44ca5563005">ls</a> (const char *remoteDir, bool longNames=false)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#0bc632d1abdac46baedaad6f76636cba">cd</a> (const char *remoteDir)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#15cea19efa1b2ce91c0ed8c6710dee2b">chmod</a> (const char *remoteFile, const char *mode)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#b6ed2ff52f213c28d5186fe5e65e810b">chown</a> (const char *remoteFile, uint32_t uid, uint32_t gid=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#32d54e5da7a8b963f5d1c07b47b7a6d1">isFile</a> (const char *remoteFile)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#9dc82cfe8ab7134a23ed1d9a8d812385">isDir</a> (const char *remoteFile)</td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7SftpSubsystem.html#9f850d3738bac612c5d97548c0924a87">errorNotInited</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad6458a48141e08e8116983c7a15db71"></a><!-- doxytag: member="Ne7SftpSubsystem::inited" ref="ad6458a48141e08e8116983c7a15db71" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>inited</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18eaacaf93e4ec2edf5c6790a2030680"></a><!-- doxytag: member="Ne7SftpSubsystem::sftp" ref="18eaacaf93e4ec2edf5c6790a2030680" args="" -->
<a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>sftp</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas &lt;<a href="mailto:andrew@netsieben.com">andrew@netsieben.com</a>&gt; </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="76285cf453a5b363a9cf79d071c44ada"></a><!-- doxytag: member="Ne7SftpSubsystem::writeMode" ref="76285cf453a5b363a9cf79d071c44ada" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classNe7SftpSubsystem.html#76285cf453a5b363a9cf79d071c44ada">Ne7SftpSubsystem::writeMode</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Modes used when opening a remote file.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="86e3b1992107ac21d83345ed48c74e2f"></a><!-- doxytag: member="Ne7SftpSubsystem::Ne7SftpSubsystem" ref="86e3b1992107ac21d83345ed48c74e2f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7SftpSubsystem::Ne7SftpSubsystem </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default constructor.
</div>
</div><p>
<a class="anchor" name="7949346f2c705b7d33a1201f71ea0353"></a><!-- doxytag: member="Ne7SftpSubsystem::Ne7SftpSubsystem" ref="7949346f2c705b7d33a1201f71ea0353" args="(class Ne7sshSftp *_sftp)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7SftpSubsystem::Ne7SftpSubsystem </td>
<td>(</td>
<td class="paramtype">class <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> *&nbsp;</td>
<td class="paramname"> <em>_sftp</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor used to initialize the subsystem with a new <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> class instance. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_sftp</em>&nbsp;</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> class instance. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="3b9899662d8b56efce4323b3d5253f08"></a><!-- doxytag: member="Ne7SftpSubsystem::~Ne7SftpSubsystem" ref="3b9899662d8b56efce4323b3d5253f08" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7SftpSubsystem::~Ne7SftpSubsystem </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0bc632d1abdac46baedaad6f76636cba"></a><!-- doxytag: member="Ne7SftpSubsystem::cd" ref="0bc632d1abdac46baedaad6f76636cba" args="(const char *remoteDir)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::cd </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteDir</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to change the current working directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteDir</em>&nbsp;</td><td>Full or relative path to the new working directory on the remote server. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if change of directory succedded. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01108">Ne7sshSftp::cd()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>.</p>
</div>
</div><p>
<a class="anchor" name="15cea19efa1b2ce91c0ed8c6710dee2b"></a><!-- doxytag: member="Ne7SftpSubsystem::chmod" ref="15cea19efa1b2ce91c0ed8c6710dee2b" args="(const char *remoteFile, const char *mode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::chmod </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used for changing the permissions associated with a remote file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the remote file. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Mode string. It can be either a numerical mode expression such as "755" or an expression showing the modifications to be made, such as "ug+w". Mode string is the same as used by *nix chmod command. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the new permissions are succesfully applied to the remote file. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01158">Ne7sshSftp::chmod()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b6ed2ff52f213c28d5186fe5e65e810b"></a><!-- doxytag: member="Ne7SftpSubsystem::chown" ref="b6ed2ff52f213c28d5186fe5e65e810b" args="(const char *remoteFile, uint32_t uid, uint32_t gid=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::chown </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&nbsp;</td>
<td class="paramname"> <em>uid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&nbsp;</td>
<td class="paramname"> <em>gid</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to change the owner of a remote file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the remote file. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>uid</em>&nbsp;</td><td>Numerical new owner user ID. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>gid</em>&nbsp;</td><td>Numerical new owner group ID. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the change of ownership succeeds. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01325">Ne7sshSftp::chown()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>.</p>
</div>
</div><p>
<a class="anchor" name="dca975297ba792499e46d1cb34bb39cb"></a><!-- doxytag: member="Ne7SftpSubsystem::closeFile" ref="dca975297ba792499e46d1cb34bb39cb" args="(uint32 fileID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::closeFile </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>fileID</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Low level method used to close a file opened by using <a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile()</a> method. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>fileID</em>&nbsp;</td><td>File ID returned by <a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile()</a> method. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True on success. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00576">Ne7sshSftp::closeFile()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9f850d3738bac612c5d97548c0924a87"></a><!-- doxytag: member="Ne7SftpSubsystem::errorNotInited" ref="9f850d3738bac612c5d97548c0924a87" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::errorNotInited </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pushes and error to the error buffer, if this subsystem has not been initialized before usage. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the push succeeds. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00865">cd()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00871">chmod()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00877">chown()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00801">closeFile()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00819">get()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00813">getFileAttrs()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00889">isDir()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00883">isFile()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00855">ls()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00843">mkdir()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00837">mv()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00783">openDir()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00777">openFile()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00825">put()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00789">readFile()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00831">rm()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00849">rmdir()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00770">setTimeout()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00795">writeFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a5078f3f824833954019ed851d24f04d"></a><!-- doxytag: member="Ne7SftpSubsystem::get" ref="a5078f3f824833954019ed851d24f04d" args="(const char *remoteFile, FILE *localFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::get </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">FILE *&nbsp;</td>
<td class="paramname"> <em>localFile</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to retrieve a remote file and dump it into local file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the file on the remote side. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>localFile</em>&nbsp;</td><td>Pointer to the FILE structure. If the file being retrieved is binary, use "w+" attributes in fopen function. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if getting the file is succeeds. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00829">Ne7sshSftp::get()</a>.</p>
</div>
</div><p>
<a class="anchor" name="169ca7f6d634a762662914ffe715d139"></a><!-- doxytag: member="Ne7SftpSubsystem::getFileAttrs" ref="169ca7f6d634a762662914ffe715d139" args="(fileAttrs &amp;attrs, const char *filename, bool followSymLinks=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::getFileAttrs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">fileAttrs</a> &amp;&nbsp;</td>
<td class="paramname"> <em>attrs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>followSymLinks</em> = <code>true</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to retrieve remote file attributes and place them into <a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">fileAttrs</a> structure. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>attrs</em>&nbsp;</td><td>Reference to <a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">fileAttrs</a> structure where retrieved attributes should be placed. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Name of the remote file. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>followSymLinks</em>&nbsp;</td><td>If this variable is set to true, symbolic links will be followed. That is the default befavour. If this behavour is undesired, pass "false". </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the attributes successfully retrieved. Otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00779">Ne7sshSftp::getFileAttrs()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9dc82cfe8ab7134a23ed1d9a8d812385"></a><!-- doxytag: member="Ne7SftpSubsystem::isDir" ref="9dc82cfe8ab7134a23ed1d9a8d812385" args="(const char *remoteFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::isDir </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to determine if a remote inode is a directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the remote file. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the remote inode is a directory. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00824">Ne7sshSftp::isDir()</a>.</p>
</div>
</div><p>
<a class="anchor" name="32d54e5da7a8b963f5d1c07b47b7a6d1"></a><!-- doxytag: member="Ne7SftpSubsystem::isFile" ref="32d54e5da7a8b963f5d1c07b47b7a6d1" args="(const char *remoteFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::isFile </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to determine if a remote inode is a regular file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the remote inode. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the remote inode is a regular file. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00819">Ne7sshSftp::isFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="2e33455d3c7962e7ce4cf44ca5563005"></a><!-- doxytag: member="Ne7SftpSubsystem::ls" ref="2e33455d3c7962e7ce4cf44ca5563005" args="(const char *remoteDir, bool longNames=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char * Ne7SftpSubsystem::ls </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteDir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>longNames</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This methods is used retrieve a listing of a remote directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteDir</em>&nbsp;</td><td>Full or relative path to a directory. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>longNames</em>&nbsp;</td><td>If set to "true" the returned string in addition to file strings will contain attributes for each file. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to a string containing the directory listing. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>.</p>
</div>
</div><p>
<a class="anchor" name="182111ca7e0873bfcac9f7970cba7d5d"></a><!-- doxytag: member="Ne7SftpSubsystem::mkdir" ref="182111ca7e0873bfcac9f7970cba7d5d" args="(const char *remoteDir)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::mkdir </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteDir</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to create a new directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteDir</em>&nbsp;</td><td>Full or relative path to a new directory on the remote server. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the directory successfully created. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00988">Ne7sshSftp::mkdir()</a>.</p>
</div>
</div><p>
<a class="anchor" name="197400dfc6fa7ab90a7150800eb0ad2e"></a><!-- doxytag: member="Ne7SftpSubsystem::mv" ref="197400dfc6fa7ab90a7150800eb0ad2e" args="(const char *oldFile, const char *newFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::mv </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>oldFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>newFile</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to rename/move files. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>oldFile</em>&nbsp;</td><td>Full or relative path to an old file on the remote server. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>newFile</em>&nbsp;</td><td>Full or relative path to a new file on the remote side. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if renaming successfull. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00957">Ne7sshSftp::mv()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e2de3ddfdace4f37680ffb9969bba017"></a><!-- doxytag: member="Ne7SftpSubsystem::openDir" ref="e2de3ddfdace4f37680ffb9969bba017" args="(const char *dirname)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 Ne7SftpSubsystem::openDir </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>dirname</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Low level method used to open an inode containing file entries a.k.a directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>dirname</em>&nbsp;</td><td>Relative or full path to the inode. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Newly opened file ID or 0 if the inode could not be opened. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00449">Ne7sshSftp::openDir()</a>.</p>
</div>
</div><p>
<a class="anchor" name="7e2df0ba14cf164591912191bd0f756e"></a><!-- doxytag: member="Ne7SftpSubsystem::openFile" ref="7e2df0ba14cf164591912191bd0f756e" args="(const char *filename, uint8 mode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 Ne7SftpSubsystem::openFile </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8&nbsp;</td>
<td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Low level method used to open a remote file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Relative or full path to the file. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>Mode to be used when opening the file. Can be one of the modes defined by writeMode class variable. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Newly opened file ID or 0 if file could not be opened. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00394">Ne7sshSftp::openFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="44cde20b6c96d02ebe1314cc343327d2"></a><!-- doxytag: member="Ne7SftpSubsystem::put" ref="44cde20b6c96d02ebe1314cc343327d2" args="(FILE *localFile, const char *remoteFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::put </td>
<td>(</td>
<td class="paramtype">FILE *&nbsp;</td>
<td class="paramname"> <em>localFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to upload a file to a remote server. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>localFile</em>&nbsp;</td><td>Pointer to the FILE structure. If the file being retrieved is binary, use "r+" attributes in fopen function. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the file on the remote side. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if putting the file succeeds. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00874">Ne7sshSftp::put()</a>.</p>
</div>
</div><p>
<a class="anchor" name="110c09fc4eeadc93359ea3f3ced96f74"></a><!-- doxytag: member="Ne7SftpSubsystem::readFile" ref="110c09fc4eeadc93359ea3f3ced96f74" args="(uint32 fileID, uint64 offset=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::readFile </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>fileID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint64&nbsp;</td>
<td class="paramname"> <em>offset</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Low level method used to read datablock up to the size of SFTP_MAX_MSG_SIZE from a file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>fileID</em>&nbsp;</td><td>File ID retruned by <a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile()</a> method. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if file content successfully read and placed in the buffer. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00479">Ne7sshSftp::readFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="2cfe3fb14e7e21c84bf27828c424ec8c"></a><!-- doxytag: member="Ne7SftpSubsystem::rm" ref="2cfe3fb14e7e21c84bf27828c424ec8c" args="(const char *remoteFile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::rm </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteFile</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to remove a file on a remote server. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteFile</em>&nbsp;</td><td>Full or relative path to the file on the remote side. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if remove succeeds. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00928">Ne7sshSftp::rm()</a>.</p>
</div>
</div><p>
<a class="anchor" name="22339987ced8ffc3851b3d511b036db0"></a><!-- doxytag: member="Ne7SftpSubsystem::rmdir" ref="22339987ced8ffc3851b3d511b036db0" args="(const char *remoteDir)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::rmdir </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>remoteDir</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to remove a remote directory. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>remoteDir</em>&nbsp;</td><td>Full or relative path to a directory to be removed. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the directory successfully removed. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01018">Ne7sshSftp::rmdir()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4d7d02621a9a81b36a152c9c7abfffae"></a><!-- doxytag: member="Ne7SftpSubsystem::setTimeout" ref="4d7d02621a9a81b36a152c9c7abfffae" args="(uint32 _timeout)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::setTimeout </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>_timeout</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to set a timeout for all SFTP subsystem communications. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_timeout</em>&nbsp;</td><td>Timeout in seconds. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if timeout set, otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8h_source.html#l00294">Ne7sshSftp::setTimeout()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b140ea998359cbcb4ab902a0f1ac0f7d"></a><!-- doxytag: member="Ne7SftpSubsystem::writeFile" ref="b140ea998359cbcb4ab902a0f1ac0f7d" args="(uint32 fileID, const uint8 *data, uint32 len, uint64 offset=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7SftpSubsystem::writeFile </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>fileID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint8 *&nbsp;</td>
<td class="paramname"> <em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint64&nbsp;</td>
<td class="paramname"> <em>offset</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Low level method used to write data-block up to the size of SFTP_MAX_MSG_SIZE to a remote file. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>fileID</em>&nbsp;</td><td>File ID returned by <a class="el" href="classNe7SftpSubsystem.html#7e2df0ba14cf164591912191bd0f756e">openFile()</a> method. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Pointer to a buffer containing the data. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>Length of the block. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset in the remote file. If offset is passed EOF the space between EOF and offset will be filled by 0x0. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if file contect successfully written. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00807">errorNotInited()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00511">Ne7sshSftp::writeFile()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh_8h_source.html">ne7ssh.h</a><li>ne7ssh.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,8 +0,0 @@
<area shape="rect" href="$classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="547,149,643,176">
<area shape="rect" href="$classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="293,95,416,121">
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="12,21,121,48">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="5,211,128,237">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="301,216,408,243">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="288,277,421,304">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="281,328,428,355">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="265,379,444,405">

View File

@@ -1 +0,0 @@
a3599377bc7d09bac1983e35132d609e

View File

@@ -1,47 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7sshError Member List</h1>This is the complete list of members for <a class="el" href="classNe7sshError.html">Ne7sshError</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#01a085e335f3bccb2d0131b872d248ee">deleteChannel</a>(int32 channel)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#f56b902ff4e463f885b2fbc97de36eb8">deleteCoreMsgs</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#afd074d8a2a2f95414c2c1960c2527fb">deleteRecord</a>(uint16 recID)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#2fac26f48bbb447ce6edc1d37f8c8157">ErrorBuffer</a></td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#3b11aa0df3bc2e66755054307cedf2fa">lock</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>memberCount</b> (defined in <a class="el" href="classNe7sshError.html">Ne7sshError</a>)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>mut</b> (defined in <a class="el" href="classNe7sshError.html">Ne7sshError</a>)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#98192346f46ec8c74ff27cb1f5ff1fb7">Ne7sshError</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#3125b664de91952b9336f4fe1789ebcc">pop</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#fdc5c70fe790fbcbf2f34189ebd63509">pop</a>(int32 channel)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>popedErr</b> (defined in <a class="el" href="classNe7sshError.html">Ne7sshError</a>)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#c1864f802fdd6d2375e4ffad23fa7875">push</a>(int32 channel, const char *format,...)</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#932684048dc2793a350a1bd25160fb3c">unlock</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshError.html#8b95b91913fab0429704043c215863fa">~Ne7sshError</a>()</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
<area shape="rect" href="$structNe7sshError_1_1Error.html" title="Ne7sshError::Error" alt="" coords="5,7,144,33">

View File

@@ -1 +0,0 @@
59fecf6fac000bbe159906d2497191a5

View File

@@ -1,110 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7sshSftp Member List</h1>This is the complete list of members for <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#163fe473cdd37cb441b11391ecfe3de2">addOpenHandle</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#a2d5379bfc1884c3f12bd024bdb0ca9a">adjustRecvWindow</a>(int bufferSize)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>APPEND</b> enum value (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>attrs</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#dfec287ad5e1a05a9ec5974e51765635">cd</a>(const char *remoteDir)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>channelOpened</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#a94a84d20f5e691d25c8d2c0c46d9f0d">chmod</a>(const char *remoteFile, const char *mode)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#577bc8eb8c066bb20e81a12284486500">chown</a>(const char *remoteFile, uint32 uid, uint32 gid=0)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#47e7320f6168686934b63a7372be657c">closeFile</a>(uint32 fileID)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>commBuffer</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>currentPath</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#f12993833f77a6e0cf673133737a995c">data2Send</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#1037fa89c4b81050b98209cc89e32188">execCmd</a>(const char *cmd)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>fileBuffer</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#8744277dfd50bdc8f703db057bc8229c">get</a>(const char *remoteFile, FILE *localFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#19cecc814a558e70e692475a861b14b0">getCmdComplete</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#691f12f078d4483ef665474489ed3d5e">getFileAttrs</a>(sftpFileAttrs &amp;attributes, Botan::SecureVector&lt; Botan::byte &gt; &amp;remoteFile, bool followSymLinks=true)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#0c8f36275e7951e8f3c7919df80646ae">getFileAttrs</a>(Ne7SftpSubsystem::fileAttrs &amp;attributes, const char *remoteFile, bool followSymLinks=true)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#abbc88e8a61db941f4497539dda1e941">getFileHandle</a>(uint32 fileID)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#d3bc3ac09658a39a4fd7b5db7dcdaa4b">getFileSize</a>(uint32 fileID)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#0472f6b8ead7dff51b02019d295f4074">getFileStats</a>(const char *remoteFile, bool followSymLinks=true)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#2ee78de5897e00e1390834f165ea8b0e">getFStat</a>(uint32 fileID)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#deb660f5da985539b30f156c02d39fdf">getFullPath</a>(const char *filename)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#8a5aa42877d987be82de852804d64224">getReceived</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#acafeb21fdfe9bd9a6e805c51635a724">getRecvWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#af0b5ad2f382674b621d4b923f688e1f">getSendWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#08d6085ea4493092d483819cde904ef5">getShell</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#e85f889433d08962712780e4d9d5bfcc">handleData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#c78f7cc8215312df81b56c3e46c799ad">handleNames</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#4cfe1bda6308751f6f89612b6ea6e5b8">handleReceived</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#ff314ae7f9ba0166f1a2809fd87774c5">handleSftpData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#00a190fb28dba3ff1232168d3362bdd0">handleStatus</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#5d39897335efc1771e6f10711028b5db">handleVersion</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#e857080aba0bbcf6b1599e3d586010b8">init</a>()</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#59b34ba51b2cd851777a4303e0aa0867">isDir</a>(const char *remoteFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#91d287ebd0152a37b72fd8a61942f099">isFile</a>(const char *remoteFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#d78ff7808101f1e577a8dcc6715df1e8">isOpen</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#bba1bcb1c5cf307707b55451cd399598">isRemoteShell</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#6664675a3ac0b9841eeee451e089747b">isType</a>(const char *remoteFile, uint32 type)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>lastError</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#b6899910533f6f09c5a0322549e71367">ls</a>(const char *remoteDir, bool longNames=false)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#55e47dfc93a93d7b7b19e938eb4042ca">mkdir</a>(const char *remoteDir)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#24ba4bf55763a6eb9457e9522b3ce986">mv</a>(const char *oldFile, const char *newFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#2ca4770827c460ade71f4f64e14c78d9">ne7ssh_channel</a>(ne7ssh_session *_session)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#1ccf95ce0c82fc811a5357c5bd97c47a">Ne7sshSftp</a>(ne7ssh_session *_session, ne7ssh_channel *_channel)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#d744609a8a3ee9c204eabfb87343808d">open</a>(uint32 channelID)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#4450ac43a6a9d682933d529c60025680">openDir</a>(const char *dirname)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#2f6b4b5c78f00017b579cbefb33ca50f">openFile</a>(const char *filename, uint8 shortMode)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>OVERWRITE</b> enum value (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#ca25876efc6fc9c6d0f6a45b7f66aa13">processAttrs</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#aeacc2f7540067dd82cf04c78da5ee42">put</a>(FILE *localFile, const char *remoteFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>READ</b> enum value (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#fee9fa39f3ec886f9254c379b820b0ba">readFile</a>(uint32 fileID, uint64 offset=0)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#450654cc1a212b348b7ccadd5d83e4df">receive</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#54c29781531b3faa940c5285e7e1a094">receiveUntil</a>(short _cmd, uint32 timeSec=0)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#9728a4a0c2f63f9b5354bc1998057b21">receiveWhile</a>(short _cmd, uint32 timeSec=0)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#95b06a2af672b770eeccf32f9bf27f44">receiveWindowAdjust</a>()</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#7016d759690e078aa3be651bafc5b84b">rm</a>(const char *remoteFile)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#17021eaaf1224e74a052ef4ed40864ec">rmdir</a>(const char *remoteDir)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#959a7e3dc6162e4a7c3a30470728b835">sendAdjustWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#ad6c9e2d2ee39be1c0cd078d30f7b11b">sendAll</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#96400430e7b338389aab85a04ea9921e">sendClose</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#5a4bed6a381e7c2521995015272ebb8b">sendEof</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>seq</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#991bfa710d93c4fba67bb810f1068676">setTimeout</a>(uint32 _timeout)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sftpCmd</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sftpFiles</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sftpFilesCount</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>timeout</b> (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>windowRecv</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>windowSend</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#8154fdfcc75f63d71f6d4ebe29155590">write</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;data)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#6fd55afdebec6ece8af2d5524dc2e5a0">writeFile</a>(uint32 fileID, const uint8 *data, uint32 len, uint64 offset=0)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>writeMode</b> enum name (defined in <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>)</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#59b4a174d73ee8cbdec676f6cbe69c5b">~ne7ssh_channel</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftp.html#1d4bcdec50d428aa32c6c94919502dae">~Ne7sshSftp</a>()</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:44 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,67 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7sshSftpPacket Member List</h1>This is the complete list of members for <a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#477f55539eb249bda2a7c311f2639437">addBigInt</a>(const Botan::BigInt &amp;bn)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#4bf8792affeb750976e18f658eeba5ee">addBytes</a>(const Botan::byte *buff, uint32 len)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#b746c998869885e043ff1db422c8ebf5">addChar</a>(const char ch)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#2fdcd0fa8215c6ce73ec8dc61f7ae8c5">addFile</a>(const char *filename)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#387c791ce256b9a3747f654596b5945f">addInt</a>(const uint32 var)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#fa2cc71f2c697621a22c092a84d4bbbb">addInt64</a>(const uint64 var)</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#28ea3ddaf5f19c6202bd173c990ed835">addString</a>(const char *str)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#f0e0658970d00f271b5053130e294ee4">addVector</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;secvec)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#e5925806510ef106e1435640b6010bc7">addVectorField</a>(const Botan::SecureVector&lt; Botan::byte &gt; &amp;vector)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#7c1276275a551da4dc460a7f9e8884eb">bn2vector</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, const Botan::BigInt &amp;bi)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>buffer</b> (defined in <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>channel</b> (defined in <a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a>)</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#722e2787d24d59b0432fa9a1b38f0aa2">chop</a>(uint32 nBytes)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#878cacf6b1fc6e1ae561584444e13db9">clear</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#f0e1783a46f61bce09daa9cbd3a1a64b">getBigInt</a>(Botan::BigInt &amp;result)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#231e8c002067934db84921f4bdc1c467">getByte</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#d7cb4926f971ecbe25a03bca59d0e6bb">getInt</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#49290c1b73cf7cfbe684555e7b125317">getInt64</a>()</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#6437d3125dd58e4d71bd0e0351a315ec">getString</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#43daa80040c6c1676f00af013fea566f">isChannelSet</a>()</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#0b70fd63fc4dd1d5badce895d318b117">length</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#b4419d40aa0e062b15741e30b5c6f9d4">ne7ssh_string</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#be71d3df44c082323c12fb14ceb3b23e">ne7ssh_string</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#e4d4951b32a58f171e225194c4d0e873">ne7ssh_string</a>(const char *var, uint32 position)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#54df2d3302fdf0e825f4ad1b616cc15c">Ne7sshSftpPacket</a>()</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#05d7cba2934f1e6f5723e93354d9702e">Ne7sshSftpPacket</a>(int channel)</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#d859efc5bffd4d8f052d0dd60cc35f35">Ne7sshSftpPacket</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#198a4c462ea4e73314c81003f09c98bd">nextPart</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#ea5ca8a3645c570af9f03bc4f9bdc523">resetParts</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#47f06a2606e6982a2741de59be7ea786">split</a>(const char token)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#a9ad7d742391e82b582bbe92d7733bac">value</a>()</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#9752d881865bf4aa3eb55ce6207a2014">valueFragment</a>(uint32 len=0)</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#0b8fd6571f6e272c199521d1badecea6">~ne7ssh_string</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classNe7sshSftpPacket.html#515d160ed0a9b6d25df767cb57fee7ab">~Ne7sshSftpPacket</a>()</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:44 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,302 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Ne7sshSftpPacket Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Ne7sshSftpPacket Class Reference</h1><!-- doxytag: class="Ne7sshSftpPacket" --><!-- doxytag: inherits="ne7ssh_string" --><code>#include &lt;<a class="el" href="ne7ssh__sftp__packet_8h_source.html">ne7ssh_sftp_packet.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Ne7sshSftpPacket:</div>
<div class="dynsection">
<p><center><img src="classNe7sshSftpPacket__inherit__graph.png" border="0" usemap="#Ne7sshSftpPacket__inherit__map" alt="Inheritance graph"></center>
<map name="Ne7sshSftpPacket__inherit__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="20,7,129,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Ne7sshSftpPacket:</div>
<div class="dynsection">
<p><center><img src="classNe7sshSftpPacket__coll__graph.png" border="0" usemap="#Ne7sshSftpPacket__coll__map" alt="Collaboration graph"></center>
<map name="Ne7sshSftpPacket__coll__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="20,7,129,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classNe7sshSftpPacket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#54df2d3302fdf0e825f4ad1b616cc15c">Ne7sshSftpPacket</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#05d7cba2934f1e6f5723e93354d9702e">Ne7sshSftpPacket</a> (int channel)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#d859efc5bffd4d8f052d0dd60cc35f35">Ne7sshSftpPacket</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#515d160ed0a9b6d25df767cb57fee7ab">~Ne7sshSftpPacket</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#a9ad7d742391e82b582bbe92d7733bac">value</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#9752d881865bf4aa3eb55ce6207a2014">valueFragment</a> (uint32 len=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#fa2cc71f2c697621a22c092a84d4bbbb">addInt64</a> (const uint64 var)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint64&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#49290c1b73cf7cfbe684555e7b125317">getInt64</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNe7sshSftpPacket.html#43daa80040c6c1676f00af013fea566f">isChannelSet</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8049fe9c640a02823af9a4171bd1ba79"></a><!-- doxytag: member="Ne7sshSftpPacket::channel" ref="8049fe9c640a02823af9a4171bd1ba79" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas &lt;<a href="mailto:andrew@netsieben.com">andrew@netsieben.com</a>&gt; </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="54df2d3302fdf0e825f4ad1b616cc15c"></a><!-- doxytag: member="Ne7sshSftpPacket::Ne7sshSftpPacket" ref="54df2d3302fdf0e825f4ad1b616cc15c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7sshSftpPacket::Ne7sshSftpPacket </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default constructor.
</div>
</div><p>
<a class="anchor" name="05d7cba2934f1e6f5723e93354d9702e"></a><!-- doxytag: member="Ne7sshSftpPacket::Ne7sshSftpPacket" ref="05d7cba2934f1e6f5723e93354d9702e" args="(int channel)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7sshSftpPacket::Ne7sshSftpPacket </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>channel</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>Channel ID, returned by connect methods. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="d859efc5bffd4d8f052d0dd60cc35f35"></a><!-- doxytag: member="Ne7sshSftpPacket::Ne7sshSftpPacket" ref="d859efc5bffd4d8f052d0dd60cc35f35" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7sshSftpPacket::Ne7sshSftpPacket </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>var</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>position</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor. Intializes the class with packet data. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>var</em>&nbsp;</td><td>Reference to packet data. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>position</em>&nbsp;</td><td>Offset. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="515d160ed0a9b6d25df767cb57fee7ab"></a><!-- doxytag: member="Ne7sshSftpPacket::~Ne7sshSftpPacket" ref="515d160ed0a9b6d25df767cb57fee7ab" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Ne7sshSftpPacket::~Ne7sshSftpPacket </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="fa2cc71f2c697621a22c092a84d4bbbb"></a><!-- doxytag: member="Ne7sshSftpPacket::addInt64" ref="fa2cc71f2c697621a22c092a84d4bbbb" args="(const uint64 var)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Ne7sshSftpPacket::addInt64 </td>
<td>(</td>
<td class="paramtype">const uint64&nbsp;</td>
<td class="paramname"> <em>var</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Appends 64 bit integer to the packet buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>var</em>&nbsp;</td><td>64 bit integer. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00100">ne7ssh_string::addBytes()</a>.</p>
</div>
</div><p>
<a class="anchor" name="49290c1b73cf7cfbe684555e7b125317"></a><!-- doxytag: member="Ne7sshSftpPacket::getInt64" ref="49290c1b73cf7cfbe684555e7b125317" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64 Ne7sshSftpPacket::getInt64 </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves a 64 bit integer from a packet buffer. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Unsigned 64 bit integer. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00362">Ne7sshSftp::processAttrs()</a>.</p>
</div>
</div><p>
<a class="anchor" name="43daa80040c6c1676f00af013fea566f"></a><!-- doxytag: member="Ne7sshSftpPacket::isChannelSet" ref="43daa80040c6c1676f00af013fea566f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Ne7sshSftpPacket::isChannelSet </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if the channel ID is set in the instance. Channel ID is needed to construct a SFTP packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the channel ID is set. Otherwise false. </dd></dl>
</div>
</div><p>
<a class="anchor" name="a9ad7d742391e82b582bbe92d7733bac"></a><!-- doxytag: member="Ne7sshSftpPacket::value" ref="a9ad7d742391e82b582bbe92d7733bac" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Botan::SecureVector&lt; Botan::byte &gt; &amp; Ne7sshSftpPacket::value </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns buffer as a vector appending the SFTP subsystem specific packet headers. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to the buffer. </dd></dl>
<p>Reimplemented from <a class="el" href="classne7ssh__string.html#b593c45799f28af90922b7a8332e1a9f">ne7ssh_string</a>.</p>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9752d881865bf4aa3eb55ce6207a2014"></a><!-- doxytag: member="Ne7sshSftpPacket::valueFragment" ref="9752d881865bf4aa3eb55ce6207a2014" args="(uint32 len=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Botan::SecureVector&lt; Botan::byte &gt; Ne7sshSftpPacket::valueFragment </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>len</em> = <code>0</code> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns buffer as a vector appending the SFTP subsystem specific packet headers, including the length in the first packet transmitted. Used in transmissions when it's necessary to split the message into multiple packets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>Length to append to the first packet in the message. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to SFTP packet or empty vector on error. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__sftp__packet_8h_source.html">ne7ssh_sftp_packet.h</a><li>ne7ssh_sftp_packet.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:44 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="20,7,129,33">

View File

@@ -1 +0,0 @@
c1347fb4ae29dfc3c6f77685b09bf3ae

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="20,7,129,33">

View File

@@ -1 +0,0 @@
c1347fb4ae29dfc3c6f77685b09bf3ae

View File

@@ -1,7 +0,0 @@
<area shape="rect" href="$classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="293,95,416,121">
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="12,21,121,48">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="5,211,128,237">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="301,216,408,243">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="288,277,421,304">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="281,328,428,355">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="265,379,444,405">

View File

@@ -1 +0,0 @@
a33cd3840dcce8913b78a463d6b5024b

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="5,7,128,33">

View File

@@ -1 +0,0 @@
ead7f3358bb2dde804b9829bd96bab56

View File

@@ -1,40 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Alphabetical List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Class Index</h1><p><div class="qindex"><a class="qindex" href="#letter_C">C</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_E">E</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_F">F</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_N">N</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_S">S</a></div><p>
<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
<tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</div></td></tr></table>
</td><td><a class="el" href="structNe7SftpSubsystem_1_1fileAttrs.html">Ne7SftpSubsystem::fileAttrs</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classNe7sshSftpPacket.html">Ne7sshSftpPacket</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="structconnStruct.html">connStruct</a>&nbsp;&nbsp;&nbsp;</td><td><a name="letter_N"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;N&nbsp;&nbsp;</div></td></tr></table>
</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>&nbsp;&nbsp;&nbsp;</td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;S&nbsp;&nbsp;</div></td></tr></table>
</td></tr><tr><td><a name="letter_E"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;E&nbsp;&nbsp;</div></td></tr></table>
</td><td><a class="el" href="classNe7SftpSubsystem.html">Ne7SftpSubsystem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classNe7sshError.html">Ne7sshError</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structNe7sshSftp_1_1sftpFile.html">Ne7sshSftp::sftpFile</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="structNe7sshError_1_1Error.html">Ne7sshError::Error</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh.html">ne7ssh</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structNe7sshSftp_1_1sftpFileAttrs.html">Ne7sshSftp::sftpFileAttrs</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;F&nbsp;&nbsp;</div></td></tr></table>
</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a>&nbsp;&nbsp;&nbsp;</td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_C">C</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_E">E</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_F">F</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_N">N</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_S">S</a></div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:41 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,74 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh.html">ne7ssh</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>allConns</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>CIPHER_ALGORITHMS</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#16651c53db2eca3e2cff3d8952828a8c">close</a>(int channel)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>COMPRESSION_ALGORITHMS</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>conCount</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>connected</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>connections</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#734f0ad906e7afbb894649785053708f">connectWithKey</a>(const char *host, const int port, const char *username, const char *privKeyFileName, bool shell=true, const int timeout=0)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#35e3342967a280c2179ed281bca333c5">connectWithPassword</a>(const char *host, const int port, const char *username, const char *password, bool shell=true, const int timeout=0)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#3f2c2aee58e1be2b9b620f7e53bfcfc5">errors</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>errs</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#1f91e811db4c6a997888696f7ff4c4f4">generateKeyPair</a>(const char *type, const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=0)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#cd7228cab037d3fc54259d7e4b18245a">getChannelNo</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#d772b5b0a9abfb7948fee9c6059ca1b7">getConnetions</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#064aab09df847060ed62953cf49f2e8f">getReceivedSize</a>(int channel, bool do_lock=true)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>HOSTKEY_ALGORITHMS</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>init</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#ba692e657f29143728adbff0468cd554">initSftp</a>(Ne7SftpSubsystem &amp;_sftp, int channel)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>isSelectActive</b>() (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [inline, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>KEX_ALGORITHMS</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#bf36d7f85f42e982ed62cf303dc35ac6">lock</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>MAC_ALGORITHMS</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>mut</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#cd9f52f210e962070b103dba82a16c3a">ne7ssh</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>PREFERED_CIPHER</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>PREFERED_MAC</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#538eab080fb5f1dca1bab2db6eed1998">read</a>(int channel, bool do_lock=true)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#b85697ca0326536d7a475fc7467d27a5">readBinary</a>(int channel)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>running</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>select_thread</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>selectActive</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>selectDead</b>() (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [inline, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#4a4e0fd7109e9b820d4d5ef91bed4117">selectThread</a>(void *)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#12be5a9661abf8deee660fd404d2a108">send</a>(const char *data, int channel)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#cd4c007e963c376b28cacaf0d9c9fa15">sendCmd</a>(const char *cmd, int channel, int timeout)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#df55894efd2972b10cc39bbc2a3c55be">setCount</a>(uint32 count)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#7a6d6135eb938753ce9ebc68237fc602">setOptions</a>(const char *prefCipher, const char *prefHmac)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>SSH_VERSION</b> (defined in <a class="el" href="classne7ssh.html">ne7ssh</a>)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#706db04659ef8e8deb38192de9f115bb">unlock</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td><code> [private, static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#cf5fb060ded2fbc2d923e6b925b74bba">waitFor</a>(int channel, const char *str, uint32 timeout=0)</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh.html#054d834b63e9b32603a2c93f2d5f2c93">~ne7ssh</a>()</td><td><a class="el" href="classne7ssh.html">ne7ssh</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -1,72 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_channel Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#a2d5379bfc1884c3f12bd024bdb0ca9a">adjustRecvWindow</a>(int bufferSize)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#bc8252b3f45175c8178d495f11c748a0">adjustWindow</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>channelOpened</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>closed</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>cmdComplete</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#f12993833f77a6e0cf673133737a995c">data2Send</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>delayedBuffer</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>eof</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#1037fa89c4b81050b98209cc89e32188">execCmd</a>(const char *cmd)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#19cecc814a558e70e692475a861b14b0">getCmdComplete</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#8a5aa42877d987be82de852804d64224">getReceived</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#acafeb21fdfe9bd9a6e805c51635a724">getRecvWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#af0b5ad2f382674b621d4b923f688e1f">getSendWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#08d6085ea4493092d483819cde904ef5">getShell</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#ec28c7ca08840c27ef98650acb520a35">handleChannelConfirm</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#1fbc5d7d3f5f986a1a8921aecf5aaa2e">handleClose</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#5752552709e47b3693b393be19f69139">handleData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#9145226f1b6b0d2e3c20154da81d0bac">handleDisconnect</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#468c9ba36282ab97e535c9285fd00b79">handleEof</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#fa9835e80a26e96ae733de123713e1db">handleExtendedData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#4cfe1bda6308751f6f89612b6ea6e5b8">handleReceived</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#195ca3cdebd29ea9285762bfc777eb64">handleRequest</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>inBuffer</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#d78ff7808101f1e577a8dcc6715df1e8">isOpen</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#bba1bcb1c5cf307707b55451cd399598">isRemoteShell</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#2ca4770827c460ade71f4f64e14c78d9">ne7ssh_channel</a>(ne7ssh_session *_session)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#d744609a8a3ee9c204eabfb87343808d">open</a>(uint32 channelID)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>outBuffer</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#450654cc1a212b348b7ccadd5d83e4df">receive</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#959a7e3dc6162e4a7c3a30470728b835">sendAdjustWindow</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#ad6c9e2d2ee39be1c0cd078d30f7b11b">sendAll</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#96400430e7b338389aab85a04ea9921e">sendClose</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#5a4bed6a381e7c2521995015272ebb8b">sendEof</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>shellSpawned</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>windowRecv</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>windowSend</b> (defined in <a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a>)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#8154fdfcc75f63d71f6d4ebe29155590">write</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;data)</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__channel.html#59b4a174d73ee8cbdec676f6cbe69c5b">~ne7ssh_channel</a>()</td><td><a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a></td><td><code> [virtual]</code></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,882 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_channel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_channel Class Reference</h1><!-- doxytag: class="ne7ssh_channel" --><code>#include &lt;<a class="el" href="ne7ssh__channel_8h_source.html">ne7ssh_channel.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for ne7ssh_channel:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__channel__inherit__graph.png" border="0" usemap="#ne7ssh__channel__inherit__map" alt="Inheritance graph"></center>
<map name="ne7ssh__channel__inherit__map">
<area shape="rect" href="classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="19,84,115,111"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for ne7ssh_channel:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__channel__coll__graph.png" border="0" usemap="#ne7ssh__channel__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__channel__coll__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33"><area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="275,7,397,33"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="207,137,313,164"><area shape="rect" href="classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="379,137,512,164"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__channel-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#2ca4770827c460ade71f4f64e14c78d9">ne7ssh_channel</a> (<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *_session)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#59b4a174d73ee8cbdec676f6cbe69c5b">~ne7ssh_channel</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#d744609a8a3ee9c204eabfb87343808d">open</a> (uint32 channelID)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#08d6085ea4493092d483819cde904ef5">getShell</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#1037fa89c4b81050b98209cc89e32188">execCmd</a> (const char *cmd)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#450654cc1a212b348b7ccadd5d83e4df">receive</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#4cfe1bda6308751f6f89612b6ea6e5b8">handleReceived</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#8154fdfcc75f63d71f6d4ebe29155590">write</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#ad6c9e2d2ee39be1c0cd078d30f7b11b">sendAll</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#f12993833f77a6e0cf673133737a995c">data2Send</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#d78ff7808101f1e577a8dcc6715df1e8">isOpen</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#96400430e7b338389aab85a04ea9921e">sendClose</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#5a4bed6a381e7c2521995015272ebb8b">sendEof</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#8a5aa42877d987be82de852804d64224">getReceived</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#19cecc814a558e70e692475a861b14b0">getCmdComplete</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#bba1bcb1c5cf307707b55451cd399598">isRemoteShell</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#a2d5379bfc1884c3f12bd024bdb0ca9a">adjustRecvWindow</a> (int bufferSize)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#acafeb21fdfe9bd9a6e805c51635a724">getRecvWindow</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#af0b5ad2f382674b621d4b923f688e1f">getSendWindow</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#959a7e3dc6162e4a7c3a30470728b835">sendAdjustWindow</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b4c2c5a96df5cb5018de3bfa132ada4"></a><!-- doxytag: member="ne7ssh_channel::windowRecv" ref="9b4c2c5a96df5cb5018de3bfa132ada4" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>windowRecv</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93ad54eaf07680e24f8c98f0baedf97a"></a><!-- doxytag: member="ne7ssh_channel::windowSend" ref="93ad54eaf07680e24f8c98f0baedf97a" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>windowSend</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00b73e6ac533691884ca24d2d0f3655c"></a><!-- doxytag: member="ne7ssh_channel::channelOpened" ref="00b73e6ac533691884ca24d2d0f3655c" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>channelOpened</b></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#ec28c7ca08840c27ef98650acb520a35">handleChannelConfirm</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#bc8252b3f45175c8178d495f11c748a0">adjustWindow</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#5752552709e47b3693b393be19f69139">handleData</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#fa9835e80a26e96ae733de123713e1db">handleExtendedData</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#468c9ba36282ab97e535c9285fd00b79">handleEof</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#1fbc5d7d3f5f986a1a8921aecf5aaa2e">handleClose</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#195ca3cdebd29ea9285762bfc777eb64">handleRequest</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#9145226f1b6b0d2e3c20154da81d0bac">handleDisconnect</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faec7f8ab4d61554589011e73ee48b11"></a><!-- doxytag: member="ne7ssh_channel::eof" ref="faec7f8ab4d61554589011e73ee48b11" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>eof</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24cbdcaf4d5787af875c7c1688be9e8d"></a><!-- doxytag: member="ne7ssh_channel::closed" ref="24cbdcaf4d5787af875c7c1688be9e8d" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>closed</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc258d45748f73c775715a7788eb8ae4"></a><!-- doxytag: member="ne7ssh_channel::cmdComplete" ref="dc258d45748f73c775715a7788eb8ae4" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>cmdComplete</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e08779bc600b3e45e38839738cbaca00"></a><!-- doxytag: member="ne7ssh_channel::shellSpawned" ref="e08779bc600b3e45e38839738cbaca00" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>shellSpawned</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d264fba07423974e30cf6238d2a4b9f"></a><!-- doxytag: member="ne7ssh_channel::session" ref="8d264fba07423974e30cf6238d2a4b9f" args="" -->
<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>session</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4b0f78b42352aa5e30ece3985e00243"></a><!-- doxytag: member="ne7ssh_channel::inBuffer" ref="f4b0f78b42352aa5e30ece3985e00243" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>inBuffer</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4de5203ea6a360c4a1c88f14e4f079eb"></a><!-- doxytag: member="ne7ssh_channel::outBuffer" ref="4de5203ea6a360c4a1c88f14e4f079eb" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>outBuffer</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6fb47771145166f04989f6a4c9c8b483"></a><!-- doxytag: member="ne7ssh_channel::delayedBuffer" ref="6fb47771145166f04989f6a4c9c8b483" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>delayedBuffer</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2ca4770827c460ade71f4f64e14c78d9"></a><!-- doxytag: member="ne7ssh_channel::ne7ssh_channel" ref="2ca4770827c460ade71f4f64e14c78d9" args="(ne7ssh_session *_session)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_channel::ne7ssh_channel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td>
<td class="paramname"> <em>_session</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a> class consturctor. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_session</em>&nbsp;</td><td>Pointer to <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="59b4a174d73ee8cbdec676f6cbe69c5b"></a><!-- doxytag: member="ne7ssh_channel::~ne7ssh_channel" ref="59b4a174d73ee8cbdec676f6cbe69c5b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_channel::~ne7ssh_channel </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a> class destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2d5379bfc1884c3f12bd024bdb0ca9a"></a><!-- doxytag: member="ne7ssh_channel::adjustRecvWindow" ref="a2d5379bfc1884c3f12bd024bdb0ca9a" args="(int bufferSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::adjustRecvWindow </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>bufferSize</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if receive window needs adjusting, if so send a window adjust request. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>bufferSize</em>&nbsp;</td><td>Current buffer size. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>False on any error, otherwise true. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>.</p>
</div>
</div><p>
<a class="anchor" name="bc8252b3f45175c8178d495f11c748a0"></a><!-- doxytag: member="ne7ssh_channel::adjustWindow" ref="bc8252b3f45175c8178d495f11c748a0" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::adjustWindow </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'WINDOWS_ADJUST' packet. <p>
It's used to increase our sending window size. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing WINDOW_ADJUST packet. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="f12993833f77a6e0cf673133737a995c"></a><!-- doxytag: member="ne7ssh_channel::data2Send" ref="f12993833f77a6e0cf673133737a995c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::data2Send </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if there is any data waiting to be sent. Most often called from selectThread via <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if there is data to send, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00156">ne7ssh_connection::data2Send()</a>.</p>
</div>
</div><p>
<a class="anchor" name="1037fa89c4b81050b98209cc89e32188"></a><!-- doxytag: member="ne7ssh_channel::execCmd" ref="1037fa89c4b81050b98209cc89e32188" args="(const char *cmd)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::execCmd </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>cmd</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Executes a single command on the remote end and terminates the connection. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td>Remote command to execute. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if command if sening of a command succeded. False returned on failure. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00296">ne7ssh_connection::sendCmd()</a>.</p>
</div>
</div><p>
<a class="anchor" name="19cecc814a558e70e692475a861b14b0"></a><!-- doxytag: member="ne7ssh_channel::getCmdComplete" ref="19cecc814a558e70e692475a861b14b0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::getCmdComplete </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When executing a single command with <a class="el" href="classne7ssh.html#cd4c007e963c376b28cacaf0d9c9fa15">ne7ssh::sendCmd</a> this command is used to determine when remote side finishes the execution. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if execution of the command is complete. Otherwise false. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00200">ne7ssh_connection::getCmdComplete()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8a5aa42877d987be82de852804d64224"></a><!-- doxytag: member="ne7ssh_channel::getReceived" ref="8a5aa42877d987be82de852804d64224" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Botan::SecureVector&lt;Botan::byte&gt;&amp; ne7ssh_channel::getReceived </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets last received packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to a vector containing the last received packet. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00194">ne7ssh_connection::getReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="acafeb21fdfe9bd9a6e805c51635a724"></a><!-- doxytag: member="ne7ssh_channel::getRecvWindow" ref="acafeb21fdfe9bd9a6e805c51635a724" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_channel::getRecvWindow </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the current size of the receive window. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the revceive window. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00028">Ne7sshSftp::Ne7sshSftp()</a>.</p>
</div>
</div><p>
<a class="anchor" name="af0b5ad2f382674b621d4b923f688e1f"></a><!-- doxytag: member="ne7ssh_channel::getSendWindow" ref="af0b5ad2f382674b621d4b923f688e1f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_channel::getSendWindow </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the current size of the send window. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the send window. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00028">Ne7sshSftp::Ne7sshSftp()</a>.</p>
</div>
</div><p>
<a class="anchor" name="08d6085ea4493092d483819cde904ef5"></a><!-- doxytag: member="ne7ssh_channel::getShell" ref="08d6085ea4493092d483819cde904ef5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::getShell </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Requests shell from remote side. Does not wait for or expect a reply. According to SSH specs that's an acceptable behavior.
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ec28c7ca08840c27ef98650acb520a35"></a><!-- doxytag: member="ne7ssh_channel::handleChannelConfirm" ref="ec28c7ca08840c27ef98650acb520a35" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleChannelConfirm </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'CHANNEL_OPEN_CONFIRMATION' packet. <p>
After parsing the payload, send channel ID is assigned, along with send windows size and maximum packer size. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Always returns true. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00116">ne7ssh_session::setMaxPacket()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00092">ne7ssh_session::setSendChannel()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">open()</a>.</p>
</div>
</div><p>
<a class="anchor" name="1fbc5d7d3f5f986a1a8921aecf5aaa2e"></a><!-- doxytag: member="ne7ssh_channel::handleClose" ref="1fbc5d7d3f5f986a1a8921aecf5aaa2e" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::handleClose </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'CLOSE' packet. <p>
If the close action wasn't initiated on this end, we also send a 'CLOSE' packet to the remote side, prompting the closing of remote side's receiving channel. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'CLOSE' packet. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">sendClose()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="5752552709e47b3693b393be19f69139"></a><!-- doxytag: member="ne7ssh_channel::handleData" ref="5752552709e47b3693b393be19f69139" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleData </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'DATA' packet. <p>
It's used to parse the payload, and add received data to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing 'DATA' packet. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>
<p>Reimplemented in <a class="el" href="classNe7sshSftp.html#e85f889433d08962712780e4d9d5bfcc">Ne7sshSftp</a>.</p>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00205">ne7ssh_string::chop()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9145226f1b6b0d2e3c20154da81d0bac"></a><!-- doxytag: member="ne7ssh_channel::handleDisconnect" ref="9145226f1b6b0d2e3c20154da81d0bac" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleDisconnect </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'DISCONNECT' packet. <p>
In normal operation we should not get this packet. Only if some serious error occurs, and makes remote side drop the connection, will this packet be received. And at that point we disconnect right away, and throw an error. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'DISCONNECT' packet. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="468c9ba36282ab97e535c9285fd00b79"></a><!-- doxytag: member="ne7ssh_channel::handleEof" ref="468c9ba36282ab97e535c9285fd00b79" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleEof </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'EOF' packet. <p>
It's used to close the receiving window and channel. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing EOF packet. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">sendClose()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="fa9835e80a26e96ae733de123713e1db"></a><!-- doxytag: member="ne7ssh_channel::handleExtendedData" ref="fa9835e80a26e96ae733de123713e1db" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleExtendedData </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle 'EXTENDED_DATA' packet. This packet is mostly used to transmit remote side errors. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing 'EXTENDED_DATA' packet. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4cfe1bda6308751f6f89612b6ea6e5b8"></a><!-- doxytag: member="ne7ssh_channel::handleReceived" ref="4cfe1bda6308751f6f89612b6ea6e5b8" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::handleReceived </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Handle a packet received from remote side. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_packet</em>&nbsp;</td><td>Reference to a newly received packet. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the packet successfully processed. False on any error. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00087">adjustWindow()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00114">handleClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00124">handleDisconnect()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00102">handleEof()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">handleRequest()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00301">receive()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00147">Ne7sshSftp::receiveWindowAdjust()</a>.</p>
</div>
</div><p>
<a class="anchor" name="195ca3cdebd29ea9285762bfc777eb64"></a><!-- doxytag: member="ne7ssh_channel::handleRequest" ref="195ca3cdebd29ea9285762bfc777eb64" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::handleRequest </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>packet</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to handle the 'REQUEST' packet. <p>
At this point only two requests are supported, namely "exit-signal" and "exit-status". For the most part we ignore this packet, which is safe to do according to SSH specs. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'REQUEST' packet. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>
</div>
</div><p>
<a class="anchor" name="d78ff7808101f1e577a8dcc6715df1e8"></a><!-- doxytag: member="ne7ssh_channel::isOpen" ref="d78ff7808101f1e577a8dcc6715df1e8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::isOpen </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if current channel is in an open state. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if channel is open, otherwise false is returned. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00182">ne7ssh_connection::isOpen()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">ne7ssh_connection::sendClose()</a>.</p>
</div>
</div><p>
<a class="anchor" name="bba1bcb1c5cf307707b55451cd399598"></a><!-- doxytag: member="ne7ssh_channel::isRemoteShell" ref="bba1bcb1c5cf307707b55451cd399598" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::isRemoteShell </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines if the shell has been spawned on the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the shell has been spawned. Otherwise false. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00212">ne7ssh_connection::isRemoteShell()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00302">ne7ssh_connection::startSftp()</a>.</p>
</div>
</div><p>
<a class="anchor" name="d744609a8a3ee9c204eabfb87343808d"></a><!-- doxytag: member="ne7ssh_channel::open" ref="d744609a8a3ee9c204eabfb87343808d" args="(uint32 channelID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_channel::open </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>channelID</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Requests 'CHANNEL_OPEN' from the remote side. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>channelID</em>&nbsp;</td><td>New receiving channel ID. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns new channel ID, or 0 if open fails. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00063">handleChannelConfirm()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="450654cc1a212b348b7ccadd5d83e4df"></a><!-- doxytag: member="ne7ssh_channel::receive" ref="450654cc1a212b348b7ccadd5d83e4df" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::receive </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Receives new packet from remote side. This function is mostly used from selectThread.
<p>References <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00285">ne7ssh_connection::handleData()</a>.</p>
</div>
</div><p>
<a class="anchor" name="959a7e3dc6162e4a7c3a30470728b835"></a><!-- doxytag: member="ne7ssh_channel::sendAdjustWindow" ref="959a7e3dc6162e4a7c3a30470728b835" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::sendAdjustWindow </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Request adjustment of the send window size on the remote end, so we can receive more data.
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00122">ne7ssh_session::getMaxPacket()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00446">adjustRecvWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ad6c9e2d2ee39be1c0cd078d30f7b11b"></a><!-- doxytag: member="ne7ssh_channel::sendAll" ref="ad6c9e2d2ee39be1c0cd078d30f7b11b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::sendAll </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends the entire buffer. Most often called from selectThread via <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class.
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">write()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00162">ne7ssh_connection::sendData()</a>.</p>
</div>
</div><p>
<a class="anchor" name="96400430e7b338389aab85a04ea9921e"></a><!-- doxytag: member="ne7ssh_channel::sendClose" ref="96400430e7b338389aab85a04ea9921e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::sendClose </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When closing a channel, initiates the closing procedure. <dl class="return" compact><dt><b>Returns:</b></dt><dd>False if sending fails. Otherwise true is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00114">handleClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00102">handleEof()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">ne7ssh_connection::sendClose()</a>.</p>
</div>
</div><p>
<a class="anchor" name="5a4bed6a381e7c2521995015272ebb8b"></a><!-- doxytag: member="ne7ssh_channel::sendEof" ref="5a4bed6a381e7c2521995015272ebb8b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_channel::sendEof </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Send EOF to the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if sending succeeds, otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8154fdfcc75f63d71f6d4ebe29155590"></a><!-- doxytag: member="ne7ssh_channel::write" ref="8154fdfcc75f63d71f6d4ebe29155590" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;data)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_channel::write </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>data</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pushes a new command to the buffer where the selectThread will catch and send it. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Reference to vector containing a command to be added to the buffer. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00122">ne7ssh_session::getMaxPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">sendAll()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00290">ne7ssh_connection::sendData()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__channel_8h_source.html">ne7ssh_channel.h</a><li>ne7ssh_channel.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,4 +0,0 @@
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="275,7,397,33">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="207,137,313,164">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="379,137,512,164">

View File

@@ -1 +0,0 @@
ec1101fe9893f883eb4ebdb2f49a2dc0

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="19,84,115,111">

View File

@@ -1 +0,0 @@
386e64f96857962ac64bfcfcd2ee191e

View File

@@ -1,12 +0,0 @@
<area shape="rect" href="$classNe7sshError.html" title="Ne7sshError" alt="" coords="351,329,449,356">
<area shape="rect" href="$structNe7sshError_1_1Error.html" title="Ne7sshError::Error" alt="" coords="216,233,355,260">
<area shape="rect" href="$classne7ssh__connection.html" title="ne7ssh_connection" alt="" coords="591,329,735,356">
<area shape="rect" href="$structconnStruct.html" title="connStruct" alt="" coords="524,425,615,452">
<area shape="rect" href="$classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="601,137,724,164">
<area shape="rect" href="$classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="517,233,613,260">
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="236,7,345,33">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="779,7,901,33">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="956,137,1063,164">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="748,137,881,164">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="335,137,481,164">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="5,137,184,164">

View File

@@ -1 +0,0 @@
93c2b10c3b049ce2f2c5694a6507d90e

View File

@@ -1,71 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_connection Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#e1103a358cc4c5e5551cc02b456f5b49">authWithKey</a>(const char *username, const char *privKeyFileName)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#cfc0a9286778d088487e1e6eef89f9d1">authWithPassword</a>(const char *username, const char *password)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>channel</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#bb114ef7885807fef7722080c9be5fa4">checkRemoteVersion</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>cmdClosed</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>cmdRunning</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>connected</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#4b9a9d4b26e474a175f8bacbc18e7e08">connectWithKey</a>(uint32 channelID, const char *host, uint32 port, const char *username, const char *privKeyFileName, bool shell=true, int timeout=0)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#8078ac566bbddf9487131848d5c171d0">connectWithPassword</a>(uint32 channelID, const char *host, uint32 port, const char *username, const char *password, bool shell=true, int timeout=0)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>crypto</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#13f6f62c5d0345f1573ad5626bc8e75e">data2Send</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#8afe35dfcf55958e5578a894a9111e73">getChannelNo</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#fec5882335c281c8fc06d951b4d59b26">getCmdComplete</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#3aac541e10f43b83a42aef34a1fb876f">getReceived</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#ec81b2d5753f8d333de76535af5cb670">getSocket</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#e12a09bb5c6974e0b17ce957a8bf03f0">handleData</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#b82b95339f325564f83bc2cc091af995">isCmdClosed</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#53d7ae314361b4911c8802e9fa780ae8">isCmdRunning</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#27691577539dd356f7f872755d7053de">isConnected</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#5062b1df08b2cdb04ee8b6b2b73f0733">isOpen</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#9919d63251df10e4c0d4fd695b0751c2">isRemoteShell</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#a149c0df2bf930f115026633d9daf550">isSftpActive</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>mut</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#7024b9b12d517609243fb90ecd859434">ne7ssh_connection</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#fc3d154a577c422670c43dfa4c38fd0c">requestService</a>(const char *service)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#f90793537ef75cbed854f4e525a5c01b">sendClose</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#9b0770473939bb8230be993d3948017d">sendCmd</a>(const char *cmd)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#c809469add6347cdc78c44491746062f">sendData</a>(const char *data)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#32f5f75a2331f312d41678594e4edcd8">sendData</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#9bb5d840002bdf4b8a5f81fdfbee671b">sendLocalVersion</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#717902f4f3a863309e1d013982aecd41">setChannelNo</a>(int channelID)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sftp</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sock</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#cd5e5fa36d401e816ce15989d30618c7">startSftp</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>thisChannel</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>transport</b> (defined in <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a>)</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__connection.html#089e8aa8fbdfded464394ee94334d36c">~ne7ssh_connection</a>()</td><td><a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,900 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_connection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_connection Class Reference</h1><!-- doxytag: class="ne7ssh_connection" --><code>#include &lt;<a class="el" href="ne7ssh__connection_8h_source.html">ne7ssh_connection.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for ne7ssh_connection:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__connection__coll__graph.png" border="0" usemap="#ne7ssh__connection__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__connection__coll__map">
<area shape="rect" href="classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="443,137,565,164"><area shape="rect" href="classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="479,233,575,260"><area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="504,7,613,33"><area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="135,7,257,33"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="8,137,115,164"><area shape="rect" href="classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="189,137,323,164"><area shape="rect" href="structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="716,137,863,164"><area shape="rect" href="structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="887,137,1065,164"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__connection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#7024b9b12d517609243fb90ecd859434">ne7ssh_connection</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#089e8aa8fbdfded464394ee94334d36c">~ne7ssh_connection</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#8078ac566bbddf9487131848d5c171d0">connectWithPassword</a> (uint32 channelID, const char *host, uint32 port, const char *username, const char *password, bool shell=true, int timeout=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#4b9a9d4b26e474a175f8bacbc18e7e08">connectWithKey</a> (uint32 channelID, const char *host, uint32 port, const char *username, const char *privKeyFileName, bool shell=true, int timeout=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#ec81b2d5753f8d333de76535af5cb670">getSocket</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#e12a09bb5c6974e0b17ce957a8bf03f0">handleData</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#c809469add6347cdc78c44491746062f">sendData</a> (const char *data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#717902f4f3a863309e1d013982aecd41">setChannelNo</a> (int channelID)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#8afe35dfcf55958e5578a894a9111e73">getChannelNo</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#13f6f62c5d0345f1573ad5626bc8e75e">data2Send</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#32f5f75a2331f312d41678594e4edcd8">sendData</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#9b0770473939bb8230be993d3948017d">sendCmd</a> (const char *cmd)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#f90793537ef75cbed854f4e525a5c01b">sendClose</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#5062b1df08b2cdb04ee8b6b2b73f0733">isOpen</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#27691577539dd356f7f872755d7053de">isConnected</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#3aac541e10f43b83a42aef34a1fb876f">getReceived</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#fec5882335c281c8fc06d951b4d59b26">getCmdComplete</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#b82b95339f325564f83bc2cc091af995">isCmdClosed</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#9919d63251df10e4c0d4fd695b0751c2">isRemoteShell</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#53d7ae314361b4911c8802e9fa780ae8">isCmdRunning</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#cd5e5fa36d401e816ce15989d30618c7">startSftp</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#a149c0df2bf930f115026633d9daf550">isSftpActive</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#bb114ef7885807fef7722080c9be5fa4">checkRemoteVersion</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#9bb5d840002bdf4b8a5f81fdfbee671b">sendLocalVersion</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#fc3d154a577c422670c43dfa4c38fd0c">requestService</a> (const char *service)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#cfc0a9286778d088487e1e6eef89f9d1">authWithPassword</a> (const char *username, const char *password)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__connection.html#e1103a358cc4c5e5551cc02b456f5b49">authWithKey</a> (const char *username, const char *privKeyFileName)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49acf69d43131d9174d1e68f84188d8e"></a><!-- doxytag: member="ne7ssh_connection::sock" ref="49acf69d43131d9174d1e68f84188d8e" args="" -->
SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><b>sock</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e08d7cefdd330c3a2b31f002e4d8a487"></a><!-- doxytag: member="ne7ssh_connection::thisChannel" ref="e08d7cefdd330c3a2b31f002e4d8a487" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>thisChannel</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9cefff6bb97c7307fb2ee054e825e8bd"></a><!-- doxytag: member="ne7ssh_connection::crypto" ref="9cefff6bb97c7307fb2ee054e825e8bd" args="" -->
<a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>crypto</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3c39a9bb19430aca6defb29ab8860e7"></a><!-- doxytag: member="ne7ssh_connection::transport" ref="a3c39a9bb19430aca6defb29ab8860e7" args="" -->
<a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>transport</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18aa6065c5ae0f765ed6ab4177406f16"></a><!-- doxytag: member="ne7ssh_connection::session" ref="18aa6065c5ae0f765ed6ab4177406f16" args="" -->
<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>session</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8c9ae036b1ab4cb2c4fc880a8c82ee2"></a><!-- doxytag: member="ne7ssh_connection::channel" ref="b8c9ae036b1ab4cb2c4fc880a8c82ee2" args="" -->
<a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8db8d821419717b407070ff5871e7e86"></a><!-- doxytag: member="ne7ssh_connection::sftp" ref="8db8d821419717b407070ff5871e7e86" args="" -->
<a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>sftp</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="587dcb2378c7c8ca293f89ca082fcd4c"></a><!-- doxytag: member="ne7ssh_connection::mut" ref="587dcb2378c7c8ca293f89ca082fcd4c" args="" -->
Ne7ssh_Mutex&nbsp;</td><td class="memItemRight" valign="bottom"><b>mut</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5270df356c1e379216e6864b7b4a351"></a><!-- doxytag: member="ne7ssh_connection::connected" ref="a5270df356c1e379216e6864b7b4a351" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>connected</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b88210de03f765481fa9b14897e72f9d"></a><!-- doxytag: member="ne7ssh_connection::cmdRunning" ref="b88210de03f765481fa9b14897e72f9d" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>cmdRunning</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fbd6bbdac2886895424266333eb2b8b0"></a><!-- doxytag: member="ne7ssh_connection::cmdClosed" ref="fbd6bbdac2886895424266333eb2b8b0" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>cmdClosed</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7024b9b12d517609243fb90ecd859434"></a><!-- doxytag: member="ne7ssh_connection::ne7ssh_connection" ref="7024b9b12d517609243fb90ecd859434" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_connection::ne7ssh_connection </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class constructor.
</div>
</div><p>
<a class="anchor" name="089e8aa8fbdfded464394ee94334d36c"></a><!-- doxytag: member="ne7ssh_connection::~ne7ssh_connection" ref="089e8aa8fbdfded464394ee94334d36c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_connection::~ne7ssh_connection </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e1103a358cc4c5e5551cc02b456f5b49"></a><!-- doxytag: member="ne7ssh_connection::authWithKey" ref="e1103a358cc4c5e5551cc02b456f5b49" args="(const char *username, const char *privKeyFileName)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::authWithKey </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>username</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>privKeyFileName</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends a test message to check if "publickey" authentication is allowed fo specified user. If succesfull proceeds wtih generating a signature and sending real authentication packet of "publickey" type. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>username</em>&nbsp;</td><td>Username used for authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>privKeyFileName</em>&nbsp;</td><td>Full path to file containing private key to be used in authentication. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if authentication was successful, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00259">ne7ssh_keys::generateSignature()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__keys_8h_source.html#l00139">ne7ssh_keys::getKeyAlgo()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00567">ne7ssh_keys::getPublicKeyBlob()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00086">ne7ssh_session::getSessionID()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">connectWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="cfc0a9286778d088487e1e6eef89f9d1"></a><!-- doxytag: member="ne7ssh_connection::authWithPassword" ref="cfc0a9286778d088487e1e6eef89f9d1" args="(const char *username, const char *password)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::authWithPassword </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>username</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>password</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends an authentication request of "password" type. Waits for packet 'USERAUTH_SUCESS'. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>username</em>&nbsp;</td><td>Username used for authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>password</em>&nbsp;</td><td>Password used for authentication. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if authentication was successful, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="bb114ef7885807fef7722080c9be5fa4"></a><!-- doxytag: member="ne7ssh_connection::checkRemoteVersion" ref="bb114ef7885807fef7722080c9be5fa4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::checkRemoteVersion </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if remote side is returning a correctly formated SSH version string, and makes sure that version 2 of SSH protocol is supported by the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>False if version string is malformed, or version 2 is not supported, otherwise true is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00219">ne7ssh_transport::receive()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00068">ne7ssh_session::setRemoteVersion()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4b9a9d4b26e474a175f8bacbc18e7e08"></a><!-- doxytag: member="ne7ssh_connection::connectWithKey" ref="4b9a9d4b26e474a175f8bacbc18e7e08" args="(uint32 channelID, const char *host, uint32 port, const char *username, const char *privKeyFileName, bool shell=true, int timeout=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ne7ssh_connection::connectWithKey </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>channelID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>host</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>username</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>privKeyFileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shell</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>timeout</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Connects to a remote host using SSH protocol version 2, with publickey based authentication. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>channelID</em>&nbsp;</td><td>ID assigned to the new channel. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>host</em>&nbsp;</td><td>Hostname / IP of the remote host. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>Connection port. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>username</em>&nbsp;</td><td>Username to use in the authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>privKeyFileName</em>&nbsp;</td><td>Full path to file containing private key to be used in authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>shell</em>&nbsp;</td><td>Set this to true if you wish to launch the shell on the remote end. By default set to true. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>Timeout for the connection procedure, in seconds. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly assigned channel ID, or -1 if connection failed. </dd></dl>
<p>References <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00253">checkRemoteVersion()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00059">ne7ssh_transport::establish()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">requestService()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00275">sendLocalVersion()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00128">ne7ssh_session::setSshChannel()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00293">ne7ssh::connectWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8078ac566bbddf9487131848d5c171d0"></a><!-- doxytag: member="ne7ssh_connection::connectWithPassword" ref="8078ac566bbddf9487131848d5c171d0" args="(uint32 channelID, const char *host, uint32 port, const char *username, const char *password, bool shell=true, int timeout=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ne7ssh_connection::connectWithPassword </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>channelID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>host</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>username</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>password</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>shell</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>timeout</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Connects to a remote host using SSH protocol version 2, with password based authentication. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>channelID</em>&nbsp;</td><td>ID of the new channel. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>host</em>&nbsp;</td><td>Hostname / IP of the remote host. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>Connection port. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>username</em>&nbsp;</td><td>Username to use in the authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>password</em>&nbsp;</td><td>Password to use in the authentication. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>shell</em>&nbsp;</td><td>Set this to true if you wish to launch the shell on the remote end. By default set to true. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>Timeout for the connection procedure, in seconds. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly assigned channel ID, or -1 if connection failed. </dd></dl>
<p>References <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">authWithPassword()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00253">checkRemoteVersion()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00059">ne7ssh_transport::establish()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">requestService()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00275">sendLocalVersion()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00128">ne7ssh_session::setSshChannel()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00242">ne7ssh::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="13f6f62c5d0345f1573ad5626bc8e75e"></a><!-- doxytag: member="ne7ssh_connection::data2Send" ref="13f6f62c5d0345f1573ad5626bc8e75e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::data2Send </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks for the data in the send buffer. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True is there is data to send, otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8h_source.html#l00167">ne7ssh_channel::data2Send()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8afe35dfcf55958e5578a894a9111e73"></a><!-- doxytag: member="ne7ssh_connection::getChannelNo" ref="8afe35dfcf55958e5578a894a9111e73" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ne7ssh_connection::getChannelNo </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves the current SSH channel. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns SSH channel or -1 if not connected. </dd></dl>
</div>
</div><p>
<a class="anchor" name="fec5882335c281c8fc06d951b4d59b26"></a><!-- doxytag: member="ne7ssh_connection::getCmdComplete" ref="fec5882335c281c8fc06d951b4d59b26" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::getCmdComplete </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When executing a single command with <a class="el" href="classne7ssh.html#cd4c007e963c376b28cacaf0d9c9fa15">ne7ssh::sendCmd</a> this command is used to determine when remote side finishes the xecution. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if execution of the command is complete. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8h_source.html#l00197">ne7ssh_channel::getCmdComplete()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">sendClose()</a>.</p>
</div>
</div><p>
<a class="anchor" name="3aac541e10f43b83a42aef34a1fb876f"></a><!-- doxytag: member="ne7ssh_connection::getReceived" ref="3aac541e10f43b83a42aef34a1fb876f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Botan::SecureVector&lt;Botan::byte&gt;&amp; ne7ssh_connection::getReceived </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves the last received packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to a buffer containing the last received packet. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8h_source.html#l00191">ne7ssh_channel::getReceived()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00612">ne7ssh::getReceivedSize()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00556">ne7ssh::read()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00583">ne7ssh::readBinary()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ec81b2d5753f8d333de76535af5cb670"></a><!-- doxytag: member="ne7ssh_connection::getSocket" ref="ec81b2d5753f8d333de76535af5cb670" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SOCKET ne7ssh_connection::getSocket </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves the tcp socket number. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Socket, or -1 if not connected. </dd></dl>
</div>
</div><p>
<a class="anchor" name="e12a09bb5c6974e0b17ce957a8bf03f0"></a><!-- doxytag: member="ne7ssh_connection::handleData" ref="e12a09bb5c6974e0b17ce957a8bf03f0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_connection::handleData </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When new data arrives, and is available for reading, this function is called from selectThread to handle it.
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00301">ne7ssh_channel::receive()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00146">ne7ssh::selectThread()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b82b95339f325564f83bc2cc091af995"></a><!-- doxytag: member="ne7ssh_connection::isCmdClosed" ref="b82b95339f325564f83bc2cc091af995" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isCmdClosed </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When executing a single command with <a class="el" href="classne7ssh.html#cd4c007e963c376b28cacaf0d9c9fa15">ne7ssh::sendCmd</a> this command is used to determine when the user requested a close() on the channel. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the user requested to close the channel. Otherwise false. </dd></dl>
</div>
</div><p>
<a class="anchor" name="53d7ae314361b4911c8802e9fa780ae8"></a><!-- doxytag: member="ne7ssh_connection::isCmdRunning" ref="53d7ae314361b4911c8802e9fa780ae8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isCmdRunning </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if current connection is executing a single command, without a shell. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if a single command is running. Otherwise false. </dd></dl>
</div>
</div><p>
<a class="anchor" name="27691577539dd356f7f872755d7053de"></a><!-- doxytag: member="ne7ssh_connection::isConnected" ref="27691577539dd356f7f872755d7053de" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isConnected </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if process is connected and authenticated to the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if connected, otherwise false is returned. </dd></dl>
</div>
</div><p>
<a class="anchor" name="5062b1df08b2cdb04ee8b6b2b73f0733"></a><!-- doxytag: member="ne7ssh_connection::isOpen" ref="5062b1df08b2cdb04ee8b6b2b73f0733" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isOpen </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if channel is open. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if channel is open, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8h_source.html#l00173">ne7ssh_channel::isOpen()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9919d63251df10e4c0d4fd695b0751c2"></a><!-- doxytag: member="ne7ssh_connection::isRemoteShell" ref="9919d63251df10e4c0d4fd695b0751c2" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isRemoteShell </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines if the shell has been spawned on the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the shell has been spawned. Otherwise false. </dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8h_source.html#l00203">ne7ssh_channel::isRemoteShell()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a149c0df2bf930f115026633d9daf550"></a><!-- doxytag: member="ne7ssh_connection::isSftpActive" ref="a149c0df2bf930f115026633d9daf550" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::isSftpActive </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks if SFTP subsystem is active on the current connection. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if SFTP subsystem is active, otherwise false. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">sendClose()</a>.</p>
</div>
</div><p>
<a class="anchor" name="fc3d154a577c422670c43dfa4c38fd0c"></a><!-- doxytag: member="ne7ssh_connection::requestService" ref="fc3d154a577c422670c43dfa4c38fd0c" args="(const char *service)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::requestService </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>service</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends an SSH service request, waits for 'SERVICE_ACCEPT' packet. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>service</em>&nbsp;</td><td>pointer to a string containing the requested SSH service. For example "ssh-userauth". </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True If SERVICE_ACCEPT packet was received, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="f90793537ef75cbed854f4e525a5c01b"></a><!-- doxytag: member="ne7ssh_connection::sendClose" ref="f90793537ef75cbed854f4e525a5c01b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::sendClose </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to close the current connection. <p>
First closes the channel, and then the connection itself. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True, if packet sent successfully, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__connection_8h_source.html#l00200">getCmdComplete()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00173">ne7ssh_channel::isOpen()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00336">isSftpActive()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00472">ne7ssh::close()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9b0770473939bb8230be993d3948017d"></a><!-- doxytag: member="ne7ssh_connection::sendCmd" ref="9b0770473939bb8230be993d3948017d" args="(const char *cmd)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::sendCmd </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>cmd</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00395">ne7ssh::sendCmd()</a>.</p>
</div>
</div><p>
<a class="anchor" name="32f5f75a2331f312d41678594e4edcd8"></a><!-- doxytag: member="ne7ssh_connection::sendData" ref="32f5f75a2331f312d41678594e4edcd8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_connection::sendData </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends the content of the buffer., <p>
Usually used after data2Send returns true, executed by selectThread.
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>.</p>
</div>
</div><p>
<a class="anchor" name="c809469add6347cdc78c44491746062f"></a><!-- doxytag: member="ne7ssh_connection::sendData" ref="c809469add6347cdc78c44491746062f" args="(const char *data)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_connection::sendData </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>data</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is used to write commands to the buffer, later to be sent to the remote site for execution. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Pointer to a string, containing command to be written to the buffer. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00146">ne7ssh::selectThread()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00345">ne7ssh::send()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9bb5d840002bdf4b8a5f81fdfbee671b"></a><!-- doxytag: member="ne7ssh_connection::sendLocalVersion" ref="9bb5d840002bdf4b8a5f81fdfbee671b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_connection::sendLocalVersion </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends local version string. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns false is there any communication errors occur, otherwise true is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__transport_8cpp_source.html#l00195">ne7ssh_transport::send()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00056">ne7ssh_session::setLocalVersion()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="717902f4f3a863309e1d013982aecd41"></a><!-- doxytag: member="ne7ssh_connection::setChannelNo" ref="717902f4f3a863309e1d013982aecd41" args="(int channelID)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_connection::setChannelNo </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>channelID</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the current SSH channel number.
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00293">ne7ssh::connectWithKey()</a>, and <a class="el" href="ne7ssh_8cpp_source.html#l00242">ne7ssh::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="cd5e5fa36d401e816ce15989d30618c7"></a><!-- doxytag: member="ne7ssh_connection::startSftp" ref="cd5e5fa36d401e816ce15989d30618c7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> * ne7ssh_connection::startSftp </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Starts a new sftp subsystem. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns a pointer to the newly started <a class="el" href="classNe7sshSftp.html">Ne7sshSftp</a> instance. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00203">ne7ssh_channel::isRemoteShell()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00364">ne7ssh::initSftp()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__connection_8h_source.html">ne7ssh_connection.h</a><li>ne7ssh_connection.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,8 +0,0 @@
<area shape="rect" href="$classne7ssh__channel.html" title="ne7ssh_channel" alt="" coords="443,137,565,164">
<area shape="rect" href="$classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="479,233,575,260">
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="504,7,613,33">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="135,7,257,33">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="8,137,115,164">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="189,137,323,164">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFile.html" title="Ne7sshSftp::sftpFile" alt="" coords="716,137,863,164">
<area shape="rect" href="$structNe7sshSftp_1_1sftpFileAttrs.html" title="Ne7sshSftp::sftpFileAttrs" alt="" coords="887,137,1065,164">

View File

@@ -1 +0,0 @@
ce68b6591bcf910222da91a135d39054

View File

@@ -1,112 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_crypt Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>AES128_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>AES192_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>AES256_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#448aa6a6bc69facb7087935a8314fbd3">agree</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, const char *local, Botan::SecureVector&lt; Botan::byte &gt; &amp;remote)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>BLOWFISH_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>c2sCmprsMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>c2sCryptoMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>c2sMacMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>CAST128_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>cmprsMethods</b> enum name (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>compress</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#cff5dadc7aa6a359032d5de18e2bb7c0">compressData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#295dd229c74d1e26ce9a62223605f560">compute_key</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;key, Botan::byte ID, uint32 nBytes)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#3aec4dedfe2d0c9b51879a35043d212c">computeH</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, Botan::SecureVector&lt; Botan::byte &gt; &amp;val)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#225001aa854efaaef8e11f5ba682e2ff">computeMac</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hmac, Botan::SecureVector&lt; Botan::byte &gt; &amp;packet, uint32 seq)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>cryptoMethods</b> enum name (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>decompress</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#0fba0bef677d5df589c09e81c5eeeadb">decompressData</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>decrypt</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>decryptBlock</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#0962ff3850c885c983ee6c29395086ac">decryptPacket</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;decrypted, Botan::SecureVector&lt; Botan::byte &gt; &amp;packet, uint32 len)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>DH_GROUP14_SHA1</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>DH_GROUP1_SHA1</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>encrypt</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>encryptBlock</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#0450e84788812dcd22e0c5d6b79a1614">encryptPacket</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;crypted, Botan::SecureVector&lt; Botan::byte &gt; &amp;hmac, Botan::SecureVector&lt; Botan::byte &gt; &amp;packet, uint32 seq)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#efa1d5b3cf5f6095d13704063bc4495d">getCryptAlgo</a>(uint32 crypto)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#929c7297905b9cb6c48102a8dffc5c70">getDecryptBlock</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#08adb48fb5a4b14a7b629435faf14ff1">getDHGroup14Sha1Public</a>(Botan::BigInt &amp;publicKey)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#86d91e4a71d0a6987a251593af2f7ebc">getDHGroup1Sha1Public</a>(Botan::BigInt &amp;publicKey)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#553d744f2165f49bcb0f38ccef02c3c1">getDSAKey</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hostKey)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#a057f7fa33d95674f201b5765cf66b00">getEncryptBlock</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#bb189c522e1e1d73173416689d22a62a">getHashAlgo</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#faa73d65add3445442f908794ea0fbf4">getHmacAlgo</a>(uint32 method)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#186ac0a5ff182c14d59be1885975405d">getKexPublic</a>(Botan::BigInt &amp;publicKey)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#99d0844e6da0e1c692f04a00d66c436b">getMacDigestLen</a>(uint32 method)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#3c76070368181e321c9fd1a08074cffe">getMacInLen</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#24e2ba8ce4221fe3d327cd35696968dd">getMacKeyLen</a>(uint32 method)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#bf9d9816678394c487700112ef003ec5">getMacOutLen</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#6499bc79249c369f5a25857ce4eccd53">getRSAKey</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hostKey)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>H</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>HMAC_MD5</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>HMAC_NONE</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>HMAC_SHA1</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>hmacIn</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>hmacOut</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>hostkeyMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>hostkeyMethods</b> enum name (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>inited</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#79b1f3d389a5d4923e7b28c3083bbfdf">isCompressed</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#8bb9cf592ff0151a89e9a0f20be192ac">isInited</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>K</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>kexMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>kexMethods</b> enum name (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>macMethods</b> enum name (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#3f5bb3646329aeba7629c0b2a6f721db">makeKexSecret</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, Botan::BigInt &amp;f)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#ceaba42fbb74e422ff53c8f4135c24f8">makeNewKeys</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#f0cf20c305e57d2dd9c7a6993a447aa4">ne7ssh_crypt</a>(ne7ssh_session *_session)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#acdaa6ad6ab255c0ac561a2bf2e5a244">negotiatedCmprsC2s</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;cmprsAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#22552971623f05e13ec30f3f1caf8ffb">negotiatedCmprsS2c</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;cmprsAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#138128d5a07f05e6877ac71dece40438">negotiatedCryptoC2s</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;cryptoAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#8ab5f2aa3ef6908133316194b6430ec3">negotiatedCryptoS2c</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;cryptoAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#12ab09c8790545b43d4f588db3dbf2e7">negotiatedHostkey</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hostKeyAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#d78b64cf65fc2e732c07c106ad6f3e06">negotiatedKex</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;kexAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#bf42f3c247950d28785d3e7404b62613">negotiatedMacC2s</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;macAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#5408c49468306c685ad80afb06111cf9">negotiatedMacS2c</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;macAlgo)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>NONE</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>privKexKey</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>s2cCmprsMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>s2cCryptoMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>s2cMacMethod</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>SSH_DSS</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>SSH_RSA</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>TDES_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>TWOFISH_CBC</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#48631162f8d43e1ee7bbe682a43f0c52">verifySig</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hostKey, Botan::SecureVector&lt; Botan::byte &gt; &amp;sig)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>ZLIB</b> enum value (defined in <a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a>)</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__crypt.html#e72d6e5cb5125d4ed58ce06069aa21b2">~ne7ssh_crypt</a>()</td><td><a class="el" href="classne7ssh__crypt.html">ne7ssh_crypt</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +0,0 @@
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="11,103,133,129">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="5,199,139,225">

View File

@@ -1 +0,0 @@
72e4da21efe57283ea6ef8f98feb75eb

View File

@@ -1,51 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_kex Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>Ciphers</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#87bd9e1b7d1a8e785c2b72a611bd4d29">constructLocalKex</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>e</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>f</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#aca46fcf520a7033bd2a1f30ef0cbe71">handleInit</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#15b9934fc983d47bab9875108ab086ed">handleKexDHReply</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>Hmacs</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>hostKey</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>k</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>localKex</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#a16951ccf9d9a651b30c04fbcc9f2e01">makeH</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;hVector)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#ac9d99203f3719b79dd97f5842d081d8">ne7ssh_kex</a>(ne7ssh_session *_session)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>remotKex</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#f86fc5b573f9a53c031fc29957c39382">sendInit</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#d45276ccfbfa8152386a489463a320b7">sendKexDHInit</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#05c93da52330ad461cdc65bba1dc014a">sendKexNewKeys</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a>)</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__kex.html#29b408432a50b3d193b3f9cd4a952782">~ne7ssh_kex</a>()</td><td><a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,319 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_kex Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_kex Class Reference</h1><!-- doxytag: class="ne7ssh_kex" --><code>#include &lt;<a class="el" href="ne7ssh__kex_8h_source.html">ne7ssh_kex.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for ne7ssh_kex:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__kex__coll__graph.png" border="0" usemap="#ne7ssh__kex__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__kex__coll__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33"><area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="249,7,372,33"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="181,188,288,215"><area shape="rect" href="classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="353,188,487,215"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__kex-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#ac9d99203f3719b79dd97f5842d081d8">ne7ssh_kex</a> (<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *_session)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#29b408432a50b3d193b3f9cd4a952782">~ne7ssh_kex</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#f86fc5b573f9a53c031fc29957c39382">sendInit</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#aca46fcf520a7033bd2a1f30ef0cbe71">handleInit</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#d45276ccfbfa8152386a489463a320b7">sendKexDHInit</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#15b9934fc983d47bab9875108ab086ed">handleKexDHReply</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#05c93da52330ad461cdc65bba1dc014a">sendKexNewKeys</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#87bd9e1b7d1a8e785c2b72a611bd4d29">constructLocalKex</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__kex.html#a16951ccf9d9a651b30c04fbcc9f2e01">makeH</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;hVector)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1983836c6ce291a73bf40dfc8e4947df"></a><!-- doxytag: member="ne7ssh_kex::session" ref="1983836c6ce291a73bf40dfc8e4947df" args="" -->
<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>session</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9cfe5de0ede00c919114094f25beab18"></a><!-- doxytag: member="ne7ssh_kex::localKex" ref="9cfe5de0ede00c919114094f25beab18" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>localKex</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8fd535cc8ff185cf5cdd06b225e4abc6"></a><!-- doxytag: member="ne7ssh_kex::remotKex" ref="8fd535cc8ff185cf5cdd06b225e4abc6" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>remotKex</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7775f1301642351ddf74865b0b5207a0"></a><!-- doxytag: member="ne7ssh_kex::hostKey" ref="7775f1301642351ddf74865b0b5207a0" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>hostKey</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47b00bc5da45ac68fc90f91712777cfb"></a><!-- doxytag: member="ne7ssh_kex::e" ref="47b00bc5da45ac68fc90f91712777cfb" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>e</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ac9aa30ad0cd29c4318980d60a16dead"></a><!-- doxytag: member="ne7ssh_kex::f" ref="ac9aa30ad0cd29c4318980d60a16dead" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>f</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d28886b2ae29dc702743f8b4c1b79d83"></a><!-- doxytag: member="ne7ssh_kex::k" ref="d28886b2ae29dc702743f8b4c1b79d83" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>k</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3df645ba08764c2ab8c57042b7ed3b9"></a><!-- doxytag: member="ne7ssh_kex::Ciphers" ref="c3df645ba08764c2ab8c57042b7ed3b9" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>Ciphers</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d89e22c9aac82d146ac8d6c8b8cbe569"></a><!-- doxytag: member="ne7ssh_kex::Hmacs" ref="d89e22c9aac82d146ac8d6c8b8cbe569" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>Hmacs</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ac9d99203f3719b79dd97f5842d081d8"></a><!-- doxytag: member="ne7ssh_kex::ne7ssh_kex" ref="ac9d99203f3719b79dd97f5842d081d8" args="(ne7ssh_session *_session)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_kex::ne7ssh_kex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td>
<td class="paramname"> <em>_session</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a> class constructor. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_session</em>&nbsp;</td><td>Pointer to <a class="el" href="classne7ssh__session.html">ne7ssh_session</a> variable. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="29b408432a50b3d193b3f9cd4a952782"></a><!-- doxytag: member="ne7ssh_kex::~ne7ssh_kex" ref="29b408432a50b3d193b3f9cd4a952782" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_kex::~ne7ssh_kex </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__kex.html">ne7ssh_kex</a> class destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="87bd9e1b7d1a8e785c2b72a611bd4d29"></a><!-- doxytag: member="ne7ssh_kex::constructLocalKex" ref="87bd9e1b7d1a8e785c2b72a611bd4d29" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_kex::constructLocalKex </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructs local 'KEX_INIT' payload
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00100">ne7ssh_string::addBytes()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00194">ne7ssh_string::nextPart()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00172">ne7ssh_string::resetParts()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00170">ne7ssh_string::split()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">sendInit()</a>.</p>
</div>
</div><p>
<a class="anchor" name="aca46fcf520a7033bd2a1f30ef0cbe71"></a><!-- doxytag: member="ne7ssh_kex::handleInit" ref="aca46fcf520a7033bd2a1f30ef0cbe71" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_kex::handleInit </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
After <a class="el" href="classne7ssh__kex.html#f86fc5b573f9a53c031fc29957c39382">sendInit()</a> function returnes true, this functions is used to parse the received 'KEX_INIT' packet. <p>
Used to agree on cipher, hmac, etc. algorithms used in communication between client and server. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if parsing was succesful and all algorithms agreed upon, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00100">ne7ssh_string::addBytes()</a>, <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="crypt_8cpp_source.html#l00250">ne7ssh_crypt::negotiatedCmprsC2s()</a>, <a class="el" href="crypt_8cpp_source.html#l00267">ne7ssh_crypt::negotiatedCmprsS2c()</a>, <a class="el" href="crypt_8cpp_source.html#l00122">ne7ssh_crypt::negotiatedCryptoC2s()</a>, <a class="el" href="crypt_8cpp_source.html#l00164">ne7ssh_crypt::negotiatedCryptoS2c()</a>, <a class="el" href="crypt_8cpp_source.html#l00105">ne7ssh_crypt::negotiatedHostkey()</a>, <a class="el" href="crypt_8cpp_source.html#l00088">ne7ssh_crypt::negotiatedKex()</a>, <a class="el" href="crypt_8cpp_source.html#l00206">ne7ssh_crypt::negotiatedMacC2s()</a>, <a class="el" href="crypt_8cpp_source.html#l00228">ne7ssh_crypt::negotiatedMacS2c()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="15b9934fc983d47bab9875108ab086ed"></a><!-- doxytag: member="ne7ssh_kex::handleKexDHReply" ref="15b9934fc983d47bab9875108ab086ed" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_kex::handleKexDHReply </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
After <a class="el" href="classne7ssh__kex.html#d45276ccfbfa8152386a489463a320b7">sendKexDHInit()</a> returns true, this function is used to handle the received 'KEXDH_REPLY'. <p>
This is the function to create the shared secret K. It also extracts the host key and signature fields from the payload, generates DSA/RSA keys, and verifies the signature. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if all operations are completed successfully, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00212">ne7ssh_string::bn2vector()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00135">ne7ssh_string::getBigInt()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="crypt_8h_source.html#l00177">ne7ssh_crypt::isInited()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00301">makeH()</a>, <a class="el" href="crypt_8cpp_source.html#l00441">ne7ssh_crypt::makeKexSecret()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00080">ne7ssh_session::setSessionID()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="crypt_8cpp_source.html#l00323">ne7ssh_crypt::verifySig()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a16951ccf9d9a651b30c04fbcc9f2e01"></a><!-- doxytag: member="ne7ssh_kex::makeH" ref="a16951ccf9d9a651b30c04fbcc9f2e01" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;hVector)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_kex::makeH </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>hVector</em> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Computes H hash, from concated values of the local SSH version string, remote SSH version string, local KEX_INIT payload, remote KEX_INIT payload, host key, e, f and k BigInt values. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>hVector</em>&nbsp;</td><td>Reference to a vecor where H value will be stored. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="crypt_8cpp_source.html#l00300">ne7ssh_crypt::computeH()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00062">ne7ssh_session::getLocalVersion()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00074">ne7ssh_session::getRemoteVersion()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">handleKexDHReply()</a>.</p>
</div>
</div><p>
<a class="anchor" name="f86fc5b573f9a53c031fc29957c39382"></a><!-- doxytag: member="ne7ssh_kex::sendInit" ref="f86fc5b573f9a53c031fc29957c39382" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_kex::sendInit </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends 'KEX_INIT' packet and waits for 'KEX_INIT' reply. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if successful, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">constructLocalKex()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="d45276ccfbfa8152386a489463a320b7"></a><!-- doxytag: member="ne7ssh_kex::sendKexDHInit" ref="d45276ccfbfa8152386a489463a320b7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_kex::sendKexDHInit </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sends 'KEXDH_INIT' packet and waits for 'KEXDH_REPLY'. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if reply is received, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">ne7ssh_string::addBigInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00212">ne7ssh_string::bn2vector()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="crypt_8cpp_source.html#l00284">ne7ssh_crypt::getKexPublic()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="05c93da52330ad461cdc65bba1dc014a"></a><!-- doxytag: member="ne7ssh_kex::sendKexNewKeys" ref="05c93da52330ad461cdc65bba1dc014a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_kex::sendKexNewKeys </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function waits for 'NEWKEYS' packet from the remote host. <p>
Once the packet is received, local 'NEWKEYS' packet is sent, all encryption and hmac keys are generated and encrypted communication is established. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if all operations are successful, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="crypt_8cpp_source.html#l00587">ne7ssh_crypt::makeNewKeys()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__kex_8h_source.html">ne7ssh_kex.h</a><li>ne7ssh_kex.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,4 +0,0 @@
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33">
<area shape="rect" href="$classne7ssh__session.html" title="ne7ssh_session" alt="" coords="249,7,372,33">
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="181,188,288,215">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="353,188,487,215">

View File

@@ -1 +0,0 @@
c6c626f9886b1a9d69d7e1660e94daa0

View File

@@ -1,53 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_keys Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>DSA</b> enum value (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>dsaPrivateKey</b> (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#4e1d32a1fcdf8599e1d9cc0f8382a5ce">generateDSAKeys</a>(const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#77df178024644ea4fffab1354bf7a872">generateDSASignature</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#3cbce01402069e4d78a5a80f12d74ad4">generateRSAKeys</a>(const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#79baa24130d9207119840f481bb03841">generateRSASignature</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#faf77aad8057e0a2e616040677ab696b">generateSignature</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#9dba05ee332fd2b3947807d9ef8b0a95">getDSAKeys</a>(char *buffer, uint32 size)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#70fa62aa01e0104f8d414ca0ef398cee">getKeyAlgo</a>()</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#dbc39ba71fd5b7a3c613c90d8620711b">getKeyPairFromFile</a>(const char *privKeyFileName)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#b798aaf9dcffb0098a02c3faa755c362">getPublicKeyBlob</a>()</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#faddb661a61e70eb9bc714d097d8980b">getRSAKeys</a>(char *buffer, uint32 size)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>keyAlgo</b> (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>keyAlgos</b> enum name (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#d9edaab331f5e56112d035b904a59dca">ne7ssh_keys</a>()</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>publicKeyBlob</b> (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>RSA</b> enum value (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>rsaPrivateKey</b> (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>signature</b> (defined in <a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a>)</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__keys.html#dbe80f9c6f7806d5909bb811b4a73cb8">~ne7ssh_keys</a>()</td><td><a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,526 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_keys Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_keys Class Reference</h1><!-- doxytag: class="ne7ssh_keys" --><code>#include &lt;<a class="el" href="ne7ssh__keys_8h_source.html">ne7ssh_keys.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for ne7ssh_keys:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__keys__coll__graph.png" border="0" usemap="#ne7ssh__keys__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__keys__coll__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__keys-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>keyAlgos</b> { <b>DSA</b>,
<b>RSA</b>
}</td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#d9edaab331f5e56112d035b904a59dca">ne7ssh_keys</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#dbe80f9c6f7806d5909bb811b4a73cb8">~ne7ssh_keys</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#4e1d32a1fcdf8599e1d9cc0f8382a5ce">generateDSAKeys</a> (const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#3cbce01402069e4d78a5a80f12d74ad4">generateRSAKeys</a> (const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#dbc39ba71fd5b7a3c613c90d8620711b">getKeyPairFromFile</a> (const char *privKeyFileName)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#faf77aad8057e0a2e616040677ab696b">generateSignature</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#77df178024644ea4fffab1354bf7a872">generateDSASignature</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#79baa24130d9207119840f481bb03841">generateRSASignature</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#b798aaf9dcffb0098a02c3faa755c362">getPublicKeyBlob</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#70fa62aa01e0104f8d414ca0ef398cee">getKeyAlgo</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#9dba05ee332fd2b3947807d9ef8b0a95">getDSAKeys</a> (char *buffer, uint32 size)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__keys.html#faddb661a61e70eb9bc714d097d8980b">getRSAKeys</a> (char *buffer, uint32 size)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89f62b361f52133f87a176fef11d1637"></a><!-- doxytag: member="ne7ssh_keys::dsaPrivateKey" ref="89f62b361f52133f87a176fef11d1637" args="" -->
Botan::DSA_PrivateKey *&nbsp;</td><td class="memItemRight" valign="bottom"><b>dsaPrivateKey</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0294673cb86571d3f4184edb93984273"></a><!-- doxytag: member="ne7ssh_keys::rsaPrivateKey" ref="0294673cb86571d3f4184edb93984273" args="" -->
Botan::RSA_PrivateKey *&nbsp;</td><td class="memItemRight" valign="bottom"><b>rsaPrivateKey</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c00fff04a5df1e158d507703ebaf0a3"></a><!-- doxytag: member="ne7ssh_keys::publicKeyBlob" ref="3c00fff04a5df1e158d507703ebaf0a3" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>publicKeyBlob</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0271c05bc3389b98c4a97fbe0df9ff0d"></a><!-- doxytag: member="ne7ssh_keys::signature" ref="0271c05bc3389b98c4a97fbe0df9ff0d" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>signature</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fcf211c26283f824016a50ce34c4f85a"></a><!-- doxytag: member="ne7ssh_keys::keyAlgo" ref="fcf211c26283f824016a50ce34c4f85a" args="" -->
uint8&nbsp;</td><td class="memItemRight" valign="bottom"><b>keyAlgo</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas &lt;<a href="mailto:andrew@netsieben.com">andrew@netsieben.com</a>&gt; </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d9edaab331f5e56112d035b904a59dca"></a><!-- doxytag: member="ne7ssh_keys::ne7ssh_keys" ref="d9edaab331f5e56112d035b904a59dca" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_keys::ne7ssh_keys </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a> constructor.
</div>
</div><p>
<a class="anchor" name="dbe80f9c6f7806d5909bb811b4a73cb8"></a><!-- doxytag: member="ne7ssh_keys::~ne7ssh_keys" ref="dbe80f9c6f7806d5909bb811b4a73cb8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_keys::~ne7ssh_keys </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__keys.html">ne7ssh_keys</a> destructor. <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4e1d32a1fcdf8599e1d9cc0f8382a5ce"></a><!-- doxytag: member="ne7ssh_keys::generateDSAKeys" ref="4e1d32a1fcdf8599e1d9cc0f8382a5ce" args="(const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_keys::generateDSAKeys </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>fqdn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>privKeyFileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>pubKeyFileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16&nbsp;</td>
<td class="paramname"> <em>keySize</em> = <code>2048</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generates DSA Key pair and saves keys in specified files. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>fqdn</em>&nbsp;</td><td>User id. Usually an Email. For example "test@netsieben.com" </td></tr>
<tr><td valign="top"></td><td valign="top"><em>privKeyFileName</em>&nbsp;</td><td>Full path to a file where generated private key should be written. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>pubKeyFileName</em>&nbsp;</td><td>Full path to a file where generated public key should be written. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>keySize</em>&nbsp;</td><td>Desired key size in bits. If not specified will default to 2048. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if keys generated and written to the files. Otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">ne7ssh_string::addBigInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00726">ne7ssh::generateKeyPair()</a>.</p>
</div>
</div><p>
<a class="anchor" name="77df178024644ea4fffab1354bf7a872"></a><!-- doxytag: member="ne7ssh_keys::generateDSASignature" ref="77df178024644ea4fffab1354bf7a872" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SecureVector&lt; Botan::byte &gt; ne7ssh_keys::generateDSASignature </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>sessionID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>signingData</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generates a SHA-1 signature from sessionID and packet data provided, using DSA private key initialized before. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>sessionID</em>&nbsp;</td><td>SSH2 SessionID. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>signingData</em>&nbsp;</td><td>Packet data to sign. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns signature, or 0 length vector if operation failed. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00259">generateSignature()</a>.</p>
</div>
</div><p>
<a class="anchor" name="3cbce01402069e4d78a5a80f12d74ad4"></a><!-- doxytag: member="ne7ssh_keys::generateRSAKeys" ref="3cbce01402069e4d78a5a80f12d74ad4" args="(const char *fqdn, const char *privKeyFileName, const char *pubKeyFileName, uint16 keySize=2048)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_keys::generateRSAKeys </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>fqdn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>privKeyFileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>pubKeyFileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16&nbsp;</td>
<td class="paramname"> <em>keySize</em> = <code>2048</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generates RSA Key pair and saves keys in specified files. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>fqdn</em>&nbsp;</td><td>User id. Usually an Email. For example "test@netsieben.com" </td></tr>
<tr><td valign="top"></td><td valign="top"><em>privKeyFileName</em>&nbsp;</td><td>Full path to a file where generated private key should be written. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>pubKeyFileName</em>&nbsp;</td><td>Full path to a file where generated public key should be written. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>keySize</em>&nbsp;</td><td>Desired key size in bits. If not specified will default to 2048. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if keys generated and written to the files. Otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">ne7ssh_string::addBigInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh_8cpp_source.html#l00726">ne7ssh::generateKeyPair()</a>.</p>
</div>
</div><p>
<a class="anchor" name="79baa24130d9207119840f481bb03841"></a><!-- doxytag: member="ne7ssh_keys::generateRSASignature" ref="79baa24130d9207119840f481bb03841" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SecureVector&lt; Botan::byte &gt; ne7ssh_keys::generateRSASignature </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>sessionID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>signingData</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generates a SHA-1 signature from sessionID and packet data provided, using DSA private key initialized before. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>sessionID</em>&nbsp;</td><td>SSH2 SessionID. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>signingData</em>&nbsp;</td><td>Packet data to sign. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns signature, or 0 length vector if operation failed. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00259">generateSignature()</a>.</p>
</div>
</div><p>
<a class="anchor" name="faf77aad8057e0a2e616040677ab696b"></a><!-- doxytag: member="ne7ssh_keys::generateSignature" ref="faf77aad8057e0a2e616040677ab696b" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;sessionID, Botan::SecureVector&lt; Botan::byte &gt; &amp;signingData)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SecureVector&lt; Botan::byte &gt; &amp; ne7ssh_keys::generateSignature </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>sessionID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>signingData</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generates a SHA-1 signature from sessionID and packet data provided. <p>
Determines key type and passed the processing either to <a class="el" href="classne7ssh__keys.html#77df178024644ea4fffab1354bf7a872">generateDSASignature()</a> or <a class="el" href="classne7ssh__keys.html#3cbce01402069e4d78a5a80f12d74ad4">generateRSAKeys()</a> functions. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>sessionID</em>&nbsp;</td><td>SSH2 SessionID. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>signingData</em>&nbsp;</td><td>Packet data to sign. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns signature, or 0 length vector if operation failed. </dd></dl>
<p>References <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">generateDSASignature()</a>, and <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">generateRSASignature()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="9dba05ee332fd2b3947807d9ef8b0a95"></a><!-- doxytag: member="ne7ssh_keys::getDSAKeys" ref="9dba05ee332fd2b3947807d9ef8b0a95" args="(char *buffer, uint32 size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_keys::getDSAKeys </td>
<td>(</td>
<td class="paramtype">char *&nbsp;</td>
<td class="paramname"> <em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>size</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts DSA key pair from a PEM encoded stream. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>PEM encoded string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Length of the stream. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if keys succesfully extracted. Otherwise False is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">ne7ssh_string::addBigInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">getKeyPairFromFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="70fa62aa01e0104f8d414ca0ef398cee"></a><!-- doxytag: member="ne7ssh_keys::getKeyAlgo" ref="70fa62aa01e0104f8d414ca0ef398cee" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8 ne7ssh_keys::getKeyAlgo </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns type of initialized keys. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Type of keys. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="dbc39ba71fd5b7a3c613c90d8620711b"></a><!-- doxytag: member="ne7ssh_keys::getKeyPairFromFile" ref="dbc39ba71fd5b7a3c613c90d8620711b" args="(const char *privKeyFileName)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_keys::getKeyPairFromFile </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>privKeyFileName</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts key pair from a PEM encoded file. <p>
Reads the file and determines the type of key, then passes processing to either getDsaKeys() or getRSAKeys(*) functions. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>privKeyFileName</em>&nbsp;</td><td>Full path to PEM encoded file. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if key succesfully extracted, otherwise False is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00057">ne7ssh_string::addFile()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">getRSAKeys()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b798aaf9dcffb0098a02c3faa755c362"></a><!-- doxytag: member="ne7ssh_keys::getPublicKeyBlob" ref="b798aaf9dcffb0098a02c3faa755c362" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SecureVector&lt; Botan::byte &gt; &amp; ne7ssh_keys::getPublicKeyBlob </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
After key pair has been initialized, this function returns public key blob, as specified by SSH2 specs. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Public key blob or zero length vector, if there are initialized keys. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>.</p>
</div>
</div><p>
<a class="anchor" name="faddb661a61e70eb9bc714d097d8980b"></a><!-- doxytag: member="ne7ssh_keys::getRSAKeys" ref="faddb661a61e70eb9bc714d097d8980b" args="(char *buffer, uint32 size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_keys::getRSAKeys </td>
<td>(</td>
<td class="paramtype">char *&nbsp;</td>
<td class="paramname"> <em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>size</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts RSA key pair from a PEM encoded stream. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>PEM encoded string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Length of the stream. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if keys succesfully extracted. Otherwise False is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">ne7ssh_string::addBigInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">getKeyPairFromFile()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__keys_8h_source.html">ne7ssh_keys.h</a><li>ne7ssh_keys.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33">

View File

@@ -1 +0,0 @@
b0e2e8f8f6e9dbf06d7b20a0e23b73c3

View File

@@ -1,58 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_session Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>, including all inherited members.<p><table>
<tr bgcolor="#f0f0f0"><td><b>channelID</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>crypto</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#dcb13b996558fee795ab500ac3cbf000">getLocalVersion</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#2e6c8dc645b3fdef0b20dd31baacb7f4">getMaxPacket</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#c5d8bc40373b415f9bd436e205fb4716">getReceiveChannel</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#b2d1c655d8c81ab6bfb170235044ebc1">getRemoteVersion</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#00db97d25e6a85ebe34cace7eecad778">getSendChannel</a>() const </td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#5fdb932109c9f9dcedbe5be2b6c166ec">getSessionID</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#94dc706e3fd3119b887bdefaf2fe9dda">getSshChannel</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>localVersion</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>maxPacket</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#7a369998cf07127098ac4ea5a7c14ee0">ne7ssh_session</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>receiveChannel</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>remoteVersion</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sendChannel</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sessionID</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#839dfb6558383f481f0223d45c096bcd">setLocalVersion</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;version)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#499c1ccb25eafd7f7074b98d3ae60eb3">setMaxPacket</a>(uint32 size)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#4d6e88cea05265988d81aeff39aa9239">setReceiveChannel</a>(uint32 channel)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#17733deec9178fec1a48eabd06742ea9">setRemoteVersion</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;version)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#e470ff2211464c8d9ba16d6f313a5a3a">setSendChannel</a>(uint32 channel)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#eb3056339c4d4852a24f9ead0b065104">setSessionID</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;session)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#f58965a25e570cc4076322eee96aa9f0">setSshChannel</a>(int32 channel)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>transport</b> (defined in <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>)</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__session.html#f1190264bc6469759a9644351610e591">~ne7ssh_session</a>()</td><td><a class="el" href="classne7ssh__session.html">ne7ssh_session</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
<area shape="rect" href="$classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="5,103,112,129">
<area shape="rect" href="$classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="177,103,311,129">

View File

@@ -1 +0,0 @@
5a1d3b6712725f15bca94f2095e25ebe

View File

@@ -1,61 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_string Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#477f55539eb249bda2a7c311f2639437">addBigInt</a>(const Botan::BigInt &amp;bn)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#4bf8792affeb750976e18f658eeba5ee">addBytes</a>(const Botan::byte *buff, uint32 len)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#b746c998869885e043ff1db422c8ebf5">addChar</a>(const char ch)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#2fdcd0fa8215c6ce73ec8dc61f7ae8c5">addFile</a>(const char *filename)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#387c791ce256b9a3747f654596b5945f">addInt</a>(const uint32 var)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#28ea3ddaf5f19c6202bd173c990ed835">addString</a>(const char *str)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#f0e0658970d00f271b5053130e294ee4">addVector</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;secvec)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#e5925806510ef106e1435640b6010bc7">addVectorField</a>(const Botan::SecureVector&lt; Botan::byte &gt; &amp;vector)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#7c1276275a551da4dc460a7f9e8884eb">bn2vector</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, const Botan::BigInt &amp;bi)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>buffer</b> (defined in <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#722e2787d24d59b0432fa9a1b38f0aa2">chop</a>(uint32 nBytes)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#878cacf6b1fc6e1ae561584444e13db9">clear</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>currentPart</b> (defined in <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#f0e1783a46f61bce09daa9cbd3a1a64b">getBigInt</a>(Botan::BigInt &amp;result)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#231e8c002067934db84921f4bdc1c467">getByte</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#d7cb4926f971ecbe25a03bca59d0e6bb">getInt</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#6437d3125dd58e4d71bd0e0351a315ec">getString</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#0b70fd63fc4dd1d5badce895d318b117">length</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#b4419d40aa0e062b15741e30b5c6f9d4">ne7ssh_string</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#be71d3df44c082323c12fb14ceb3b23e">ne7ssh_string</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#e4d4951b32a58f171e225194c4d0e873">ne7ssh_string</a>(const char *var, uint32 position)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#198a4c462ea4e73314c81003f09c98bd">nextPart</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>parts</b> (defined in <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>positions</b> (defined in <a class="el" href="classne7ssh__string.html">ne7ssh_string</a>)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#ea5ca8a3645c570af9f03bc4f9bdc523">resetParts</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#47f06a2606e6982a2741de59be7ea786">split</a>(const char token)</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#b593c45799f28af90922b7a8332e1a9f">value</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__string.html#0b8fd6571f6e272c199521d1badecea6">~ne7ssh_string</a>()</td><td><a class="el" href="classne7ssh__string.html">ne7ssh_string</a></td><td><code> [virtual]</code></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,766 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_string Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_string Class Reference</h1><!-- doxytag: class="ne7ssh_string" --><code>#include &lt;<a class="el" href="ne7ssh__string_8h_source.html">ne7ssh_string.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for ne7ssh_string:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__string__inherit__graph.png" border="0" usemap="#ne7ssh__string__inherit__map" alt="Inheritance graph"></center>
<map name="ne7ssh__string__inherit__map">
<area shape="rect" href="classNe7sshSftpPacket.html" title="Ne7sshSftpPacket" alt="" coords="5,84,144,111"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__string-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b4419d40aa0e062b15741e30b5c6f9d4">ne7ssh_string</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#be71d3df44c082323c12fb14ceb3b23e">ne7ssh_string</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#e4d4951b32a58f171e225194c4d0e873">ne7ssh_string</a> (const char *var, uint32 position)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#0b8fd6571f6e272c199521d1badecea6">~ne7ssh_string</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#878cacf6b1fc6e1ae561584444e13db9">clear</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#28ea3ddaf5f19c6202bd173c990ed835">addString</a> (const char *str)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#2fdcd0fa8215c6ce73ec8dc61f7ae8c5">addFile</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#4bf8792affeb750976e18f658eeba5ee">addBytes</a> (const Botan::byte *buff, uint32 len)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#f0e0658970d00f271b5053130e294ee4">addVector</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;secvec)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#e5925806510ef106e1435640b6010bc7">addVectorField</a> (const Botan::SecureVector&lt; Botan::byte &gt; &amp;vector)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b746c998869885e043ff1db422c8ebf5">addChar</a> (const char ch)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#387c791ce256b9a3747f654596b5945f">addInt</a> (const uint32 var)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#477f55539eb249bda2a7c311f2639437">addBigInt</a> (const Botan::BigInt &amp;bn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#b593c45799f28af90922b7a8332e1a9f">value</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#0b70fd63fc4dd1d5badce895d318b117">length</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#6437d3125dd58e4d71bd0e0351a315ec">getString</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;result)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#f0e1783a46f61bce09daa9cbd3a1a64b">getBigInt</a> (Botan::BigInt &amp;result)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#d7cb4926f971ecbe25a03bca59d0e6bb">getInt</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::byte&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#231e8c002067934db84921f4bdc1c467">getByte</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#47f06a2606e6982a2741de59be7ea786">split</a> (const char token)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#ea5ca8a3645c570af9f03bc4f9bdc523">resetParts</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#198a4c462ea4e73314c81003f09c98bd">nextPart</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#722e2787d24d59b0432fa9a1b38f0aa2">chop</a> (uint32 nBytes)</td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__string.html#7c1276275a551da4dc460a7f9e8884eb">bn2vector</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;result, const Botan::BigInt &amp;bi)</td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0ff1a219f2a6fa5077e7fcf0624fc30"></a><!-- doxytag: member="ne7ssh_string::buffer" ref="d0ff1a219f2a6fa5077e7fcf0624fc30" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>buffer</b></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c2a1ee69d077818781f7488316f4db9f"></a><!-- doxytag: member="ne7ssh_string::positions" ref="c2a1ee69d077818781f7488316f4db9f" args="" -->
Botan::byte **&nbsp;</td><td class="memItemRight" valign="bottom"><b>positions</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="06551b0d7991a55ef812939744611cff"></a><!-- doxytag: member="ne7ssh_string::parts" ref="06551b0d7991a55ef812939744611cff" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>parts</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8d1584b4a2becfde5ccd47a24f805f2"></a><!-- doxytag: member="ne7ssh_string::currentPart" ref="c8d1584b4a2becfde5ccd47a24f805f2" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>currentPart</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b4419d40aa0e062b15741e30b5c6f9d4"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="b4419d40aa0e062b15741e30b5c6f9d4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_string::ne7ssh_string </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class default consturctor. <p>
Zeros out 'positions' and 'parts'.
</div>
</div><p>
<a class="anchor" name="be71d3df44c082323c12fb14ceb3b23e"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="be71d3df44c082323c12fb14ceb3b23e" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;var, uint32 position)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_string::ne7ssh_string </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>var</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>position</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class consturctor. <p>
Takes a vector as an argument and places the data into 'buffer'. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>var</em>&nbsp;</td><td>Reference to a vector containing a string. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>position</em>&nbsp;</td><td>Position in the vector to start reading from. If '0', the entire vector is dumped into 'buffer'. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e4d4951b32a58f171e225194c4d0e873"></a><!-- doxytag: member="ne7ssh_string::ne7ssh_string" ref="e4d4951b32a58f171e225194c4d0e873" args="(const char *var, uint32 position)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_string::ne7ssh_string </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>var</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>position</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Same as above costructor, but instead of vector it works with a string (const char*). <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>var</em>&nbsp;</td><td>Pointer to a string terminated by '/0'. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>position</em>&nbsp;</td><td>Read from this position onwards. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="0b8fd6571f6e272c199521d1badecea6"></a><!-- doxytag: member="ne7ssh_string::~ne7ssh_string" ref="0b8fd6571f6e272c199521d1badecea6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_string::~ne7ssh_string </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a> class destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="477f55539eb249bda2a7c311f2639437"></a><!-- doxytag: member="ne7ssh_string::addBigInt" ref="477f55539eb249bda2a7c311f2639437" args="(const Botan::BigInt &amp;bn)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addBigInt </td>
<td>(</td>
<td class="paramtype">const Botan::BigInt &amp;&nbsp;</td>
<td class="paramname"> <em>bn</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a BigInt variable to the buffer. <p>
BigInt is first converted to a vector, then the integer, representing length of the vector is converted to the network format. Converted ingeger is added to the buffer, followed by the vector. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>bn</em>&nbsp;</td><td>Reference to BigInt variable. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00212">bn2vector()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>.</p>
</div>
</div><p>
<a class="anchor" name="4bf8792affeb750976e18f658eeba5ee"></a><!-- doxytag: member="ne7ssh_string::addBytes" ref="4bf8792affeb750976e18f658eeba5ee" args="(const Botan::byte *buff, uint32 len)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addBytes </td>
<td>(</td>
<td class="paramtype">const Botan::byte *&nbsp;</td>
<td class="paramname"> <em>buff</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>len</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a byte stream to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buff</em>&nbsp;</td><td>Pointer to the byte stream. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>Length of the byte stream. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00080">Ne7sshSftpPacket::addInt64()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b746c998869885e043ff1db422c8ebf5"></a><!-- doxytag: member="ne7ssh_string::addChar" ref="b746c998869885e043ff1db422c8ebf5" args="(const char ch)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addChar </td>
<td>(</td>
<td class="paramtype">const char&nbsp;</td>
<td class="paramname"> <em>ch</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a single character to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>ch</em>&nbsp;</td><td>a single character. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p>
</div>
</div><p>
<a class="anchor" name="2fdcd0fa8215c6ce73ec8dc61f7ae8c5"></a><!-- doxytag: member="ne7ssh_string::addFile" ref="2fdcd0fa8215c6ce73ec8dc61f7ae8c5" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_string::addFile </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>filename</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reads content of an ASCII file and appends it to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Full path to ASCII file. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True is file is successfully read. Otherwise False is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>.</p>
</div>
</div><p>
<a class="anchor" name="387c791ce256b9a3747f654596b5945f"></a><!-- doxytag: member="ne7ssh_string::addInt" ref="387c791ce256b9a3747f654596b5945f" args="(const uint32 var)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addInt </td>
<td>(</td>
<td class="paramtype">const uint32&nbsp;</td>
<td class="paramname"> <em>var</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a single integer to the buffer. <p>
Integer is converted to network format as required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>var</em>&nbsp;</td><td>a single integer. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p>
</div>
</div><p>
<a class="anchor" name="28ea3ddaf5f19c6202bd173c990ed835"></a><!-- doxytag: member="ne7ssh_string::addString" ref="28ea3ddaf5f19c6202bd173c990ed835" args="(const char *str)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addString </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>str</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a string to the buffer. <p>
Adds an integer representing the length of the string, converted to the network format, before the actual string data. Required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>pointer to a string. </td></tr>
</table>
</dl>
<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00129">value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>.</p>
</div>
</div><p>
<a class="anchor" name="f0e0658970d00f271b5053130e294ee4"></a><!-- doxytag: member="ne7ssh_string::addVector" ref="f0e0658970d00f271b5053130e294ee4" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;secvec)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addVector </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>secvec</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a vector to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>secvec</em>&nbsp;</td><td>Reference to the vector. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e5925806510ef106e1435640b6010bc7"></a><!-- doxytag: member="ne7ssh_string::addVectorField" ref="e5925806510ef106e1435640b6010bc7" args="(const Botan::SecureVector&lt; Botan::byte &gt; &amp;vector)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::addVectorField </td>
<td>(</td>
<td class="paramtype">const Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>vector</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds a vector to the buffer. <p>
Adds an integer representing the length of the vector, converted to the network format, before the actual data. Required by SSH protocol specifications. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>Reference to a vector. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00301">ne7ssh_kex::makeH()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, and <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>.</p>
</div>
</div><p>
<a class="anchor" name="7c1276275a551da4dc460a7f9e8884eb"></a><!-- doxytag: member="ne7ssh_string::bn2vector" ref="7c1276275a551da4dc460a7f9e8884eb" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;result, const Botan::BigInt &amp;bi)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::bn2vector </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Botan::BigInt &amp;&nbsp;</td>
<td class="paramname"> <em>bi</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Converts BigInt into vector <p>
For internal use only <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Reference to vector where the converted result will be dumped. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bi</em>&nbsp;</td><td>Reference to BigInt to convert. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__string_8cpp_source.html#l00081">addBigInt()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="crypt_8cpp_source.html#l00441">ne7ssh_crypt::makeKexSecret()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>.</p>
</div>
</div><p>
<a class="anchor" name="722e2787d24d59b0432fa9a1b38f0aa2"></a><!-- doxytag: member="ne7ssh_string::chop" ref="722e2787d24d59b0432fa9a1b38f0aa2" args="(uint32 nBytes)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::chop </td>
<td>(</td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>nBytes</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Chops bytes off of the end of the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>nBytes</em>&nbsp;</td><td>How many bytes to chop off the end of the buffer. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>.</p>
</div>
</div><p>
<a class="anchor" name="878cacf6b1fc6e1ae561584444e13db9"></a><!-- doxytag: member="ne7ssh_string::clear" ref="878cacf6b1fc6e1ae561584444e13db9" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::clear </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Zeros out the buffer
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00427">ne7ssh_keys::getDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00500">ne7ssh_keys::getRSAKeys()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p>
</div>
</div><p>
<a class="anchor" name="f0e1783a46f61bce09daa9cbd3a1a64b"></a><!-- doxytag: member="ne7ssh_string::getBigInt" ref="f0e1783a46f61bce09daa9cbd3a1a64b" args="(Botan::BigInt &amp;result)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_string::getBigInt </td>
<td>(</td>
<td class="paramtype">Botan::BigInt &amp;&nbsp;</td>
<td class="paramname"> <em>result</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts a single BigInt variable from the payload field of SSH packet. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Reference to a BigInt variable where the result will be stored. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if BigInt field was found and successfully parsed, otherwise false is returned. </dd></dl>
<p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>.</p>
</div>
</div><p>
<a class="anchor" name="231e8c002067934db84921f4bdc1c467"></a><!-- doxytag: member="ne7ssh_string::getByte" ref="231e8c002067934db84921f4bdc1c467" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Botan::byte ne7ssh_string::getByte </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts a single byte from tje payload field of SSH packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A byte extracted from thenext byte of the payload. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>.</p>
</div>
</div><p>
<a class="anchor" name="d7cb4926f971ecbe25a03bca59d0e6bb"></a><!-- doxytag: member="ne7ssh_string::getInt" ref="d7cb4926f971ecbe25a03bca59d0e6bb" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_string::getInt </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts a single unsigned integer (uint32) from the payload field of SSH packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The integer extracted from the next 4 bytes of the payload. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00270">Ne7sshSftp::addOpenHandle()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00087">ne7ssh_channel::adjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00063">ne7ssh_channel::handleChannelConfirm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">ne7ssh_channel::handleExtendedData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00249">Ne7sshSftp::handleStatus()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00232">Ne7sshSftp::handleVersion()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00362">Ne7sshSftp::processAttrs()</a>.</p>
</div>
</div><p>
<a class="anchor" name="6437d3125dd58e4d71bd0e0351a315ec"></a><!-- doxytag: member="ne7ssh_string::getString" ref="6437d3125dd58e4d71bd0e0351a315ec" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_string::getString </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>result</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extracts a single string from the payload field of SSH packet. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Reference to a buffer where the result will be stored. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if string field was found and successfully parsed, otherwise false is returned. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00270">Ne7sshSftp::addOpenHandle()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="crypt_8cpp_source.html#l00400">ne7ssh_crypt::getDSAKey()</a>, <a class="el" href="crypt_8cpp_source.html#l00422">ne7ssh_crypt::getRSAKey()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00124">ne7ssh_channel::handleDisconnect()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">ne7ssh_channel::handleExtendedData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">ne7ssh_channel::handleRequest()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00294">Ne7sshSftp::handleSftpData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00249">Ne7sshSftp::handleStatus()</a>, and <a class="el" href="crypt_8cpp_source.html#l00323">ne7ssh_crypt::verifySig()</a>.</p>
</div>
</div><p>
<a class="anchor" name="0b70fd63fc4dd1d5badce895d318b117"></a><!-- doxytag: member="ne7ssh_string::length" ref="0b70fd63fc4dd1d5badce895d318b117" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_string::length </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns current length of the buffer. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Length of the buffer. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01108">Ne7sshSftp::cd()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01158">Ne7sshSftp::chmod()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01325">Ne7sshSftp::chown()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00167">ne7ssh_channel::data2Send()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00753">Ne7sshSftp::getFileAttrs()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00682">Ne7sshSftp::getFileStats()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">ne7ssh_channel::handleData()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00797">Ne7sshSftp::isType()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00988">Ne7sshSftp::mkdir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00957">Ne7sshSftp::mv()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00449">Ne7sshSftp::openDir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00394">Ne7sshSftp::openFile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00928">Ne7sshSftp::rm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01018">Ne7sshSftp::rmdir()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p>
</div>
</div><p>
<a class="anchor" name="198a4c462ea4e73314c81003f09c98bd"></a><!-- doxytag: member="ne7ssh_string::nextPart" ref="198a4c462ea4e73314c81003f09c98bd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char * ne7ssh_string::nextPart </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the next part. <dl class="return" compact><dt><b>Returns:</b></dt><dd>NULL terminated string, or 0 if this is the last part. </dd></dl>
<p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p>
</div>
</div><p>
<a class="anchor" name="ea5ca8a3645c570af9f03bc4f9bdc523"></a><!-- doxytag: member="ne7ssh_string::resetParts" ref="ea5ca8a3645c570af9f03bc4f9bdc523" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::resetParts </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns to the first part.
<p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p>
</div>
</div><p>
<a class="anchor" name="47f06a2606e6982a2741de59be7ea786"></a><!-- doxytag: member="ne7ssh_string::split" ref="47f06a2606e6982a2741de59be7ea786" args="(const char token)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ne7ssh_string::split </td>
<td>(</td>
<td class="paramtype">const char&nbsp;</td>
<td class="paramname"> <em>token</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Splits the buffer into strings separated by null character. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>token</em>&nbsp;</td><td>Searches for this character in the buffer, replaces it with null and creates a part index. </td></tr>
</table>
</dl>
<p>Referenced by <a class="el" href="crypt_8cpp_source.html#l00048">ne7ssh_crypt::agree()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>.</p>
</div>
</div><p>
<a class="anchor" name="b593c45799f28af90922b7a8332e1a9f"></a><!-- doxytag: member="ne7ssh_string::value" ref="b593c45799f28af90922b7a8332e1a9f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Botan::SecureVector&lt;Botan::byte&gt;&amp; ne7ssh_string::value </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the buffer as a vector. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to the 'buffer' vector. </dd></dl>
<p>Reimplemented in <a class="el" href="classNe7sshSftpPacket.html#a9ad7d742391e82b582bbe92d7733bac">Ne7sshSftpPacket</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">addString()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01108">Ne7sshSftp::cd()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01158">Ne7sshSftp::chmod()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01325">Ne7sshSftp::chown()</a>, <a class="el" href="crypt_8cpp_source.html#l00675">ne7ssh_crypt::compute_key()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00031">ne7ssh_kex::constructLocalKex()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00157">ne7ssh_keys::generateDSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00279">ne7ssh_keys::generateDSASignature()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00037">ne7ssh_keys::generateRSAKeys()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00319">ne7ssh_keys::generateRSASignature()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00753">Ne7sshSftp::getFileAttrs()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00682">Ne7sshSftp::getFileStats()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00351">ne7ssh_keys::getKeyPairFromFile()</a>, <a class="el" href="ne7ssh__keys_8cpp_source.html#l00567">ne7ssh_keys::getPublicKeyBlob()</a>, <a class="el" href="ne7ssh__channel_8h_source.html#l00191">ne7ssh_channel::getReceived()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00317">Ne7sshSftp::handleNames()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">ne7ssh_channel::handleReceived()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00797">Ne7sshSftp::isType()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01047">Ne7sshSftp::ls()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00301">ne7ssh_kex::makeH()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00988">Ne7sshSftp::mkdir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00957">Ne7sshSftp::mv()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00449">Ne7sshSftp::openDir()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00394">Ne7sshSftp::openFile()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00928">Ne7sshSftp::rm()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l01018">Ne7sshSftp::rmdir()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00038">Ne7sshSftpPacket::value()</a>, <a class="el" href="ne7ssh__sftp__packet_8cpp_source.html#l00057">Ne7sshSftpPacket::valueFragment()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">ne7ssh_channel::write()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__string_8h_source.html">ne7ssh_string.h</a><li>ne7ssh_string.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1 +0,0 @@
<area shape="rect" href="$classNe7sshSftpPacket.html" title="Ne7sshSftpPacket" alt="" coords="5,84,144,111">

View File

@@ -1 +0,0 @@
3edbca75c8429aa19fa0d66169573383

View File

@@ -1,50 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_transport Member List</h1>This is the complete list of members for <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#122602c51b558d07920bbf3f19c53e83">establish</a>(const char *host, uint32 port, int timeout=0)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#a602061a2091786b16527534aa8bb99a">getPacket</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;result)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#c5e49ab89bc98e9da758a194b7870d57">haveData</a>()</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>in</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>inBuffer</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#bc335c4d181ee23ef6f6c819d41a9533">ne7ssh_transport</a>(ne7ssh_session *_session)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#750400736781c5d40a68a47f95f3af00">NoBlock</a>(SOCKET socket, bool on)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#e68ee5d295430f648424b5ba359d9503">receive</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer, bool append=false)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>rSeq</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#e88fef35a5b4b0960ccee3142e486eb6">send</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#c62051d1b6aeeb65867ffd1c1578938f">sendPacket</a>(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>seq</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>session</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><b>sock</b> (defined in <a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a>)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#e61c53b2f743afecec25cfe7fffc3799">wait</a>(SOCKET socket, int rw, int timeout=-1)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#8d502d0e554e92d9536f8be2f9e07fd0">waitForPacket</a>(Botan::byte cmd, bool bufferOnly=false)</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classne7ssh__transport.html#c9b896ad9d855fc818b0b5350f47ccf7">~ne7ssh_transport</a>()</td><td><a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

View File

@@ -1,466 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_transport Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ne7ssh_transport Class Reference</h1><!-- doxytag: class="ne7ssh_transport" --><code>#include &lt;<a class="el" href="ne7ssh__transport_8h_source.html">ne7ssh_transport.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for ne7ssh_transport:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__transport__coll__graph.png" border="0" usemap="#ne7ssh__transport__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__transport__coll__map">
<area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="11,103,133,129"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="19,199,125,225"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classne7ssh__transport-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#bc335c4d181ee23ef6f6c819d41a9533">ne7ssh_transport</a> (<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *_session)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#c9b896ad9d855fc818b0b5350f47ccf7">~ne7ssh_transport</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#122602c51b558d07920bbf3f19c53e83">establish</a> (const char *host, uint32 port, int timeout=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#e68ee5d295430f648424b5ba359d9503">receive</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer, bool append=false)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#e88fef35a5b4b0960ccee3142e486eb6">send</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#c62051d1b6aeeb65867ffd1c1578938f">sendPacket</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#8d502d0e554e92d9536f8be2f9e07fd0">waitForPacket</a> (Botan::byte cmd, bool bufferOnly=false)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#a602061a2091786b16527534aa8bb99a">getPacket</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;result)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#c5e49ab89bc98e9da758a194b7870d57">haveData</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#750400736781c5d40a68a47f95f3af00">NoBlock</a> (SOCKET socket, bool on)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__transport.html#e61c53b2f743afecec25cfe7fffc3799">wait</a> (SOCKET socket, int rw, int timeout=-1)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3568450ab744f0e80e3cca6166d63c01"></a><!-- doxytag: member="ne7ssh_transport::seq" ref="3568450ab744f0e80e3cca6166d63c01" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>seq</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="162af1d78195986b8709a0e3064c8cb7"></a><!-- doxytag: member="ne7ssh_transport::rSeq" ref="162af1d78195986b8709a0e3064c8cb7" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>rSeq</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45a0187a431567218ac9dd757dad06d0"></a><!-- doxytag: member="ne7ssh_transport::session" ref="45a0187a431567218ac9dd757dad06d0" args="" -->
const <a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>session</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2185ce2e848d95dd17f2ddd84497367"></a><!-- doxytag: member="ne7ssh_transport::sock" ref="d2185ce2e848d95dd17f2ddd84497367" args="" -->
SOCKET&nbsp;</td><td class="memItemRight" valign="bottom"><b>sock</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec3da945e8c056468188330f5e3a741d"></a><!-- doxytag: member="ne7ssh_transport::in" ref="ec3da945e8c056468188330f5e3a741d" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>in</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e74acceb79e5e36eed36580eeab21d4"></a><!-- doxytag: member="ne7ssh_transport::inBuffer" ref="4e74acceb79e5e36eed36580eeab21d4" args="" -->
Botan::SecureVector&lt; Botan::byte &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>inBuffer</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="bc335c4d181ee23ef6f6c819d41a9533"></a><!-- doxytag: member="ne7ssh_transport::ne7ssh_transport" ref="bc335c4d181ee23ef6f6c819d41a9533" args="(ne7ssh_session *_session)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_transport::ne7ssh_transport </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td>
<td class="paramname"> <em>_session</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a> class constructor. <p>
Transport class handles all socket communications for the <a class="el" href="classne7ssh.html">ne7ssh</a> library. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_session</em>&nbsp;</td><td>Pointer to <a class="el" href="classne7ssh__session.html">ne7ssh_session</a> instance. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="c9b896ad9d855fc818b0b5350f47ccf7"></a><!-- doxytag: member="ne7ssh_transport::~ne7ssh_transport" ref="c9b896ad9d855fc818b0b5350f47ccf7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ne7ssh_transport::~ne7ssh_transport </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="el" href="classne7ssh__transport.html">ne7ssh_transport</a> class destructor.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="122602c51b558d07920bbf3f19c53e83"></a><!-- doxytag: member="ne7ssh_transport::establish" ref="122602c51b558d07920bbf3f19c53e83" args="(const char *host, uint32 port, int timeout=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SOCKET ne7ssh_transport::establish </td>
<td>(</td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>host</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32&nbsp;</td>
<td class="paramname"> <em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>timeout</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Establishes connection to a remote host. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>host</em>&nbsp;</td><td>Host name or IP. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>Port. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>Timeout for the establish procedure, in seconds. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Socket number or -1 on failure. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00129">NoBlock()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>
</div>
</div><p>
<a class="anchor" name="a602061a2091786b16527534aa8bb99a"></a><!-- doxytag: member="ne7ssh_transport::getPacket" ref="a602061a2091786b16527534aa8bb99a" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32 ne7ssh_transport::getPacket </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>result</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the payload section from an SSH packet received by <a class="el" href="classne7ssh__transport.html#8d502d0e554e92d9536f8be2f9e07fd0">waitForPacket()</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>The payload will be stored here. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The SSH packet passing length. </dd></dl>
<p>References <a class="el" href="crypt_8cpp_source.html#l00762">ne7ssh_crypt::decompressData()</a>, <a class="el" href="crypt_8h_source.html#l00201">ne7ssh_crypt::getMacInLen()</a>, and <a class="el" href="crypt_8h_source.html#l00177">ne7ssh_crypt::isInited()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00063">ne7ssh_channel::handleChannelConfirm()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00130">ne7ssh_kex::handleInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00242">ne7ssh_kex::handleKexDHReply()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00301">ne7ssh_channel::receive()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00147">Ne7sshSftp::receiveWindowAdjust()</a>.</p>
</div>
</div><p>
<a class="anchor" name="c5e49ab89bc98e9da758a194b7870d57"></a><!-- doxytag: member="ne7ssh_transport::haveData" ref="c5e49ab89bc98e9da758a194b7870d57" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::haveData </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks to see if there is more data to be read from the socket. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if there is data to be read, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__transport_8cpp_source.html#l00158">wait()</a>.</p>
</div>
</div><p>
<a class="anchor" name="750400736781c5d40a68a47f95f3af00"></a><!-- doxytag: member="ne7ssh_transport::NoBlock" ref="750400736781c5d40a68a47f95f3af00" args="(SOCKET socket, bool on)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::NoBlock </td>
<td>(</td>
<td class="paramtype">SOCKET&nbsp;</td>
<td class="paramname"> <em>socket</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>on</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Switches socket's NonBlocking option on or off. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>socket</em>&nbsp;</td><td>Socket number. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>If set to true, NonBlocking option will be turned on, and vice versa. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if options have been successfuly set, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__transport_8cpp_source.html#l00059">establish()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e68ee5d295430f648424b5ba359d9503"></a><!-- doxytag: member="ne7ssh_transport::receive" ref="e68ee5d295430f648424b5ba359d9503" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer, bool append=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::receive </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>append</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reads data from the socket. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>The data will be placed here. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>append</em>&nbsp;</td><td>If set to true, received data will be appended to the buffer, instead of overwriting it. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if data successfuly read, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00158">wait()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00253">ne7ssh_connection::checkRemoteVersion()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">waitForPacket()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e88fef35a5b4b0960ccee3142e486eb6"></a><!-- doxytag: member="ne7ssh_transport::send" ref="e88fef35a5b4b0960ccee3142e486eb6" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::send </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>buffer</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Writes a buffer to the socket. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>Data to be written to the socket. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if data successful sent, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00158">wait()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00275">ne7ssh_connection::sendLocalVersion()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">sendPacket()</a>.</p>
</div>
</div><p>
<a class="anchor" name="c62051d1b6aeeb65867ffd1c1578938f"></a><!-- doxytag: member="ne7ssh_transport::sendPacket" ref="c62051d1b6aeeb65867ffd1c1578938f" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;buffer)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::sendPacket </td>
<td>(</td>
<td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>buffer</em> </td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Assembles an SSH packet, as specified in SSH standards and passes the buffer to <a class="el" href="classne7ssh__transport.html#e88fef35a5b4b0960ccee3142e486eb6">send()</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>Payload to be sent. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if send successful, otherwise false is returned. </dd></dl>
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00100">ne7ssh_string::addBytes()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="crypt_8cpp_source.html#l00716">ne7ssh_crypt::encryptPacket()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="crypt_8h_source.html#l00183">ne7ssh_crypt::getEncryptBlock()</a>, <a class="el" href="crypt_8h_source.html#l00177">ne7ssh_crypt::isInited()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00195">send()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00249">ne7ssh_channel::execCmd()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00274">ne7ssh_channel::getShell()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00045">Ne7sshSftp::init()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">ne7ssh_channel::sendAdjustWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">ne7ssh_channel::sendAll()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">ne7ssh_channel::sendClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00155">ne7ssh_channel::sendEof()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>.</p>
</div>
</div><p>
<a class="anchor" name="e61c53b2f743afecec25cfe7fffc3799"></a><!-- doxytag: member="ne7ssh_transport::wait" ref="e61c53b2f743afecec25cfe7fffc3799" args="(SOCKET socket, int rw, int timeout=&#45;1)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ne7ssh_transport::wait </td>
<td>(</td>
<td class="paramtype">SOCKET&nbsp;</td>
<td class="paramname"> <em>socket</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>rw</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>timeout</em> = <code>-1</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Waits for activity on a socket. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>socket</em>&nbsp;</td><td>Socket number. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>rw</em>&nbsp;</td><td>If set to true, checks if process can write to the socket, otherwise checks if there is data to be read from the socket. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>timeout</em>&nbsp;</td><td>Desired timeout. By default the function will block until socket is ready for reading/writting. If set to '0', the function will return right away. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if socket is ready for reading/writting, otherwise false is returned. </dd></dl>
<p>Referenced by <a class="el" href="ne7ssh__transport_8cpp_source.html#l00153">haveData()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00219">receive()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00195">send()</a>.</p>
</div>
</div><p>
<a class="anchor" name="8d502d0e554e92d9536f8be2f9e07fd0"></a><!-- doxytag: member="ne7ssh_transport::waitForPacket" ref="8d502d0e554e92d9536f8be2f9e07fd0" args="(Botan::byte cmd, bool bufferOnly=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">short ne7ssh_transport::waitForPacket </td>
<td>(</td>
<td class="paramtype">Botan::byte&nbsp;</td>
<td class="paramname"> <em>cmd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>bufferOnly</em> = <code>false</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Waits until specified type of packet is received. <p>
If cmd is 0, waits for the first available packet of any kind. <p>
Once the desired packet is received, it is decrypted / decommpressed, the hMac is checked, and dropped into inBuffer class variable. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td>SSH2 packet to wait for. If 0, first available packet will be read into inBuffer class variable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bufferOnly</em>&nbsp;</td><td>Does not wait to receive a new packet, only checks existing receive buffer for unprocessed packets. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 if desired packet is received, 0 if there another packet is received, or -1 if HMAC checking is enabled, and remote and local HMACs do not match. </dd></dl>
<p>References <a class="el" href="crypt_8cpp_source.html#l00773">ne7ssh_crypt::computeMac()</a>, <a class="el" href="crypt_8cpp_source.html#l00737">ne7ssh_crypt::decryptPacket()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="crypt_8h_source.html#l00189">ne7ssh_crypt::getDecryptBlock()</a>, <a class="el" href="crypt_8h_source.html#l00201">ne7ssh_crypt::getMacInLen()</a>, <a class="el" href="crypt_8h_source.html#l00177">ne7ssh_crypt::isInited()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00219">receive()</a>.</p>
<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00167">ne7ssh_connection::authWithKey()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00124">ne7ssh_connection::authWithPassword()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">ne7ssh_channel::open()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00301">ne7ssh_channel::receive()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00147">Ne7sshSftp::receiveWindowAdjust()</a>, <a class="el" href="ne7ssh__connection_8cpp_source.html#l00108">ne7ssh_connection::requestService()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00107">ne7ssh_kex::sendInit()</a>, <a class="el" href="ne7ssh__kex_8cpp_source.html#l00217">ne7ssh_kex::sendKexDHInit()</a>, and <a class="el" href="ne7ssh__kex_8cpp_source.html#l00276">ne7ssh_kex::sendKexNewKeys()</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__transport_8h_source.html">ne7ssh_transport.h</a><li>ne7ssh_transport.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:43 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More