aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-10 05:10:48 -0700
committerFriendika <info@friendika.com>2011-08-10 05:10:48 -0700
commit72873cd827979aeaf64bf6e0402c9b99fea56416 (patch)
treec745795a9f47e84770438cbdd5f19c88c73977ef /include
parentee6806d82b8a174f5922b396fbe473a8f3ed883f (diff)
downloadvolse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.tar.gz
volse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.tar.bz2
volse-hubzilla-72873cd827979aeaf64bf6e0402c9b99fea56416.zip
diaspora function dispatcher
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php34
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) {
+
+}
+