diff options
author | Friendika <info@friendika.com> | 2011-08-10 05:10:48 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-10 05:10:48 -0700 |
commit | 72873cd827979aeaf64bf6e0402c9b99fea56416 (patch) | |
tree | c745795a9f47e84770438cbdd5f19c88c73977ef /include/diaspora.php | |
parent | ee6806d82b8a174f5922b396fbe473a8f3ed883f (diff) | |
download | volse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.tar.gz volse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.tar.bz2 volse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.zip |
diaspora function dispatcher
Diffstat (limited to 'include/diaspora.php')
-rw-r--r-- | include/diaspora.php | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index e39617aa3..f799b6a49 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -2,20 +2,6 @@ require_once('include/crypto.php'); -function receive_return($val) { - - if($val >= 400) - $err = 'Error'; - if($val >= 200 && $val < 300) - $err = 'OK'; - - logger('mod-diaspora returns ' . $val); - header($_SERVER["SERVER_PROTOCOL"] . ' ' . $val . ' ' . $err); - killme(); - -} - - function get_diaspora_key($uri) { $key = ''; @@ -256,3 +242,23 @@ function diaspora_decode($importer,$xml) { +function diaspora_request($importer,$contact,$xml) { + +} + +function diaspora_post($importer,$contact,$xml) { + +} + +function diaspora_comment($importer,$contact,$xml) { + +} + +function diaspora_like($importer,$contact,$xml) { + +} + +function diaspora_retraction($importer,$contact,$xml) { + +} + |