ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tftpd.cpp File Reference
#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 "tftpd.h"

Go to the source code of this file.

Functions

void WINAPI ServiceControlHandler (DWORD controlCode)
void WINAPI ServiceMain (DWORD, TCHAR *[])
void runService ()
bool stopService (SC_HANDLE service)
void installService ()
void uninstallService ()
void printWindowsError ()
int main (int argc, TCHAR *argv[])
void runProg ()
void processRequest (void *lpParam)
bool cleanReq (request *req)
charmyGetToken (char *buff, BYTE index)
WORD myTokenize (char *target, char *source, char *sep, bool whiteSep)
charmyTrim (char *target, char *source)
void mySplit (char *name, char *value, char *source, char splitChar)
bool getSection (const char *sectionName, char *buffer, BYTE serial, char *fileName)
charIP2String (char *target, DWORD ip)
bool isIP (char *string)
charmyUpper (char *string)
charmyLower (char *string)
void init ()
void logMess (char *logBuff, BYTE logLevel)
void logMess (request *req, BYTE logLevel)

Variables

char serviceName [] = "TFTPServer"
char displayName [] = "TFTP Server Multithreaded"
char sVersion [] = "TFTP Server MultiThreaded Version 1.61 Windows Built 1611"
char iniFile [_MAX_PATH]
char logFile [_MAX_PATH]
char tempbuff [256]
char logBuff [512]
char fileSep = '\\'
char notFileSep = '/'
WORD blksize = 65464
char verbatim = 0
WORD timeout = 3
data2 cfig
HANDLE tEvent
HANDLE cEvent
HANDLE sEvent
HANDLE lEvent
BYTE currentServer = UCHAR_MAX
WORD totalThreads = 0
WORD minThreads = 1
WORD activeThreads = 0
SERVICE_STATUS serviceStatus
SERVICE_STATUS_HANDLE serviceStatusHandle = 0
HANDLE stopServiceEvent = 0

Generated on Thu May 24 2012 04:44:49 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.