2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-09-30 14:02:18 +02:00
|
|
|
|
2015-06-26 15:37:47 +02:00
|
|
|
#ifndef URL_CHARACTERS_H
|
|
|
|
#define URL_CHARACTERS_H
|
|
|
|
|
|
|
|
#define ALPHA "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
|
|
|
#define NUMERIC "0123456789"
|
|
|
|
|
2015-07-29 13:09:42 +02:00
|
|
|
#define UNRESERVED ALPHA NUMERIC "-._~" "%"
|
2015-06-26 15:37:47 +02:00
|
|
|
#define GEN_DELIMS ":/?#[]@"
|
|
|
|
#define SUB_DELIMS "!$&'()*+,;="
|
|
|
|
#define PCHAR UNRESERVED SUB_DELIMS ":@"
|
2016-07-25 10:54:17 +02:00
|
|
|
#define PCHAR_ENCODE UNRESERVED ":@"
|
2015-06-26 15:37:47 +02:00
|
|
|
|
|
|
|
#define ACSCHEME ALPHA NUMERIC ".-+"
|
|
|
|
|
|
|
|
//authority = [ userinfo "@" ] host [ ":" port ]
|
2017-12-19 15:50:05 +01:00
|
|
|
#define ACUSERINFO UNRESERVED SUB_DELIMS
|
2015-06-26 15:37:47 +02:00
|
|
|
#define ACHOST UNRESERVED SUB_DELIMS
|
|
|
|
#define ACPORT NUMERIC
|
|
|
|
|
|
|
|
#define ACPATHSEGMENT PCHAR
|
2016-07-25 10:54:17 +02:00
|
|
|
#define ACPATHSEGMENT_ENCODE PCHAR_ENCODE
|
2015-06-26 15:37:47 +02:00
|
|
|
#define ACQUERY PCHAR "/?"
|
2016-07-25 10:54:17 +02:00
|
|
|
#define ACQUERY_ENCODE PCHAR_ENCODE "/?"
|
2015-06-26 15:37:47 +02:00
|
|
|
#define ACFRAGMENT PCHAR "/?"
|
2016-07-25 10:54:17 +02:00
|
|
|
#define ACFRAGMENT_ENCODE PCHAR_ENCODE "/?"
|
2015-06-26 15:37:47 +02:00
|
|
|
|
|
|
|
#endif /* URL_CHARACTERS_H */
|