aboutsummaryrefslogtreecommitdiff
path: root/src/http_Content.h
blob: 307da9903009382a9a1a7e8271c5f28dc71b337e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 /*@@
   @header    http_Content.h
   @date      Sun Sep 17 14:19:23 2000
   @author    Tom Goodale
   @desc 
   Routines exported by the Content stuff.
   @enddesc
   @version $Header$
 @@*/

#ifndef __HTTP_CONTENT_H__
#define __HTTP_CONTENT_H__ 1

#define HTTP_QUICKLINK 1

#include "SString.h"

#define EMPTYSTRING {'\0'}

#ifdef __cplusplus
extern "C" 
{
#endif

int HTTP_ContentLink(const char *URL, 
                     const char *name,
                     const char *description,
                     int flags);

int HTTP_ContentSendFromFile(httpRequest *request, 
                             int filedes);

int SetHTML_ContentHeader(const cGH *cctkGH, int choice, String *mess,
		const String *menu);
int SetHTML_ContentFooter(const cGH *cctkGH, int choice, String *mess);

void SendHTTP_OK_Header(httpRequest *request);

#ifdef __cplusplus
}
#endif

#endif /* __HTTP_CONENT_H__ */