www.pudn.com > uc_tftp.rar > tftp.h



/******************************************************************************
* Filename     : tftp.h                                                       *
* Program      : loader.                                                      *
* Copyright    : Copyright (C) 2001, Young-Su, Ahn.                           *
* Author       : Young-Su, Ahn                            *
* Description  : Header file for tftp.c.                                      *
* Created at   : Wed Mar 13 2001.                                             *
* Based on     : pptboot-0.5.3, CS8900A device driver.                        *
* Modified by  :                                                              *
* Modified at  :                                                              *
******************************************************************************/
/* 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.
 */

#ifndef _TFTP_H_
#define _TFTP_H_

#include "types.h"


// Prototypes.
bool			DoTftp(int itype);	// Begin TFTP get.
bool			TftpRx(char *rxBuf, int len);

extern short	tftpPort;
extern short	tftpHostPort;
extern short	tftpClientPort;

#endif		// end _TFTP_H_