ReactOS
0.4.15-dev-1619-g69dffed
|
#include <stdio.h>
#include <winsock2.h>
#include <process.h>
#include <time.h>
#include <tchar.h>
#include <ws2tcpip.h>
#include <limits.h>
#include <iphlpapi.h>
#include <math.h>
#include "tftpd.h"
Go to the source code of this file.
Variables | |
char | serviceName [] = "TFTPServer" |
char | displayName [] = "Open TFTP Server, MultiThreaded" |
char | sVersion [] = "Open TFTP Server MultiThreaded Version 1.64 Windows Built 2001" |
char | iniFile [_MAX_PATH] |
char | logFile [_MAX_PATH] |
char | lnkFile [_MAX_PATH] |
char | tempbuff [256] |
char | extbuff [_MAX_PATH] |
char | logBuff [512] |
char | fileSep = '\\' |
char | notFileSep = '/' |
MYWORD | blksize = 65464 |
char | verbatim = 0 |
MYWORD | timeout = 3 |
MYWORD | loggingDay |
data1 | network |
data1 | newNetwork |
data2 | cfig |
HANDLE | tEvent |
HANDLE | cEvent |
HANDLE | sEvent |
HANDLE | lEvent |
MYBYTE | currentServer = UCHAR_MAX |
MYWORD | totalThreads =0 |
MYWORD | minThreads =1 |
MYWORD | activeThreads =0 |
SERVICE_STATUS | serviceStatus |
SERVICE_STATUS_HANDLE | serviceStatusHandle = 0 |
HANDLE | stopServiceEvent = 0 |
Definition at line 2557 of file tftpd.cpp.
Referenced by getInterfaces().
Definition at line 1505 of file tftpd.cpp.
Referenced by processRequest().
void closeConn | ( | ) |
Definition at line 481 of file tftpd.cpp.
Referenced by init(), runProg(), and ServiceMain().
bool detectChange | ( | ) |
Definition at line 2428 of file tftpd.cpp.
Referenced by init().
Definition at line 2572 of file tftpd.cpp.
Referenced by init().
Definition at line 2519 of file tftpd.cpp.
Referenced by init().
Definition at line 1533 of file tftpd.cpp.
Definition at line 1805 of file tftpd.cpp.
Referenced by runProg(), and ServiceMain().
void installService | ( | ) |
Definition at line 1767 of file tftpd.cpp.
Referenced by init().
Definition at line 2585 of file tftpd.cpp.
Referenced by detectChange(), init(), processRequest(), runProg(), and ServiceMain().
Definition at line 2622 of file tftpd.cpp.
Definition at line 346 of file tftpd.cpp.
Definition at line 1795 of file tftpd.cpp.
Definition at line 1730 of file tftpd.cpp.
Referenced by init().
Definition at line 1643 of file tftpd.cpp.
Definition at line 1689 of file tftpd.cpp.
Referenced by getSection(), mySplit(), openSection(), and readSection().
Definition at line 1785 of file tftpd.cpp.
Referenced by getSection(), and openSection().
Definition at line 1581 of file tftpd.cpp.
Referenced by init().
void printWindowsError | ( | ) |
Definition at line 323 of file tftpd.cpp.
Referenced by installService(), main(), and uninstallService().
Definition at line 488 of file tftpd.cpp.
Referenced by init(), runProg(), and ServiceMain().
Definition at line 1611 of file tftpd.cpp.
Referenced by init().
void runProg | ( | ) |
Definition at line 393 of file tftpd.cpp.
Referenced by main().
void runService | ( | ) |
Definition at line 67 of file tftpd.cpp.
Referenced by ServiceMain().
Definition at line 98 of file tftpd.cpp.
Referenced by runService().
bool stopService | ( | SC_HANDLE | service | ) |
Definition at line 225 of file tftpd.cpp.
Referenced by main(), and uninstallService().
MYWORD activeThreads =0 |
Definition at line 60 of file tftpd.cpp.
Referenced by cleanReq(), processRequest(), runProg(), and ServiceMain().
MYWORD blksize = 65464 |
Definition at line 45 of file tftpd.cpp.
Referenced by init(), and processRequest().
HANDLE cEvent |
Definition at line 54 of file tftpd.cpp.
Referenced by cleanReq(), init(), and processRequest().
data2 cfig |
Definition at line 51 of file tftpd.cpp.
Referenced by detectChange(), init(), logMess(), processRequest(), runProg(), and ServiceMain().
Definition at line 57 of file tftpd.cpp.
Referenced by processRequest(), runProg(), and ServiceMain().
Definition at line 35 of file tftpd.cpp.
Referenced by BackgroundCopyJobConstructor(), hls_ref_Moniker_GetDisplayName(), hls_site_Moniker_GetDisplayName(), installService(), ItemMonikerImpl_ParseDisplayName(), and test_GetName().
char fileSep = '\\' |
Definition at line 43 of file tftpd.cpp.
Referenced by init(), and processRequest().
Definition at line 37 of file tftpd.cpp.
Referenced by init(), and test_profile_int().
HANDLE lEvent |
Definition at line 56 of file tftpd.cpp.
Referenced by CChangeNotifyBroker::BrokerNotification(), DoShellNotify(), init(), logMess(), CDefView::OnChangeNotify(), OnShellNotify(), SHChangeNotifyReceive(), SHChangeNotifyReceiveEx(), SHChangeNotifyTransmit(), WSAAsyncSelect(), and WSPAsyncSelect().
char logBuff[512] |
Definition at line 42 of file tftpd.cpp.
Referenced by detectChange(), init(), logMess(), runProg(), and ServiceMain().
Definition at line 38 of file tftpd.cpp.
Referenced by handle_escape_cmd(), init(), and logMess().
MYWORD minThreads =1 |
Definition at line 59 of file tftpd.cpp.
Referenced by cleanReq(), and init().
data1 network |
Definition at line 49 of file tftpd.cpp.
Referenced by closeConn(), detectChange(), getInterfaces(), init(), processRequest(), runProg(), ServiceMain(), wnet_use_connection(), and wnetInit().