N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/OrbisQuartus/server/tftp_client.h File Reference

Fileserver client. More...

Go to the source code of this file.

Enumerations

enum  TFTP_mode { ASCII_MODE = 0x700, BINARY_MODE = 0x701 }

Functions

void tftp_init (char *host)
void tftp_get (char *file)
void tftp_put (char *file)
void tftp_setmode (enum TFTP_mode mode)


Detailed Description

Fileserver client.

Revision
1.4

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: February 8, 2006

Date
2007/10/11 17:13:29

Definition in file tftp_client.h.


Enumeration Type Documentation

enum TFTP_mode
 

Enumerator:
ASCII_MODE 
BINARY_MODE 

Definition at line 40 of file tftp_client.h.


Function Documentation

void tftp_get char *  file  ) 
 

Definition at line 212 of file tftp_client-l4.c.

References error, fd, mode::flag, mode, and mode::name.

void tftp_init char *  host  ) 
 

Definition at line 181 of file tftp_client-l4.c.

References f, hostname, memcpy, peeraddr, port, tftp_client(), tftp_orename, and xstrdup().

void tftp_put char *  file  ) 
 

Todo:
implement file writeout to server

Definition at line 245 of file tftp_client-l4.c.

References fd, mode::flag, mode, and mode::name.

void tftp_setmode enum TFTP_mode  mode  ) 
 


© 2007, Los Alamos National Security, LLC.