NetBurner 3.5.0
PDF Version
 
StreamUpdate.h File Reference

Read an Application File from an Input Stream. More...

#include <basictypes.h>

Go to the source code of this file.

Macros

#define STREAM_UP_FAIL   (0)
 Action failed.
 
#define STREAM_UP_OK   (1)
 Action succeeded.
 

Functions

int ReadBinaryApplicationCodeFromStream (int fd)
 Read a binary application image from an input stream and program flash memory.
 
int ReadS19ApplicationCodeFromStream (int fd)
 Read an ASCII application image in s-record .s19 format from an input stream and program flash memory.
 

Detailed Description

Read an Application File from an Input Stream.

Functions to read an application form a source with a file descriptor. Useful for programming/updating an application image from sources such as flash memory cards, posts from other devices, and files received from FTP.