⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mms_cfg.def

📁 手机端彩信的编解码、以及接收和发送。非常有用。
💻 DEF
字号:
/*
 * Mbuni - Open  Source MMS Gateway 
 * 
 * MMS Config structure definitions
 * 
 * Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com
 *
 * Paul Bagyenda <bagyenda@dsmagic.com>
 * 
 * This program is free software, distributed under the terms of
 * the GNU General Public License, with a few exceptions granted (see LICENSE)
 */

#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(log-file)
	OCTSTR(log-level)
	OCTSTR(access-log)
	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)

)

SINGLE_GROUP(mbuni,
	OCTSTR(name)
	OCTSTR(hostname)
	OCTSTR(host-alias)
	OCTSTR(local-prefixes)
	OCTSTR(storage-directory)
	OCTSTR(max-send-threads)
	OCTSTR(send-mail-prog)
	OCTSTR(unified-prefix)
	OCTSTR(maximum-send-attempts)
	OCTSTR(default-message-expiry)
	OCTSTR(queue-run-interval)
	OCTSTR(send-attempt-back-off)
	OCTSTR(sendsms-url)
	OCTSTR(sendsms-username)
	OCTSTR(sendsms-password)
	OCTSTR(sendsms-global-sender)
	OCTSTR(mms-port)
	OCTSTR(mm7-port)
	OCTSTR(allow-ip)
	OCTSTR(deny-ip)
	OCTSTR(email2mms-relay-hosts)
	OCTSTR(billing-module-parameters)
	OCTSTR(billing-library)
	OCTSTR(resolver-module-parameters)
 	OCTSTR(resolver-library)
        OCTSTR(detokenizer-module-parameters)
        OCTSTR(detokenizer-library)
	OCTSTR(prov-server-notify-script)
	OCTSTR(prov-server-sub-status-script)
	OCTSTR(notify-unprovisioned)
	OCTSTR(mms-notify-text)
	OCTSTR(mms-notify-unprovisioned-text)
	OCTSTR(mms-to-email-txt)
	OCTSTR(mms-to-email-html)
	OCTSTR(mms-to-email-default-subject)
	OCTSTR(mms-message-too-large-txt)
	OCTSTR(mms-client-msisdn-header)
	OCTSTR(mms-client-ip-header)
        OCTSTR(allow-ip-type)
        OCTSTR(optimize-notification-size)
	OCTSTR(content-adaptation)

	OCTSTR(sendmms-port)
	OCTSTR(sendmms-port-ssl)
	
	OCTSTR(mmsbox-mt-filter-library)
	OCTSTR(mmsbox-mt-always-multipart)
)

MULTI_GROUP(mmsproxy,
	OCTSTR(name)
	OCTSTR(host)
	OCTSTR(allowed-prefix)
	OCTSTR(denied-prefix)
	OCTSTR(confirmed-delivery)
)

MULTI_GROUP(mms-vasp,
	OCTSTR(vasp-id)
	OCTSTR(type)
	OCTSTR(mm7-version)
	OCTSTR(mm7-soap-xmlns)
	OCTSTR(short-code)
	OCTSTR(vasp-username)
	OCTSTR(vasp-password)
	OCTSTR(vasp-url)
 	OCTSTR(mms-to-email-handler)
	OCTSTR(mms-to-local-copy-handler)
)

MULTI_GROUP(send-mms-user,
	OCTSTR(username)
	OCTSTR(password)
	OCTSTR(faked-sender)
	OCTSTR(delivery-report-url)
	OCTSTR(read-report-url)
)

MULTI_GROUP(mmsc,
	OCTSTR(id)
	OCTSTR(group-id)
	OCTSTR(mmsc-url)
	OCTSTR(incoming-username)
	OCTSTR(incoming-password)
	OCTSTR(incoming-port)
        OCTSTR(allow-ip) 
        OCTSTR(deny-ip)
	OCTSTR(allowed-prefix)
	OCTSTR(denied-prefix)
	OCTSTR(incoming-port-ssl)
	OCTSTR(max-throughput)
	OCTSTR(type)
	OCTSTR(mm7-version)
	OCTSTR(mm7-soap-xmlns)
	OCTSTR(mm7-mt-filter-params)
)

MULTI_GROUP(mms-service,
	OCTSTR(name)
	OCTSTR(get-url)
        OCTSTR(post-url)
        OCTSTR(exec)
        OCTSTR(file)
        OCTSTR(text)
        OCTSTR(faked-sender)
        OCTSTR(catch-all)
        OCTSTR(omit-empty)
        OCTSTR(suppress-reply)
        OCTSTR(accept-x-mbuni-headers)
        OCTSTR(pass-thro-headers)
        OCTSTR(assume-plain-text)
        OCTSTR(accepted-mmscs)
	OCTSTR(denied-mmscs)
        OCTSTR(keyword)
        OCTSTR(aliases)
        OCTSTR(http-post-parameters)
	OCTSTR(service-code)
)
#undef OCTSTR
#undef SINGLE_GROUP
#undef MULTI_GROUP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -