cfg.def
资源名称:gateway-1.2.1 [点击查看]
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:8k
源码类别:
手机WAP编程
开发平台:
WINDOWS
- /*
- * cfg.def - definition of configuration groups and variables
- *
- * Lars Wirzenius
- */
- #ifndef OCTSTR
- #error OCTSTR not defined.
- #endif
- #ifndef SINGLE_GROUP
- #error SINGLE_GROUP not defined.
- #endif
- #ifndef MULTI_GROUP
- #error MULTI_GROUP not defined.
- #endif
- SINGLE_GROUP(core,
- OCTSTR(admin-port)
- OCTSTR(admin-port-ssl)
- OCTSTR(admin-password)
- OCTSTR(status-password)
- OCTSTR(admin-deny-ip)
- OCTSTR(admin-allow-ip)
- OCTSTR(smsbox-port)
- OCTSTR(smsbox-port-ssl)
- OCTSTR(wapbox-port)
- OCTSTR(wapbox-port-ssl)
- OCTSTR(box-deny-ip)
- OCTSTR(box-allow-ip)
- OCTSTR(udp-deny-ip)
- OCTSTR(udp-allow-ip)
- OCTSTR(wdp-interface-name)
- OCTSTR(log-file)
- OCTSTR(log-level)
- OCTSTR(access-log)
- OCTSTR(store-file)
- OCTSTR(unified-prefix)
- OCTSTR(white-list)
- OCTSTR(black-list)
- OCTSTR(http-proxy-host)
- OCTSTR(http-proxy-port)
- OCTSTR(http-proxy-exceptions)
- OCTSTR(http-proxy-username)
- OCTSTR(http-proxy-password)
- OCTSTR(ssl-client-certkey-file)
- OCTSTR(ssl-server-cert-file)
- OCTSTR(ssl-server-key-file)
- OCTSTR(ssl-trusted-ca-file)
- OCTSTR(dlr-storage)
- OCTSTR(maximum-queue-length)
- )
- SINGLE_GROUP(wapbox,
- OCTSTR(bearerbox-host)
- OCTSTR(timer-freq)
- OCTSTR(map-url)
- OCTSTR(map-url-max)
- OCTSTR(map-url-0)
- OCTSTR(map-url-1)
- OCTSTR(map-url-2)
- OCTSTR(map-url-3)
- OCTSTR(map-url-4)
- OCTSTR(map-url-5)
- OCTSTR(map-url-6)
- OCTSTR(map-url-7)
- OCTSTR(map-url-8)
- OCTSTR(map-url-9)
- OCTSTR(device-home)
- OCTSTR(log-file)
- OCTSTR(log-level)
- OCTSTR(syslog-level)
- OCTSTR(force-sar)
- OCTSTR(smart-errors)
- OCTSTR(access-log)
- )
- SINGLE_GROUP(wtls,
- OCTSTR(certificate-file)
- OCTSTR(privatekey-file)
- OCTSTR(privatekey-password)
- )
- SINGLE_GROUP(ppg,
- OCTSTR(ppg-url)
- OCTSTR(ppg-port)
- OCTSTR(ppg-ssl-port)
- OCTSTR(trusted-pi)
- OCTSTR(concurrent-pushes)
- OCTSTR(users)
- OCTSTR(ppg-allow-ip)
- OCTSTR(ppg-deny-ip)
- OCTSTR(ssl-server-cert-file)
- OCTSTR(ssl-server-key-file)
- OCTSTR(global-sender)
- )
- MULTI_GROUP(wap-push-user,
- OCTSTR(wap-push-user)
- OCTSTR(ppg-username)
- OCTSTR(ppg-password)
- OCTSTR(country-prefix)
- OCTSTR(allowed-prefix)
- OCTSTR(denied-prefix)
- OCTSTR(white-list)
- OCTSTR(black-list)
- OCTSTR(deny-ip)
- OCTSTR(allow-ip)
- )
- SINGLE_GROUP(test-ppg,
- OCTSTR(retries)
- OCTSTR(pi-ssl)
- OCTSTR(ssl-client-certkey-file)
- OCTSTR(ssl-trusted-ca-file)
- )
- SINGLE_GROUP(configuration,
- OCTSTR(push-url)
- OCTSTR(content-file)
- OCTSTR(pap-file)
- OCTSTR(username)
- OCTSTR(password)
- )
- SINGLE_GROUP(smsbox,
- OCTSTR(bearerbox-host)
- OCTSTR(sendsms-port)
- OCTSTR(sendsms-port-ssl)
- OCTSTR(sendsms-url)
- OCTSTR(sendota-url)
- OCTSTR(xmlrpc-url)
- OCTSTR(sendsms-chars)
- OCTSTR(global-sender)
- OCTSTR(log-file)
- OCTSTR(log-level)
- OCTSTR(access-log)
- OCTSTR(sms-length)
- OCTSTR(reply-couldnotfetch)
- OCTSTR(reply-couldnotrepresent)
- OCTSTR(reply-requestfailed)
- OCTSTR(reply-emptymessage)
- OCTSTR(allowed-prefix)
- OCTSTR(denied-prefix)
- OCTSTR(white-list)
- OCTSTR(black-list)
- OCTSTR(mo-recode)
- OCTSTR(xmlrpc-url)
- OCTSTR(http-request-retry)
- OCTSTR(http-queue-delay)
- )
- MULTI_GROUP(smsc,
- OCTSTR(smsc)
- OCTSTR(smsc-id)
- OCTSTR(denied-smsc-id)
- OCTSTR(allowed-smsc-id)
- OCTSTR(preferred-smsc-id)
- OCTSTR(allowed-prefix)
- OCTSTR(denied-prefix)
- OCTSTR(preferred-prefix)
- OCTSTR(unified-prefix)
- OCTSTR(alt-charset)
- OCTSTR(host)
- OCTSTR(alt-host)
- OCTSTR(port)
- OCTSTR(alt-port)
- OCTSTR(smsc-username)
- OCTSTR(smsc-password)
- OCTSTR(keepalive)
- OCTSTR(sim-buffering)
- OCTSTR(modemtype)
- OCTSTR(device)
- OCTSTR(speed)
- OCTSTR(validityperiod)
- OCTSTR(our-host)
- OCTSTR(our-port)
- OCTSTR(receive-port)
- OCTSTR(connect-allow-ip)
- OCTSTR(system-id)
- OCTSTR(system-type)
- OCTSTR(address-range)
- OCTSTR(smsc_nua)
- OCTSTR(home_nua)
- OCTSTR(wait_report)
- OCTSTR(ois-debug-level)
- OCTSTR(modem-type)
- OCTSTR(pin)
- OCTSTR(phone)
- OCTSTR(send-url)
- OCTSTR(sender-prefix)
- OCTSTR(flow-control)
- OCTSTR(wait-ack)
- OCTSTR(no-sender)
- OCTSTR(no-coding)
- OCTSTR(alt-dcs)
- OCTSTR(throughput)
- OCTSTR(window)
- OCTSTR(idle-timeout)
- OCTSTR(no-sep)
- OCTSTR(appname)
- OCTSTR(ussdc)
- OCTSTR(session-length)
- OCTSTR(retry)
- OCTSTR(my-number)
- OCTSTR(sms-center)
- OCTSTR(source-addr-ton)
- OCTSTR(source-addr-npi)
- OCTSTR(dest-addr-ton)
- OCTSTR(dest-addr-npi)
- OCTSTR(source-addr-autodetect)
- OCTSTR(enquire-link-interval)
- OCTSTR(max-pending-submits)
- OCTSTR(reconnect-delay)
- OCTSTR(transceiver-mode)
- OCTSTR(interface-version)
- OCTSTR(priority)
- OCTSTR(notification-pid)
- OCTSTR(notification-addr)
- OCTSTR(msg-id-type)
- )
- MULTI_GROUP(sms-service,
- OCTSTR(name)
- OCTSTR(keyword)
- OCTSTR(aliases)
- OCTSTR(url)
- OCTSTR(get-url)
- OCTSTR(post-url)
- OCTSTR(post-xml)
- OCTSTR(file)
- OCTSTR(text)
- OCTSTR(exec)
- OCTSTR(accepted-smsc)
- OCTSTR(forced-smsc)
- OCTSTR(default-smsc)
- OCTSTR(faked-sender)
- OCTSTR(max-messages)
- OCTSTR(concatenation)
- OCTSTR(split-chars)
- OCTSTR(split-suffix)
- OCTSTR(omit-empty)
- OCTSTR(header)
- OCTSTR(footer)
- OCTSTR(prefix)
- OCTSTR(suffix)
- OCTSTR(assume-plain-text)
- OCTSTR(accept-x-kannel-headers)
- OCTSTR(strip-keyword)
- OCTSTR(send-sender)
- OCTSTR(catch-all)
- OCTSTR(allowed-prefix)
- OCTSTR(denied-prefix)
- OCTSTR(allowed-receiver-prefix)
- OCTSTR(denied-receiver-prefix)
- OCTSTR(white-list)
- OCTSTR(black-list)
- OCTSTR(dlr-url)
- )
- MULTI_GROUP(sendsms-user,
- OCTSTR(name)
- OCTSTR(username)
- OCTSTR(password)
- OCTSTR(user-deny-ip)
- OCTSTR(user-allow-ip)
- OCTSTR(forced-smsc)
- OCTSTR(default-smsc)
- OCTSTR(faked-sender)
- OCTSTR(default-sender)
- OCTSTR(max-messages)
- OCTSTR(concatenation)
- OCTSTR(split-chars)
- OCTSTR(split-suffix)
- OCTSTR(omit-empty)
- OCTSTR(header)
- OCTSTR(footer)
- OCTSTR(allowed-prefix)
- OCTSTR(denied-prefix)
- OCTSTR(white-list)
- OCTSTR(black-list)
- OCTSTR(dlr-url)
- )
- MULTI_GROUP(ota-setting,
- OCTSTR(ota-id)
- OCTSTR(location)
- OCTSTR(service)
- OCTSTR(ipaddress)
- OCTSTR(phonenumber)
- OCTSTR(bearer)
- OCTSTR(connection)
- OCTSTR(calltype)
- OCTSTR(speed)
- OCTSTR(pppsecurity)
- OCTSTR(authentication)
- OCTSTR(login)
- OCTSTR(secret)
- )
- MULTI_GROUP(ota-bookmark,
- OCTSTR(ota-id)
- OCTSTR(name)
- OCTSTR(url)
- )
- SINGLE_GROUP(emibox,
- OCTSTR(port)
- OCTSTR(sessions)
- OCTSTR(log-file)
- OCTSTR(log-level)
- )
- SINGLE_GROUP(webbox,
- OCTSTR(forward-host)
- OCTSTR(forward-username)
- OCTSTR(forward-password)
- OCTSTR(forward-port)
- OCTSTR(port)
- OCTSTR(sessions)
- OCTSTR(log-file)
- OCTSTR(log-level)
- )
- SINGLE_GROUP(milbox,
- OCTSTR(admin-port)
- OCTSTR(log-file)
- OCTSTR(log-level)
- OCTSTR(server-host)
- OCTSTR(server-port)
- OCTSTR(client-port)
- OCTSTR(sms-service-host)
- OCTSTR(sms-service-port)
- OCTSTR(ussd-service-host)
- OCTSTR(ussd-service-port)
- OCTSTR(db-server-host)
- OCTSTR(db-server-port)
- OCTSTR(db-server-dbname)
- OCTSTR(db-server-user)
- OCTSTR(db-server-pass)
- OCTSTR(enable-shortcodes)
- OCTSTR(emi-interface)
- OCTSTR(emi-port)
- OCTSTR(smpp-interface)
- OCTSTR(smpp-port)
- )
- MULTI_GROUP(modems,
- OCTSTR(id)
- OCTSTR(name)
- OCTSTR(detect-string)
- OCTSTR(detect-string2)
- OCTSTR(init-string)
- OCTSTR(speed)
- OCTSTR(enable-hwhs)
- OCTSTR(need-sleep)
- OCTSTR(no-pin)
- OCTSTR(no-smsc)
- OCTSTR(sendline-sleep)
- OCTSTR(keepalive-cmd)
- OCTSTR(broken)
- OCTSTR(message-storage)
- OCTSTR(enable-mms)
- )
- MULTI_GROUP(mysql-connection,
- OCTSTR(id)
- OCTSTR(host)
- OCTSTR(mysql-username)
- OCTSTR(mysql-password)
- OCTSTR(database)
- )
- MULTI_GROUP(sdb-connection,
- OCTSTR(id)
- OCTSTR(url)
- )
- SINGLE_GROUP(dlr-db,
- OCTSTR(id)
- OCTSTR(table)
- OCTSTR(field-smsc)
- OCTSTR(field-timestamp)
- OCTSTR(field-source)
- OCTSTR(field-destination)
- OCTSTR(field-service)
- OCTSTR(field-url)
- OCTSTR(field-mask)
- OCTSTR(field-status)
- )
- #undef OCTSTR
- #undef SINGLE_GROUP
- #undef MULTI_GROUP