bglibs: ucspi.h Source File

bglibs

ucspi.h
1 #ifndef BGLIBS__MISC__UCSPI__H__
2 #define BGLIBS__MISC__UCSPI__H__
3
4 extern const char* ucspi_protocol(void);
5 extern const char* ucspi_getenv(const char* name);
6
7 #define ucspi_localip() ucspi_getenv("LOCALIP")
8 #define ucspi_localhost() ucspi_getenv("LOCALHOST")
9 #define ucspi_remoteip() ucspi_getenv("REMOTEIP")
10 #define ucspi_remotehost() ucspi_getenv("REMOTEHOST")
11
12 #endif