NetCpp/include/type.h

75 lines
1.3 KiB
C
Raw Normal View History

2019-12-12 14:34:09 +00:00
//
// type.h
// Net
//
// Created by 胡一兵 on 2019/1/17.
// Copyright © 2019年 Bakantu. All rights reserved.
//
#ifndef type_h
#define type_h
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
2020-01-30 07:56:27 +00:00
#include <cassert>
2019-12-12 14:34:09 +00:00
#include <algorithm>
#include <vector>
#include <list>
#include <string>
#include <map>
#include <sys/types.h>
#include <sys/socket.h>
#include<sys/wait.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/shm.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <netdb.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include <dlfcn.h>
#include <dirent.h>
#include <memory.h>
#include <sqlite3.h>
# include <openssl/bio.h>
# include <openssl/ssl.h>
# include <openssl/err.h>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/prettywriter.h>
using std::string;
using std::vector;
using std::map;
using std::pair;
using std::list;
using std::ifstream;
using std::cout;
using std::endl;
using std::stringstream;
using namespace rapidjson;
typedef char Byte;
typedef unsigned char UByte;
#define REQUSET_TYPE 100
#define RESPOND_TYPE 101
#define ENCRYPT_POST_TYPE 102
#endif /* type_h */