⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alc_rx.h

📁 这个程序实现了FLUTE协议
💻 H
字号:
/* $Author: peltotal $ $Date: 2006/02/17 09:14:36 $ $Revision: 1.20 $ *//* *   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 _ALC_RX_H_#define _ALC_RX_H_#include "transport.h"/**** Functions ****/trans_obj_t* object_exist(#ifdef WIN32			  ULONGLONG toi,#else			  unsigned long long toi,#endif			  alc_session_t *s, int type);bool object_completed(trans_obj_t *to);trans_block_t* block_exist(unsigned int sbn, trans_obj_t *trans_obj);bool block_ready_to_decode(trans_block_t *tb);void* rx_thread(void *s);char* alc_recv(int s_id, #ifdef WIN32			   			   ULONGLONG toi,			   ULONGLONG *data_len,#else			   unsigned long long toi,			   unsigned long long *data_len,#endif			   int *retval);char* alc_recv2(int s_id,#ifdef WIN32			   			   ULONGLONG *toi,			   ULONGLONG *data_len,#else			   unsigned long long *toi,			   unsigned long long *data_len,#endif			   int *retval);char* alc_recv3(int s_id,#ifdef WIN32			   			   ULONGLONG *toi,#else			   unsigned long long *toi,#endif			   int *retval);char* fdt_recv(int s_id,			   #ifdef WIN32		ULONGLONG *data_len,#else		unsigned long long *data_len,#endif		int *retval,		unsigned char *content_enc_algo,		int *fdt_instance_id);#endif

⌨️ 快捷键说明

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