d-bus 1.13.14
typedefs | functions
address parsing
d-bus low-level public api
parsing addresses of d-bus servers. more...
typedefs
typedef struct dbusaddressentry
dbusaddressentry
opaque type representing one of the semicolon-separated items in an address.
functions
void
dbus_address_entries_free (dbusaddressentry **entries)
frees a null-terminated array of address entries. more...
const char *
dbus_address_entry_get_method (dbusaddressentry *entry)
returns the method string of an address entry. more...
const char *
dbus_address_entry_get_value (dbusaddressentry *entry, const char *key)
returns a value from a key of an entry. more...
dbus_bool_t
dbus_parse_address (const char *address, dbusaddressentry ***entry_result, int *array_len, dbuserror *error)
parses an address string of the form: more...
char *
dbus_address_escape_value (const char *value)
escapes the given string as a value in a key=value pair for a d-bus address. more...
char *
dbus_address_unescape_value (const char *value, dbuserror *error)
unescapes the given string as a value in a key=value pair for a d-bus address. more...
parsing addresses of d-bus servers.
解析d-bus伺服器的位址。
dbus_export void dbus_address_entries_free
(dbusaddressentry **
entries
)frees a null-terminated array of address entries.
釋放以null結尾的位址項陣列。
definition at line 192 of file dbus-address.c.
references dbus_free(), and null.
const dbus_export char * dbus_address_entry_get_method
(dbusaddressentry *
entry
)returns the method string of an address entry.
for example, given the address entry "tcp:host=example.com" it would return the string "tcp"
返回位址項的方法字串。
definition at line 230 of file dbus-address.c.
references dbusaddressentry::method.
referenced by _dbus_server_listen_platform_specific(), _dbus_server_listen_socket(), _dbus_transport_open_platform_specific(), and _dbus_transport_open_socket().
const dbus_export char * dbus_address_entry_get_value
(dbusaddressentry *
entry,
const char *
key)
returns a value from a key of an entry.
for example, given the address "tcp:host=example.com,port=8073" if you asked for the key "host" you would get the value "example.com"
the returned value is already unescaped.
從條目的鍵返回對應的值。
返回的值已經被轉義。
definition at line 247 of file dbus-address.c.
references _dbus_assert, _dbus_list_get_first_link(), _dbus_list_get_next_link, _dbus_string_equal_c_str(), dbuslist::data, dbusaddressentry::keys, null, and dbusaddressentry::values.
referenced by _dbus_server_listen_platform_specific(), _dbus_server_listen_socket(), _dbus_transport_open(), _dbus_transport_open_platform_specific(), and _dbus_transport_open_socket().
dbus_export char * dbus_address_escape_value
(const char *
value
)escapes the given string as a value in a key=value pair for a d-bus address.
將給定的字串轉義為d-bus位址的鍵=值對中的值。
definition at line 586 of file dbus-address.c.
dbus_export char * dbus_address_unescape_value
(const char *
value,
dbuserror *
error
)unescapes the given string as a value in a key=value pair for a d-bus address.
note that dbus_address_entry_get_value() returns an already-unescaped value.
將給定的字串取消轉義為d-bus位址的key = value對中的值。
請注意,dbus_address_entry_get_value()返回乙個已經轉義的值。
definition at line 620 of file dbus-address.c.
references _dbus_string_init(), _dbus_string_init_const(), and null.
dbus_export dbus_bool_t dbus_parse_address
(const char *
address,
dbusaddressentry ***
entry_result,
int *
array_len,
dbuserror *
error
)parses an address string of the form:
method:key=value,key=value;method:key=value
see the d-bus specification for complete docs on the format.
when connecting to an address, the first address entries in the semicolon-separated list should be tried first.
method:key=value,key=value;method:key=value
有關格式的完整文件,請參見d-bus規範。
連線到位址時,應首先嘗試以分號分隔的列表中的第乙個位址條目。
definition at line 366 of file dbus-address.c.
references _dbus_string_init_const(), dbus_error_bad_address, dbus_set_error(), and null.
referenced by dbus_server_listen().
generated by
1.8.16
DNS伺服器位址
dns domain name system 是網域名稱解析伺服器的意思,它在網際網路的作用是把網域名稱轉換成為網路可以識別的ip位址。通常來說,香港 南韓 日本等國的dns伺服器速度會比較快,大家可以多用幾個試試,盡量選擇乙個自己訪問最快的dns伺服器,中國的電信運營商都是流氓,dns伺服器,早換...
伺服器解析漏洞
伺服器解析漏洞算是歷史比較悠久了,但如今依然廣泛存在。在此記錄彙總一些常見伺服器的解析漏洞,比如iis6.0 iis7.5 apache nginx等方便以後回顧溫習。一 iis5.x 6.x解析漏洞 使用iis5.x 6.x版本的伺服器,大多為windows server 2003,比較古老,開發...
伺服器解析漏洞
windows2003系統 iis6.0 5.0服務 可以執行 asp,asp.net 也可以執行asa,ashx,cer,cdx 解析漏洞 1.asp jpg 解析漏洞 1.asp 1.jpg windows2008系統 iis7.5 7.0服務 可以執行 asp,asp.net 也可以執行asa...