aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/diaspora.php')
-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) {
+
+}
+