NetBurner 3.5.0
PDF Version
 
httppass.h
1/*NB_REVISION*/
2
3/*NB_COPYRIGHT*/
4
5/* Note: internal use only. Programmers should use the CheckHttpAccess() function,
6 * which is a weak reference.
7 * @file httppass.h
8 * @brief NetBurner HTTP Web Server Password Header File
9 */
10
11/* @addtogroup httpGroup HTTP and HTML Functions
12 * \IncludeFileName \n\n
13 * @{
14 */
15
16#ifndef _NB_HTTPPASS_H
17#define _NB_HTTPPASS_H
18#include <basictypes.h>
19/*
20 * @brief Reject the current HTTP password request, and send a new password request.
21 *
22 * Sends a 401 authentication request to the client.
23 *
24 * @param sock The socket used to send the request
25 * @param name The name that will appear in the password request
26 *
27 * @return Nothing
28 *
29 * @sa CheckAuthentication()
30 *
31 */
32void RequestAuthentication(int sock, PCSTR name);
33
34#endif
35
36/* @} */