NetBurner 3.3.9
PDF Version
htmlfiles.h File Reference

NetBurner HTTP Web Server File Handling. More...

#include <basictypes.h>
#include <nettypes.h>
#include <ipv6/ipv6_addr.h>

Go to the source code of this file.

Functions

int SendEmailResponse (int sock, const char *name, const char *attachment)
 Send an email with HTML formatting. More...
 
int SendFullResponse (char const *name, int fd)
 Send a file with the proper HTTP header, file specified by file name. More...
 
int SendFullResponse (HTML_FILE_RECORD *fr, int fd, const char *pUrl)
 Send a file with the proper HTTP header, file specified by HTML_FILE_RECORD. More...
 
int SendHeaderResponse (char const *name, int fd)
 Send a HTTP header response for the specified file type. More...
 
int SendHeaderResponse (HTML_FILE_RECORD *fr, int fd)
 Send a HTTP header response for the specified HTML_FILE_RECORD type. More...
 
int32_t SendFileFragment (char const *name, int32_t fd, PCSTR url=NULL)
 Send a file fragment without a header. More...
 
HTML_FILE_RECORD * GetRecordFromName (char const *name)
 Returns a pointer to a HTML_FILE_RECORD for the specified file name. More...
 
CONFIG_RENDER_OBJ ConfigRenderFunc (int mode, const char *pobj, int len=20, const char *extra=0)
 Render a configuration object as HTML for the specified configuration object. More...
 
CONFIG_RENDER_OBJ ConfigRenderFunc (int mode, config_leaf &cl, int len=20, const char *extra=0)
 Render a configuration object as HTML for the specified configuration leaf object. More...
 
void WriteHtmlVariable (int fd, CONFIG_RENDER_OBJ co)
 Send a CONFIG_RENDER_OBJ to the client. More...
 

Detailed Description

NetBurner HTTP Web Server File Handling.