File: ucspi.h

package info (click to toggle)
bglibs 2.04%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,368 kB
  • sloc: ansic: 15,820; perl: 674; sh: 64; makefile: 26
file content (12 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef BGLIBS__MISC__UCSPI__H__
#define BGLIBS__MISC__UCSPI__H__

extern const char* ucspi_protocol(void);
extern const char* ucspi_getenv(const char* name);

#define ucspi_localip()    ucspi_getenv("LOCALIP")
#define ucspi_localhost()  ucspi_getenv("LOCALHOST")
#define ucspi_remoteip()   ucspi_getenv("REMOTEIP")
#define ucspi_remotehost() ucspi_getenv("REMOTEHOST")

#endif