XMLRPC
[ class tree: XMLRPC ] [ index: XMLRPC ] [ all elements ]

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:

author:  Karl Vollmer
copyright:  Ampache.org 2001 - 2006








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

   $m  
[ Top ]



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

   $key  
   $ip  
   $level  
[ Top ]



remote_server_denied [line 181]

void remote_server_denied( )

remote_server_denied

Access Denied Sucka!




[ Top ]



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

   $params  
[ Top ]



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:

todo:  Add catalog level access control
todo:  fix for the smallint(1) change of song.status
todo:  serialize the information rather than cheat with the ::


Parameters

   $params  
[ Top ]



Documentation generated on Thu, 12 Feb 2009 08:00:13 +0900 by phpDocumentor 1.4.2