proxymain.h

来自「JK Proxy Project - Version 0.1 --------」· C头文件 代码 · 共 55 行

H
55
字号
/*
+-----------------------------------------------------------------------------+
|                                                                             |
|   proxymain.h                                                               |
|   Last change: yyyy-mm-dd                                                   |
|                                                                             |
|   Author: Jan Krumsiek                                                      |
|   eMail:  proxy@krumsiek.com                                                |
|   Web:    http://www.krumsiek.com/proxy                                     |
|                                                                             |
|   Copyright 2003 - Jan Krumsiek                                             |
|   This source code can freely be modified and redistributed. No liability   |
|   whatsoever is taken by the author for any use of this software.           |
|                                                                             |
|   Description:                                                              |
|   Header file for proxymain.cpp. Contains several typedefs and a lot of     |
|   prototypes for all public functions.                                      |
|                                                                             |
+-----------------------------------------------------------------------------+
*/

#ifndef _proxymain_h_
#define _proxymain_h_

#include "iostream.h"
#include "stdio.h"

typedef unsigned short USHORT;
typedef unsigned int UINT;
typedef char* CHARPTR;

// global constants
#define CRLF "\x0D\x0A"


// Prototypes
void OSStartUp();
void CleanUp();
void* CopyAndPtr(void* src, UINT length);
void ErrorAbort();
CHARPTR GetID();
int LoadSettings();
CHARPTR ConnectStrings(CHARPTR str1, CHARPTR str2);
CHARPTR GetFilename();
void WriteToLog(FILE* logfile, CHARPTR entry);
CHARPTR CopyString(CHARPTR str);
CHARPTR GetMainConfigName();
CHARPTR CombinePaths(CHARPTR path1, CHARPTR path2);
CHARPTR ExtractDir(CHARPTR fullpath);

#ifdef WIN32
	CHARPTR GetAppDir();
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?