📄 inc.h
字号:
/* $Author: peltotas $ $Date: 2006/03/15 10:49:10 $ $Revision: 1.25 $ *//* * MAD-ALCLIB: Implementation of ALC/LCT protocols, Compact No-Code FEC, * Simple XOR FEC, Reed-Solomon FEC, and RLC Congestion Control protocol. * Copyright (c) 2003-2006 TUT - Tampere University of Technology * main authors/contacts: jani.peltotalo@tut.fi and sami.peltotalo@tut.fi * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */#ifndef _INC_H_#define _INC_H_#ifndef WIN32#define _LARGE_FILE_API#define _LARGEFILE64_SOURCE#define _ISOC99_SOURCE#define _XOPEN_SOURCE 500#endif#include <stdio.h>#include <math.h>#include <time.h>#include <string.h>#include <ctype.h>#include <sys/types.h>#include <sys/stat.h>#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <signal.h>#include <ctype.h>#include <stdlib.h>#ifdef WIN32#include <winsock2.h>#include <ws2tcpip.h>#include <windows.h>#include <shellapi.h>#include <mmsystem.h>#include <io.h>#include <process.h>#include <direct.h>#else /* LINUX/UNIX */#include <unistd.h>#include <sys/time.h>#include <sys/wait.h>#include <pthread.h>#include <sys/uio.h>#include <sys/socket.h>/*#include <linux/in.h>#include <linux/in6.h>*/#include <netinet/in.h>#include <net/if.h>#include <arpa/inet.h>#include <netdb.h>#include <dirent.h>/*#include <mpatrol.h>*/#endif#include "defines.h"#if defined(LINUX) && defined(SSM)#include "linux_ssm.h"#endif#include "mad.h"#include "alc_session.h"#include "alc_channel.h"#include "lct_hdr.h"#include "alc_hdr.h"#include "alc_tx.h"#include "alc_rx.h"#include "alc_socket.h"#include "transport.h"#include "blocking_alg.h"#include "fec.h"#include "null_fec.h"#include "rs_fec.h"#include "xor_fec.h"#include "mad_rlc.h"#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -