📄 2003-01-01_proxymain.h
字号:
/*
+-----------------------------------------------------------------------------+
| |
| 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 GetFileCont(CHARPTR filename, CHARPTR* cont, UINT* length);
void* CopyAndPtr(void* src, UINT length);
void ErrorAbort();
CHARPTR GetID();
void LoadSettings();
CHARPTR ConnectStrings(CHARPTR str1, CHARPTR str2);
void CreateDir(CHARPTR name);
CHARPTR GetFilename();
void WriteToFile(CHARPTR filepath, CHARPTR data);
UINT GetFileLength(CHARPTR path);
void KillFile(CHARPTR file);
int FileExists(CHARPTR name);
void WriteToLog(FILE* logfile, CHARPTR entry);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -