Lines Matching refs:ADD_FIELD
111 #define ADD_FIELD(name, field) \ macro
125 ADD_FIELD("SERVER_PROTOCOL", protocol); in sapi_webjames_register_variables()
133 ADD_FIELD("REQUEST_METHOD", methodstr); in sapi_webjames_register_variables()
134 ADD_FIELD("REQUEST_URI", requesturi); in sapi_webjames_register_variables()
136 ADD_FIELD("SCRIPT_NAME", uri); in sapi_webjames_register_variables()
137 ADD_FIELD("PHP_SELF", uri); in sapi_webjames_register_variables()
138 ADD_FIELD("QUERY_STRING", args); in sapi_webjames_register_variables()
143 if (WG(conn)->dnsstatus == DNS_OK) ADD_FIELD("REMOTE_HOST", host); in sapi_webjames_register_variables()
147 ADD_FIELD("CONTENT_TYPE", type); in sapi_webjames_register_variables()
150 …if ((WG(conn)->method == METHOD_PUT) || (WG(conn)->method == METHOD_DELETE)) ADD_FIELD("ENTITY_PAT… in sapi_webjames_register_variables()
154 ADD_FIELD("REMOTE_USER", authorization); in sapi_webjames_register_variables()
157 ADD_FIELD("HTTP_COOKIE", cookie); in sapi_webjames_register_variables()
158 ADD_FIELD("HTTP_USER_AGENT", useragent); in sapi_webjames_register_variables()
159 ADD_FIELD("HTTP_REFERER", referer); in sapi_webjames_register_variables()
160 ADD_FIELD("HTTP_ACCEPT", accept); in sapi_webjames_register_variables()
161 ADD_FIELD("HTTP_ACCEPT_LANGUAGE", acceptlanguage); in sapi_webjames_register_variables()
162 ADD_FIELD("HTTP_ACCEPT_CHARSET", acceptcharset); in sapi_webjames_register_variables()
163 ADD_FIELD("HTTP_ACCEPT_ENCODING", acceptencoding); in sapi_webjames_register_variables()