Procedural File: xmlrpc.php
Source Location: /lib/xmlrpc.php
Page Details:
XML-RPC Library
If you want an honest answer NFC. Copy and paste baby!
Tags:
remote_catalog_query [line 38]
void remote_catalog_query(
$m)
|
|
remote_catalog_query this is the initial contact and response to a xmlrpc request from another ampache server this returns a list of catalog names
Parameters
remote_key_verify [line 203]
void remote_key_verify(
$key, $ip, $level)
|
|
remote_key_verify This does a ACCESS control check against the incomming xml-rpc request. it takes the passed key and makes sure the IP+KEY+LEVEL matches in the local ACL
Parameters
remote_server_denied [line 181]
void remote_server_denied(
)
|
|
remote_server_denied Access Denied Sucka!
remote_session_verify [line 154]
void remote_session_verify(
$params)
|
|
remote_session_verify This checks the session on THIS server and returns a true false The problem with this funcion is that we don't have the key from the other server... this needs to be fixed potential security flaw Other server still needs read xml-rpc permissions, but no key
Parameters
remote_song_query [line 80]
void remote_song_query(
$params)
|
|
remote_song_query return all local songs and their information it pulls all local catalogs, then all enabled songs then it strings togeather their information sepearted by :: and then base64 encodes it before sending it along
Tags:
Parameters
|