[Top] [Prev] [Next] [Bottom] [Contents]

SaGetHeader

Gets the value of a server application header for the named argument.

Synopsis

#include "SaRnHtml.h"
char XKEXPORT *SaGetHeader SUTPROTO((char *name));

Arguments

name
String representing header string name.

Return Values

String representing header string value.

Description

Gets the value of a header for the named argument. Do not free or modify the returned value. If there are multiple headers of the name "name", only the first occurrence is returned.

Example

char * str;
str = SaGetHeader("");
if(str != NULL)
{
	/** examine header value **/
}

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.