Rudiments

cgihttpserverapi.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information
3 void *getApiStruct();
4
5 bool getCharacter(char *ch);
6
7 void initEnvironmentVariables();
8 const char *getEnvironmentVariable(const char *name);
9 uint64_t getEnvironmentVariableCount();
10 const char * const *getEnvironmentVariables();
11 const char * const *getEnvironmentValues();
12 bool setEnvironmentVariable(const char *name,
13 const char *value);
14 void updateEnvironmentVariables();
15
16 httpserverapi *status(const char *string);
17 httpserverapi *header(const char *variable,
18 const char *value);
19 httpserverapi *header(const char *string);
20
21 ssize_t write(const unsigned char *string, size_t size);
22 ssize_t write(const char *string);
23 ssize_t write(const char *string, size_t size);
24 ssize_t write(char character);
25 ssize_t write(int16_t number);
26 ssize_t write(int32_t number);
27 ssize_t write(int64_t number);
28 ssize_t write(unsigned char character);
29 ssize_t write(uint16_t number);
30 ssize_t write(uint32_t number);
31 ssize_t write(uint64_t number);
32 ssize_t write(float number);
33 ssize_t write(double number);
34 private:
35 cgihttpserverapiprivate *pvt;
character
Definition: character.h:11
httpserverapi
Definition: httpserverapi.h:9