Ns_ConnReturnOpenFile
Overview
Return a file to a client
Syntax
int Ns_ConnReturnOpenFile(
Ns_Conn *conn,
int status,
char *type,
FILE *fp,
int len
);
Description
The Ns_ConnReturnOpenFile function is the same as Ns_ConnReturnFile except that it takes a FILE *fp argument instead of a file name, and it requires an additional length argument. It returns the entire contents of the given file to the client. Ns_ConnReturnOpenFile returns a status of NS_OK or NS_ERROR.