2 * Copyright (C) 2005-2008 Atsushi Konno All rights reserved.
3 * Copyright (C) 2005 QSDN,Inc. All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #include "chxj_add_device_env.h"
21 chxj_add_device_env(request_rec *r, device_table *spec)
23 DBG(r, "REQ[%X] start chxj_add_device_env()", (unsigned int)(apr_size_t)r);
24 /* "X-Chxj-Provider" => { 0 => 'unknown', 1 => 'docomo', 2 => 'au', 3 => 'SoftBank' */
25 /* "X-Chxj-DeviceId" => { docomo => 'D503i' and so on, au => 'CA31' and so on, SoftBank => '706P' and so on */
26 /* "X-Chxj-DeviceName" => { 'SoftBank 706P' and so on. } <device_name> */
27 /* "X-Chxj-HtmlSpecType" => { JXHTML, JHTML, CHTML1.0 CHTML2.0 CHTML3.0 CHTML4.0 CHTML5.0 IXHTML1.0 } */
28 /* "X-Chxj-Width" => { <width> } */
29 /* "X-Chxj-Height" => { <height> } */
30 /* "X-Chxj-Gif" => { true/false } */
31 /* "X-Chxj-Jpeg" => { true/false } */
32 /* "X-Chxj-Png" => { true/false } */
33 /* "X-Chxj-Bmp2" => { true/false } */
34 /* "X-Chxj-Bmp4" => { true/false } */
35 /* "X-Chxj-Color" => { <color> } */
36 /* "X-Chxj-WP-Width" => { <wp_width> } */
37 /* "X-Chxj-WP-Height" => { <wp_height> } */
38 /* "X-Chxj-Cache" => { <cache> } */
40 DBG(r, "REQ[%X] end chxj_add_device_env()", (unsigned int)(apr_size_t)r);