Rudiments

httpserverapi.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information
3
4 virtual void *getApiStruct()=0;
5
6 virtual bool getCharacter(char *ch)=0;
7
8 virtual void initEnvironmentVariables()=0;
9 virtual const char *getEnvironmentVariable(
10 const char *name)=0;
11 virtual uint64_t getEnvironmentVariableCount()=0;
12 virtual const char * const *getEnvironmentVariables()=0;
13 virtual const char * const *getEnvironmentValues()=0;
14 virtual bool setEnvironmentVariable(
15 const char *name,
16 const char *value)=0;
17 virtual void updateEnvironmentVariables()=0;
18
19 virtual httpserverapi *status(const char *string)=0;
20 virtual httpserverapi *header(const char *variable,
21 const char *value)=0;
22 virtual httpserverapi *header(const char *string)=0;
httpserverapi
Definition: httpserverapi.h:9